Hi everyone!

I just tried to enable the toolbar on an embedded wave, but I can't
get it to work.

My code:
-----------------------------------------
<html>
<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/");
                var conf = new WavePanel.UIConfig();

                conf.setBgcolor("#ffffff"); // works fine
                conf.setFontSize("15px");       // works fine
                conf.setToolbarEnabled(true); // doesn't do anything

                wavePanel.setUIConfigObject(conf);
                wavePanel.loadWave("wavesandbox.com!w+iLlV0645%0");
                wavePanel.init(document.getElementById("waveframe"));

                alert(conf.getToolbarEnabled()); // returns true
}
</script>
</head>
<body onload="initialize()">
        <div id="waveframe" style="width: 800px; height: 800px"></div>
</body>
</html>
----------------------------------

All the "styling" functions (like setBgcolor) seem to work just fine,
whereas setToolbarEnabled, setHeaderEnabled or setFooterEnabled don't
seem to do anything...
Am I missing something here? Does anyone have a working example of a
embedded wave with the toolbar?

Thanks Adrian

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to