PDA

View Full Version : Help!!!!!!!!!!


Thurft
06-04-2003, 09:48 PM
Well, i'm wanting to make a script for put pop up's in some zones of my web, but im realy lose. if some one can help me.
I havent to much experience in php&java.

$popupjava ="
<SCRIPT LANGUAGE=\"JavaScript\">
newwindow=window.open("http://www.helbreatharg.com","","width=1,height=1")
window.setTimeout ("newwindow.close();", 5000);
</script>"


I made a template and puted it in there ( popup_java, that's the name of the template) and then, i go to the forumhome template and puted $popupjava in there, but when i load the page it doesnt load the script.
My First question, If the code is right, ?Why it isnt load?, ?Must i give some orden for load first the template?
?anyone can advice me?
Thanke =)

Black Vivi
06-05-2003, 06:16 PM
$popupjava ="
<script language=\"javascript\">
newwindow=window.open(\"http://www.helbreatharg.com\",\"\",\"width=1,height=1\");
window.setTimeout(\"newwindow.close();\",5000);
</script>";

try using that instead

Thurft
06-06-2003, 12:20 AM
I created the template "java_popup" and put the correct code in it, then went into the "forumhome" template and inserted "$javapopup", but when I open the forum's main page, it doesn't load the script. [b]Do i have to include any instruction to load the template java_popup first?b]