View Single Post
Old 07-18-2002, 07:52 AM  
Darren
Confirmed User
 
Darren's Avatar
 
Join Date: Sep 2001
Posts: 5,994
What is wrong with this code? Popup a New Window!

Code for opening a new window when a picture is clicked.

This in head

<script LANGUAGE="javascript">
<!--
function win(url){
p = window.open(url,"Pop","width=330,height=280,scroll bars=no,location=no,resizable=no,status=no,menubar =no,toolbar=yes,valign=center,align=center")
p.focus()
}
//-->
</script>

& this is how i link to the new popup window

Javascript:win('thevids\alana\popup.html');

The popup comes up but says server not found even though the location is correct. Im using Internet explorer and fromtpage to test this.
Darren is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote