This is a discussion on "New Window Help?" within the JavaScript Forum section. This forum, and the thread "New Window Help? are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
New Window Help?
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Hello.
I know absolutely NOTHING about javascript so I wondered if you guys could help me with this...
I don't know what's wrong with it but it wont work. Could anyone help? I would greatly appreciate it. Thanks. |
|
|
|
|||
|
Re: New Window Help?
Hi try this it will work fine
<html> <head> <title>Error#</title> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta name="Generator" content="Scription.Co.Nr"> <SCRIPT language='javascript' TYPE="text/javascript"> function popup(mylink,windowname) { if (! window.focus)return true; var href; if (typeof(mylink) == 'string') href=mylink; else href=mylink.href; window.open(href, windowname, 'width=750,height=560,scrollbars=yes'); return false; } </SCRIPT> </head> <BODY onLoad="javascript <body style="background-color: transparent; background-image: none; margin: 10px;"> </body> </html> <html> <font color="000000" face="arial black" size="40">Sorry. An error has occured. Please try again later.</font> </body></html> |
![]() |
| Tags |
| help |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Open another new window from javascript window | thehermitage | JavaScript Forum | 10 | Jan 27th, 2008 19:42 |
| Change open in new window to open in same window | nsr500rossi | JavaScript Forum | 2 | Jan 18th, 2008 14:13 |
| [SOLVED] open new window from main window | AdRock | Other Programming Languages | 1 | Nov 1st, 2007 02:45 |
| I don't want new window | daygoes | JavaScript Forum | 1 | Sep 11th, 2006 17:22 |
| Pop Up Window | bruno89 | Web Page Design | 9 | Aug 22nd, 2006 14:20 |