• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

html help

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.

NASsoccer

On a string I was held Senior
Joined
Jul 11, 2001
Location
i live
i have this code for a popup

Code:
<input type=button value="Click Me" onClick="window.open('http://folding.octeams.com/nathan/proteins/p180_enghomeoGB.html','p180_enghomeoGB Frametimes','width=400,height=400,directories=no,location=no,menubar=yes,scrollbars=no,status=no,toolbar=yes,resizable=yes,left=0,top=0,screenX=0,screenY=0');return false">
</form>

i want it to be a hyperlink but no matter what i do ii cannot get it to work in IE, any suggestions?

NAS
 

Thelemac

Administratively Deficient
Joined
Mar 15, 2001
Try this, perhaps?

Code:
<a href=# onClick="window.open('http://folding.octeams.com/nathan/proteins/p180_enghomeoGB.html','p180_enghomeoGB  Frametimes','width=400,height=400,directories=no,l
 ocation=no,menubar=yes,scrollbars=no,status=no,too
 lbar=yes,resizable=yes,left=0,top=0,screenX=0,scre
enY=0');return false">Click Me</a>
 

Burning Phoenix

Member
Joined
Jul 3, 2001
Location
Schenectady NY
This worked for me:

Code:
<html>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function popup() {
window.open('http://folding.octeams.com/nathan/proteins/p180_enghomeoGB.html','p180_enghomeoGB_Frametimes','width=400,height=400,directories=no,location=no,menubar=yes,scrollbars=no,status=no,toolbar=yes,resizable=yes,left=0,top=0,screenX=0,screenY=0')}
// End -->
</script>
</head>
<body>
<form>
<input type=button value="Click Me" onClick="popup()">
</form>
</body>
</html>

MAKE SURE THE WINDOW.OPEN LINE DOES NOT WRAP!
 
OP
NASsoccer

NASsoccer

On a string I was held Senior
Joined
Jul 11, 2001
Location
i live
Thanks to both of you! it now works in IE, strange that i only had a problem with IE and it, it worked fine in mozilla and Phoenix.

THANKS AGAIN!
NAS
 

whooping_a_panda

Mr Slave Senior
Joined
Jul 24, 2001
Location
Los Angeles
i find IE to be very picky with its code sometimes, especially when it comes to frames, thats part of the reason i like to use opera and mozilla