Line 4: | Line 4: | ||
function initialize() { | function initialize() { | ||
var wavePanel = new WavePanel('http://wave.google.com/a/wavesandbox.com/'); | var wavePanel = new WavePanel('http://wave.google.com/a/wavesandbox.com/'); | ||
− | wavePanel.loadWave('wavesandbox.com!w+ | + | wavePanel.loadWave('wavesandbox.com!w+BgMWzhzdmA'); |
wavePanel.init(document.getElementById('waveframe')); | wavePanel.init(document.getElementById('waveframe')); | ||
} | } | ||
Line 11: | Line 11: | ||
<div id='waveframe' style='width: 500px; height: 100%'></div> | <div id='waveframe' style='width: 500px; height: 100%'></div> | ||
</body>"; | </body>"; | ||
− | |||
</php> | </php> |
<php> print "<head><script src='http://wave-api.appspot.com/public/embed.js' type='text/javascript'></script>
<script type='text/javascript'> function initialize() { var wavePanel = new WavePanel('http://wave.google.com/a/wavesandbox.com/'); wavePanel.loadWave('wavesandbox.com!w+BgMWzhzdmA'); wavePanel.init(document.getElementById('waveframe')); }
</script></head> <body onload='initialize()'>
</body>";
</php>