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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pop-Up Window (very simple) 1

Status
Not open for further replies.

KevinFSI

Programmer
Nov 17, 2000
582
0
0
US
I used to know this back in the day, but what is the synatx for opening a pop-up window with no menus, browser buttons, etc...? Kevin
slanek@ssd.fsi.com
 
Hi,
You can open popup window using.
open(URL, windowName[, windowFeatures]) method in window object.
ex:
window.open(Child.html,"child","width=300,height=300,menubar=no,titlebar=no,toolbar=no");
writing this in a function and call it.
note: no need to set titlebar,toolbar options.optionally it will take no
kann
 
I put a link in that says:
Code:
<A href=&quot;javascript:window.open('child.htm','child','scrollbars=yes,resizable=yes,width=510,height=400')&quot;>open</A>

When I click on the link, the child window opens just fine, but the parent window now says [object]. What is that? How can I open the child window without affecting the parent?

By the way, thanks for the help guys.
Kevin
slanek@ssd.fsi.com
 
Hey, I got it. Thanks again for the help! Kevin
slanek@ssd.fsi.com
 
Yep, that's exactly what I ended up doing. Kevin
slanek@ssd.fsi.com
 
I also put the Titlebar = no in the features but I still get the titlebar. The Dreamweaver-reference sais that this function needs a &quot;signed script&quot;...an idea what this is and how to make it signed?

Thanks a lot in advance.

Greetz,

Dirk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top