Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Onload & multiple functions
Old 03-05-2006, 04:02 PM Onload & multiple functions
Average Talker

Posts: 23
Trades: 0
Hi,
I've received a lot of great answers to my past questions, so here's hoping you'll assist again.

I'm having trouble getting multiple functions to operate correctly with the onload handler (?). I have a semi-colon between the functions but still no luck. I have two scripts: one for a slideshow and one for a horizontal navigation menu which has fly-outs (I think that's what they're called). The slideshow runs fine, but the fly-outs are not lined-up under the parent navigation link (hope this makes sense). Following is the code of the <Body> tag, which includes the onload. Any suggestions?? Thank you.

<body bgcolor="#001F3E" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="runSlideShow(); doGIF(); P7_Snap('AboutUsImg','AboutUsNav',0,12);P7_Snap('C ommunitiesImg','CommunitiesNav',0,12);P7_Snap('Pas tProjectsImg','PastProjectsNav',0,12);P7_Snap('Hom eownersImg','HomeownersNav',0,12);P7_Snap('Financi ngImg','FinancingNav',-75,12);P7_Snap('ContactUsImg','ContactUsNav',-95,12);P7_Snap('AboutUsImg','Trigger',-50,-30);P7_Snap('AboutUsImg','Trigger2',-80,-30);P7_Snap('AboutUsImg','Trigger3',530,-30);P7_Snap('AboutUsImg','Trigger4',-50,20);" onResize="P7_Snap('AboutUsImg','AboutUsNav',0,12); P7_Snap('CommunitiesImg','CommunitiesNav',0,12);P7 _Snap('PastProjectsImg','PastProjectsNav',0,12);P7 _Snap('HomeownersImg','HomeownersNav',0,12);P7_Sna p('FinancingImg','FinancingNav',-75,12);P7_Snap('ContactUsImg','ContactUsNav',-95,12);P7_Snap('AboutUsImg','Trigger',-50,-30);P7_Snap('AboutUsImg','Trigger2',-80,-30);P7_Snap('AboutUsImg','Trigger3',530,-30);P7_Snap('AboutUsImg','Trigger4',-50,20);">
kalew is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-08-2006, 09:45 AM Re: Onload & multiple functions
funkdaddu's Avatar
Web Design Snob

Posts: 635
Trades: 0
Quote:
Originally Posted by kalew
Hi,
The slideshow runs fine, but the fly-outs are not lined-up under the parent navigation link
If the functions being called at onload are running, then it's either the variables passed at onload are wrong, or it's a browser rendering issue. Find the function call in the onload corresponding to the wrong menu item and make sure the variables passed are correct.
funkdaddu is offline
Reply With Quote
View Public Profile Visit funkdaddu's homepage!
 
Reply     « Reply to Onload & multiple functions
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.25330 seconds with 12 queries