This should do what your after
   window.toolbar.visible = false;
   window.menubar.visible = false;

Check out http://developer.mozilla.org/en/docs/DOM:window for more info.

Peter Neu wrote:
Hello,

I'm using Struts 1.x. Do you know how to disable the toolbars with dojo? Is
there a tutorial? I couldn't find anything on their website.
Cheers,
Pete

-----Ursprüngliche Nachricht-----
Von: news [mailto:[EMAIL PROTECTED] Im Auftrag von Laurie Harper
Gesendet: Donnerstag, 3. Mai 2007 22:48
An: user@struts.apache.org
Betreff: Re: Good JScript lib for disabling browser toolbars and good
integration with Struts?

Peter Neu wrote:
does somebody know a good Java Script library which disables browser
tool- &
navigations bars and right mouse clicks for browser windows? I need a
browser window for my app stripped of all basic browser components.

Best way would be if Struts could already load the java script before
the
user sees the first page.
You don't mention which Struts version you're using. Struts 2 provides
some integration with Dojo (through the 'ajax' theme) which can probably
do what you need as well as any library.

If you're not using S2, or want to use a different library, you should
be able to do so equally as easily in Struts as any other web app
environment; just include the appropriate <script> tags in the head of
your page.

L.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to