Hi All,
I am new to this forum and wondering if someone can help me.
I have recently joined a company and am helping to maintain their old web site.
JavaScript is not my strong point though and I have found that the previous web editor has a lot of repeat functions on the pages.
My idea is to create an external .js file and just call the function…it is for a rotating banner ad.
The problem is the the function is called in the <Body> tag..this means that I have to change 100’s of pages by adding the call function to the tag on every page.
Is there a way I can call the function as well as adding the function to the onLoad event.
I have tried adding “window.onload = rotateBanner;” to the beginning of my javaScript but it does not seem to work…what amm I doing wrong….please help.
Charmie