PumiceT
08-12-2008, 05:29 PM
Pausing up-down Scroller
http://www.dynamicdrive.com/dynamicindex2/crosstick.htm
Very much like the glossy accordion menu (http://www.dynamicdrive.com/dynamicindex17/ddaccordionmenu-glossy.htm), I would like to populate the scrolling text from an unordered list within a class in the main HTML, and have all other code outside in the .js file.
From my very minor understanding of scripting, to do what I describe below, I need to change the bolded section:
function pausescroller(content, divId, divClass, delay){
Again, like the glossy accordion menu, I would like to define each <li> as its own <div> class in css, and have the whole div scroll up, rather than just a line of text.
Why do I want to be able to do this, you ask? Because if you look at the results of this scroller without CSS, but with javascript, it's a mess!!
I would like the script to do nothing if no CSS, and show the content as an unordered list.
http://www.dynamicdrive.com/dynamicindex2/crosstick.htm
Very much like the glossy accordion menu (http://www.dynamicdrive.com/dynamicindex17/ddaccordionmenu-glossy.htm), I would like to populate the scrolling text from an unordered list within a class in the main HTML, and have all other code outside in the .js file.
From my very minor understanding of scripting, to do what I describe below, I need to change the bolded section:
function pausescroller(content, divId, divClass, delay){
Again, like the glossy accordion menu, I would like to define each <li> as its own <div> class in css, and have the whole div scroll up, rather than just a line of text.
Why do I want to be able to do this, you ask? Because if you look at the results of this scroller without CSS, but with javascript, it's a mess!!
I would like the script to do nothing if no CSS, and show the content as an unordered list.