How to embed multiple waves in to website or web page?

How to embed multiple waves in to website or web page?

I am going to explain the way to embed multiple waves in to website or web page based on the code at

Edit your website or web page place the following code just before </body> tag:

<script src=”” type=”text/javascript”></script>
<center><a href=””>Embed Wave to Website or Web Page</a></center>
<script type=”text/javascript”>
/* Embed Google Wave Script v2.0
Re-writen by: Jayson Ragasa, Baguio City, Phillipines
Original Version (V1.0) from Mr Embeddy:
this JS code is for Blogspot only
var div = document.getElementsByTagName(‘div’);

for (var i = 0; i < div.length; i++) {
if( div[i].id.substr(0, 5) == ‘wave_’ ) {
var waveid = div[i].id.substr(5, div[i].id.length-5);

var wave = new WavePanel(‘’);
wave.setUIConfig(‘white’, ‘black’, ‘Arial’, ’13px’);
wave.loadWave(‘!w+’ + waveid);

Note: You need to place the above code once only, then you just need to add div tags for the all the waves you want to embed at the required locations as mentioned in the following steps.
Once you placed above code, find the wave id of all the waves which you want to embed (To know how to get your wave ID click here)
Note: You must make the Wave public before embedding it to any where
Once you know the wave ID of your Wave then embed div elements as mentioned in the following code to particular place where you would like to embed those waves (Note: Here you need to replace the with the actual wave id of your public wave and you can change value of height and width according to your requirements):

We will be happy to hear your thoughts

Leave a reply