elli
12 Apr 2007, 07:47 PM
I am trying to place two of the same scripts on a page.
Their purpose is to create a scrollable box which then can be filled with your content.
I am using dynamic drive's free script: http://www.dynamicdrive.com/dynamicindex11/scrollc2.htm
The problem I am having is: when I use both scripts, the first script's arrows scroll the second script's content.
I have tried the suggestion they gave to fix it but, it has not worked for me.
Their suggested resolution was to delete the:
window.onload=getcontent_height in both scripts and add this:
<body onload="dothis();dothat()"> to the body tag.
So I added this to the body tag:
<body onload="getcontent_height(); getcontent_height()">
nothing happened.
I don't know any java script. I have only used their free scripts. So I am at a loss with this.
elli
Their purpose is to create a scrollable box which then can be filled with your content.
I am using dynamic drive's free script: http://www.dynamicdrive.com/dynamicindex11/scrollc2.htm
The problem I am having is: when I use both scripts, the first script's arrows scroll the second script's content.
I have tried the suggestion they gave to fix it but, it has not worked for me.
Their suggested resolution was to delete the:
window.onload=getcontent_height in both scripts and add this:
<body onload="dothis();dothat()"> to the body tag.
So I added this to the body tag:
<body onload="getcontent_height(); getcontent_height()">
nothing happened.
I don't know any java script. I have only used their free scripts. So I am at a loss with this.
elli