slyredfox
04-16-2007, 04:36 PM
1) Script Title: Scrollable content II
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex11/scrollc2.htm
3) Describe problem: I'm using the above scroller on several areas of a web site I'm developing (not my idea to use multiple ;-). Here's the issue (and I know we shouldn't post 2x script conflict - but I think this may be a unique instance) :
I'm planning on using 2-3 of the above scrollable content scripts on the site:
One (1) on a side bar include file
Two (2) as a primary content scroller - page specific
Three (3) as a special function (scrolling sub nav links, etc.) when needed.
I'm also, setting these scrollers "relative" to other elements on the page.
My questions are: Do I need to have multiple copies of the same javascript code for all 3 instances or can I just have one copy of the <script> set into the body of each page?
And, my second question - How do I keep the scripts from interfering with each other? I had tried to resolve from this tutorial:
http://javascriptkit.com/javatutors/multiplejava3.shtml
But, I think it's a "trigger" issue on the scroll buttons themselves. (Not sure - can't figure it out - please, please help ;-)
You can view the "in-development" page here:
http://www.designrefresh.com/CLIENTS_Pinnacle/Pinnacle_Template.asp
One last note: I'm in no way a javascript programmer (it looks like ancient sandscript to me) I do get an idea of what the code is doing enough to manipulate it a bit. So, please be nice if I don't get exactly what you're trying to explain to me on the first shot. Thanks.
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex11/scrollc2.htm
3) Describe problem: I'm using the above scroller on several areas of a web site I'm developing (not my idea to use multiple ;-). Here's the issue (and I know we shouldn't post 2x script conflict - but I think this may be a unique instance) :
I'm planning on using 2-3 of the above scrollable content scripts on the site:
One (1) on a side bar include file
Two (2) as a primary content scroller - page specific
Three (3) as a special function (scrolling sub nav links, etc.) when needed.
I'm also, setting these scrollers "relative" to other elements on the page.
My questions are: Do I need to have multiple copies of the same javascript code for all 3 instances or can I just have one copy of the <script> set into the body of each page?
And, my second question - How do I keep the scripts from interfering with each other? I had tried to resolve from this tutorial:
http://javascriptkit.com/javatutors/multiplejava3.shtml
But, I think it's a "trigger" issue on the scroll buttons themselves. (Not sure - can't figure it out - please, please help ;-)
You can view the "in-development" page here:
http://www.designrefresh.com/CLIENTS_Pinnacle/Pinnacle_Template.asp
One last note: I'm in no way a javascript programmer (it looks like ancient sandscript to me) I do get an idea of what the code is doing enough to manipulate it a bit. So, please be nice if I don't get exactly what you're trying to explain to me on the first shot. Thanks.