i don't get it working, Could you please check why?

<html xmlns="http://www.w3.org/1999/xhtml";>
<head id="Head1" runat="server">
    <title>Welcome to Google Wave</title>
    <script src="http://wave-api.appspot.com/public/embed.js";
type="text/javascript"></script>
<script type="text/javascript">
        var wavePanel = new WavePanel('http://wave.google.com/a/
wavesandbox.com/');
        function initialize() {

            var uiConfig = new WavePanel.UIConfig();
            uiConfig.setFooterEnabled(true);
            uiConfig.setHeaderEnabled(true);
            uiConfig.setToolbarEnabled(true);
            wavePanel.setUIConfigObject(uiConfig);
            wavePanel.loadWave("wavesandbox.com!w+iPdsc350H",
loadGW_Callback('Welcome to Google Wave'));
            wavePanel.init(document.getElementById('waveframe'),
initGW_Callback());
        }
        function initGW_Callback() {
            wavePanel.setToolbarVisible(true);
        }
        function loadGW_Callback(text) {
            alert('load');
        }
     </script>
</head>
<body onload="initialize()">
    <form id="form1" runat="server">
    <div id="waveframe" style="text-align:center; width:90%; height:
90%;">
    </div>
    </form>
</body>
</html>

On Oct 27, 2:31 pm, "yariv.snapir" <[email protected]> wrote:
> Had the same problem...
> You should add a callback function to your wavePanel.init call. this
> function is called after the wave is initialized in the panel (kinda'
> like 'onLoad'). In the callback function you can call
> wavePane.setToolbarVisible(true);
>
> However,
> prepare to be disappointed...
> The current toolbar has only one button - show all open waves.
> IMHO its missing a lot of functionality which is only found in the
> wave application such as:
> a) add a contact to the wave
> b) Playback
> c) actuallythe entire toolbar found on top of the wave reading pane in
> the wave application...
>
> Anyone knows how to make the entire toolbar visible?
>
> Regards
>
> Yariv
>
> On Oct 26, 10:55 am, Adrian <[email protected]> wrote:
>
>
>
> > 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