getting 2 scripts to run at same time

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   getting 2 scripts to run at same time
pitstopcrewskay
CZ Newbie
pitstopcrewskay has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Jun 09, 2004
0.00 posts per day
Posts: 3
Points: 280
   
Hi,
My name is Kay, and I'm trying to get 2 scripts to run at the same time in one page. I know in order to do this you must call both of them in the body onload tag. I've tried it but can't seem to make it work. I was wondering if you could look at the page layout and tell me what I'm doing wrong or missing. I'm attaching it for you to look over. At the very bottom is what I think the onload tag should read. could you also help me with which part exactly I'm suppose to take out, I mean in the window.onload statements or body onload statements. As i understand it you should remove them when you add them to the body onload tag.



Attached Files
help for tour.txt (5.19 KB, Downloaded: 5242 Time(s))
Attached Files
help for tour.txt (5.19 KB, Downloaded: 5235 Time(s))


Back to top Reply with quote
#2   
Telli
Site Admin
Telli has been a member for over 20 year's 20 Year Member
Occupation: Self Employed
Age: 45
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.06 posts per day
Posts: 8089
Points: 494,430
   
if your trying to call the functions you need to change it like so:

<BODY ONLOAD="F1();KISSBEGIN();">




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   re: getting 2 scripts to run at same time
GoddsEgo
PayPal Donation
CZ Moderator
GoddsEgo has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Jun 26, 2003
0.16 posts per day
Posts: 1211
Points: 69,166
 Yahoo Messenger  
After you have modified the body tag to load both s c r i p t s handlers like Telli said above make sure you delete the

window.onload=kissbegin


Out of the kiss s c r i p t

AND

window.onload=f1


out of the reflection s c r i p t


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