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

how to create a separate without without navigator bar 1

Status
Not open for further replies.

disfasia

Programmer
Apr 20, 2001
378
CA
I have created a web site that have a virtual "tour" (the bottom button of the site). I have the virtual tour pop up, but I want it to pop up without the navigator tools on the top of the window--in essence I want a very simple window that will maintain the dimension of my film. How do I do this?

The site is
 
Try something like this:

Code:
on (press) {
    getURL("javascript:NewWindow=window.open('your.swf','newWin','width=400,height=400,
left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No'); NewWindow.focus();void(0);");
}

Replace 'your.swf' with your file name, and set width & height to the same as your movie.

You could also, adding some code, center this popup according to the user's resolution.


Regards,

oldman3.gif
 
Thanks so much! The exact code above did not work for me, but I fiddled around with some other javascript and came up with:


on (press) {
getURL ("javascript:NewWindow=window.open('virtualtour.html', 'newWin', 'scrollbars=no,status=no,width=800,height=550');");
}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top