Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I dynamically remove window options in a new POP UP window

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0

I'm passing some values as querystrings to the new pop up window. I'm able to control the size and location of the window but not able to remove the scrollbars and the toolbar.
Can anyone show me how its done for IE.
Thanks.
 
Hi Im not sure if you can do it like this but have a go at opening a window using some javaScript..
window.open(URL,"name","specs")...if you use this you can specify options so that location bar and toolbar etc dont appear...

hope this helps

nik
 
it works like so:

window.open("URL","WindowProgramName","options"

where the windowprogramname is the name the program gives to the window (not the title though) and options look like this:

"height=50,width=50,toolbar=no,menubar=no"

Note that all the options appear in the same set of quotes separated by commas.

Hope that helps. Harold Blackorby
hblackorby@scoreinteractive.com
St. Louis, MO
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top