/    Sign up×
Community /Pin to ProfileBookmark

Help! Conflicting Scripts -Rollovers and Dynamic Drive

I have two roll over scripts (which might be able to be combined) and one script from Dynamic Drive: [url]http://www.dynamicdrive.com/dynamicindex4/cmotiongallery.htm#[/url]

This dynamic drive script does not work when in the html setting with my rollover scripts but both work fine independently. I’m pretty sure it has to do with the “onload” function in the body, but because the Cmotion scripts java is different from the rollover in that it is outside of the html in a separate file that is called.. along with the CSS, I know not what to do.

Anything you can do to help me will be GREATLY appreciated. Below is the page as it appears in my html source… but if you want to view the Cmotion external stuff, just click on the link I provided to find it. Thanks again!

to post a comment
JavaScript

6 Comments(s)

Copy linkTweet thisAlerts:
@phpnoviceJul 08.2006 — Post all of the [B]onload[/B] statement references you have.
Copy linkTweet thisAlerts:
@PearlDovesauthorJul 08.2006 — the only onload statements that I've been able to find are:

1) <body bgcolor="#000034" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="preloadImages();">

2) window.onload=fillup

The "window.onload=fillup" I found in the "motiongallery.js" external file, and is located towards the very end of the script. If you would need to view that whole external script you can get it via a link on this site: http://www.dynamicdrive.com/dynamicindex4/cmotiongallery.htm#
Copy linkTweet thisAlerts:
@PearlDovesauthorJul 08.2006 — Since my last post, the issues was able to get resolved! yea! Thank you for wanting to help me. Someone had mentioned something about missing div tag or /div tag ( think I've got all the </a> in place too now.. some where missing) I had thought all the div were okay, but if you see anything out of the ordinary, please let me know. Thanks again for wanting to help me!
Copy linkTweet thisAlerts:
@phpnoviceJul 08.2006 — the only onload statements that I've been able to find are:

1) <body bgcolor="#000034" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="preloadImages();">

2) window.onload=fillup

The "window.onload=fillup" I found in the "motiongallery.js" external file, and is located towards the very end of the script.[/QUOTE]

You'll need to remove both of those from where they are and do this in your own SCRIPT section:
window.onload = function() {
preloadImages();
fillup();
return true;
}
Copy linkTweet thisAlerts:
@PearlDovesauthorJul 08.2006 — [B]Thank you soooo Much phpnovice![/B] It works great!

It was really important because I'm a freelance Illustrator and am using the gallery Cmotion script to scroll my illustrations.. so this is my online portfolio that I'm working on.
Copy linkTweet thisAlerts:
@phpnoviceJul 08.2006 — You're welcome.

Cheers.
×

Success!

Help @PearlDoves spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...