Mixing this javascript with php. Where would it go?

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Mixing this javascript with php. Where would it go?
Tank
CZ Newbie
Tank has been a member for over 20 year's 20 Year Member
usa.gif texas.gif
Occupation: Sales
Age: 48
Gender: Male
Fav. Sports Team: Dallas Cowboys
Website:
Status: Offline
Joined: Sep 27, 2004
0.00 posts per day
Posts: 8
Points: 2,465
 Yahoo Messenger MSN Messenger 
Where would I put this javascript code on my index.html or mainfile.php and do I need to adjust some things to it. Its a scolling banner that goes from right to left on the loading menu any help would be apprciated.



Back to top Reply with quote
#2   re: Mixing this javascript with php. Where would it go?
slicer
CZ Newbie
slicer has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Sep 18, 2004
0.00 posts per day
Posts: 14
Points: 1,404
   
you would place it above the < head > < / head > tags or before the < php? tag

i think



Back to top Reply with quote
#3   re: Mixing this javascript with php. Where would it go?
Tank
CZ Newbie
Tank has been a member for over 20 year's 20 Year Member
usa.gif texas.gif
Occupation: Sales
Age: 48
Gender: Male
Fav. Sports Team: Dallas Cowboys
Website:
Status: Offline
Joined: Sep 27, 2004
0.00 posts per day
Posts: 8
Points: 2,465
 Yahoo Messenger MSN Messenger 
Thanks alot really appreciate it..... icon_biggrin.gif



Back to top Reply with quote
#4   
Dauthus
CZ Addict
 Codezwiz Site Donator
Dauthus has been a member for over 20 year's 20 Year Member
usa.gif illinois.gif
Age: 60
Gender: Male
Website:
Status: Offline
Joined: Mar 17, 2004
0.06 posts per day
Posts: 426
Points: 15,917
   
You can also put it in your includes/javascript.php file. That way all the javascripts are in one place.




_________________
[ Register or login to view links on this board.]
Vivere disce, cogita mori
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