View Full Version : Trouble still...
Greeno 05-06-2003, 07:23 PM My pop up still wont work unfortuantly. Heres my code :
<html>
<head>
<title>Blind Sighted|Version 1|Rey Rey|Who Dat Jumpin Out The Sky?</title>
<script language="javascript">
//<!--
function popup()
{ window.open ("YourURLgoesHere.html","popup","width=400,height=400,location=0,menubar=0,resizabl e=0,scrollbars=0,status=0,titlebar=1,toolbar=0") }
-->
</script>
<a href="javascript:blog()"><img src="bsv1.jpg"border=0 width="328"height="292"alt="enter blind sighted version 1 - reyrey">
</a>
</head>
</html>
Is there anything im doing wrong?
Elentari 05-06-2003, 07:39 PM Perhaps because you haven't put your URL in the section that says "YOURURLGOESHERE"??
<html>
<head>
<title>Blind Sighted|Version 1|Rey Rey|Who Dat Jumpin Out The Sky?</title>
<script language="javascript">
//<!--
function popup()
{ window.open ("YOURURLGOESHERE.html","popup"," width=400,height=400,loca
tion=0,menubar=0,resizabl
e=0,scrollbars=0,status=0
,titlebar=1,toolbar=0") }
-->
</script>
<a href="java script:blog()"><img src="bsv1.jpg"border=0 width="328"height="292"alt="enter blind sighted version 1 - reyrey">
</a>
</head>
</html>
Greeno 05-06-2003, 07:42 PM Oh.. lol. I feel extremly.. extremly stupid.. lol. :-/
Greeno 05-06-2003, 07:47 PM Nope.. still wont come up.
Elentari 05-06-2003, 07:50 PM Can I get a URL for your page?
Greeno 05-06-2003, 07:53 PM Yeah. And im getting rid of the banner.. and im gonna use a link to instead of a banner for the pop up.
Greeno 05-06-2003, 07:54 PM Sorry.. forgot about the link :-/. Here it is.. :
Blind Sighted (http://www.geocities.com/blindsight3d/index.html)
Dude128 05-07-2003, 04:08 AM your function is called popup() but you're calling blog(). just make sure the match- in the head section and in your link.
Greeno 05-07-2003, 08:04 PM My link and function do match. Should I rename my function to blog.html?
amicus 05-07-2003, 08:17 PM you forgot to put the 'a href' tag inside a 'body' tag, 'javascript' is one word and the function names didn't match. here's the corrected code.
<html>
<head>
<title>Blind Sighted|Version 1|Rey Rey|Who Dat Jumpin Out The Sky?</title>
<script language="javascript">
//<!--
function blog() {
window.open ("YourURLgoesHere.html","popup"," width=400,height=400,location=0,menubar=0,resizabl e=0,scrollbars=0,status=0,titlebar=1,toolbar=0");
}
-->
</script>
</head>
<body>
<a href="javascript:blog()"><img src="bsv1.jpg"border=0 width="328"height="292"alt="enter blind sighted version 1 - reyrey"></a>
</body>
</html>
Greeno 05-07-2003, 08:25 PM Still nothing. The page says : 'error on page'. If you wanna see for yourself the link is here (http://www.geocities.com/blindsight3d/index.html)..
Is it maybe because where it says function blog().. i should replace blog with blog.html or popup?
amicus 05-07-2003, 08:34 PM the second page doesn't have a 'html' or 'body' tag
for some reason this line is broken up into 4 lines. this line needs to go on the same line:
window.open ("http://www.geocities.com/blindsight3d/blog.html","popup"," width=400,height=400,location=10,menubar=0,resizab le=0,scrollbars=0,status=0,titlebar=1,toolbar=0");
Greeno 05-07-2003, 09:02 PM It works now. Thanks very much :D
|