Whats the code for having a popup with a specific size, and without the back buttons and stuff... how can I do that?>
Whats the code for having a popup with a specific size, and without the back buttons and stuff... how can I do that?>
ok. The following will open automatically with all the toolbars and menus and stuff...:
This one opens when you use the link and has no menus or toolbars etc:Code:<head> <script language="JavaScript"> function popUp(URL) { day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=1,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=1,width=xxx,height=xxx,left=xxx,top=xxx');"); } </script> </head> <BODY onLoad="javascript:popUp('filename-or-url')">
Hope all that works...Code:<head> <script language="JavaScript"> function popUp(URL) { day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=350');"); } </script> </head> <body> <A HREF="javascript:popUp('filename-or-url')">Open the Popup Window</A>![]()
Sorry? I didn't understand that at all...![]()
Do you want the 1st one to open from a link?
Or do you want the 2nd one to open automatically or what????
oh sorry i posted it in the wrong column i put my reply in pythons go back javascript thread
ahh i was wondering why you replied to that thread![]()
Web Development Tutorials
- Photoshop, CSS, PHP & more...
There are currently 1 users browsing this thread. (0 members and 1 guests)