![]() |
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. |
just guessing but try / instead of \
|
Quote:
|
why would it be like that?
still doesnt work that way either? |
cause that's the way you adress directories in unix.
|
Quote:
----------------------------- And if you really want to know....why would it be like that? You will have to ask Al Gore... After all he invented the Internet. ----------------------------- |
put the complete url in there like
Javascript:win("http://domain/thevids/alana/popup.html"); and use the slash the right way and " instead of ' |
| All times are GMT -7. The time now is 08:18 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123