Help with some javascript code in Nuke please.

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Help with some javascript code in Nuke please.
jcb
CZ Active Member
 Codezwiz Site Donator
jcb has been a member for over 20 year's 20 Year Member
uk.gif
Occupation: Soldier
Age: 48
Gender: Male
Fav. Sports Team: England
Status: Offline
Joined: Oct 20, 2003
0.02 posts per day
Posts: 135
Points: 7,618
   
Hi all,

I have a javascript code located in my nuke root called topmsg.js which I got from here:
[ Register or login to view links on this board. ]

I have changed things so that it opens when a new member or a current member who isnt logged in enters the main page of my site.

The problem im having is calling it when you enter the main page.

I have tried the following code in header.php



   if (is_user($user)) {   
   } else {
   echo " <S CRIPT LANGUAGE=\"text/javascript\" SRC=\"http://www.mysite.com/nuke/topmsg.js";
   echo " </S CRIPT> \n";
   }



But it is not opening the popup.

Any help please.????

Best regards

Jon



_________________
PHP Super NooB
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum