Hi, same here cant get this toolbar working. Pls let us know if you have a solution.
On 27 Okt., 08:31, "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 -~----------~----~----~----~------~----~------~--~---
