Menu/banner conflict

L

Larry

I am modifying a website with an embedded css menu system that is
initialized by an onload in the Body tag. Am trying to add a banner image
rotator which uses a js external file. The banner code works fine when
tested separately from the webpage. When the code for it is inserted into
the page the banner displays but is static.

Is there a technique I am missing for getting both of them to run at the
same time?
 
R

Ronx

A link to a faulty page will be useful.

Running 2 or more onload javascripts is achieved by placing both
function calls in the same onload event, for example:

<body onload="cssMenu();adRotator();">

where cssMenu() and adRotator() are the JavaScript functions being
called.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top