This week's book giveaway is in the HTML Pages with CSS and JavaScript forum.
We're giving away four copies of Testing JavaScript Applications and have Lucas da Costa on-line!
See this thread for details.
Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

appletcontext.showDocument(...)

 
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
we can show html page from applet using appletcontext.showDocument(...) method , this shows html page in normal browser window but what if we want this window without statusbar,height=300,width=300,directories=no,menubar=no,toolbar=no , how can we get this kind of window through applets.
thanks
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How?
 
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
The showDocument can be given _blank as a parameter which will show your document in a new window.
When you say new window, it comes with all default menus and options.
You can do one thing....customise one browser window so that it does not have anyof the standard menus and bars and then
pass the parameter _self so the document is shown in the configured window.
Try it...please get back

------------------
Suneel
 
ray bond
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am having applet in one browser window and from that window I am poping up new browser window using appletcontext.showDocument(...) , so it is new _blank window , and also I tried to open _self but it still have toolbar , statusbar etc. , how can I have window which I show using appletcontext.showDocument(...) without toolbar , height=300 ,width=300 etc.
thanks
 
Trust God, but always tether your camel... to this tiny ad.
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic