PDA

View Full Version : Expandable Drop Down Ticker with multiple id



erie88
08-09-2011, 02:43 PM
1) Script Title: Expandable Drop Down Ticker

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex2/expandableticker.htm

3) Describe problem:

Can someone please teach me, how can i use this ticker with multiple ID (maybe using document.getElementById)?

Should i wrote it like this


expandticker.init({
function expTicker(tID) {
var id= document.getElementById(tID); }
snippetlength: 30,
timers: {rotatepause:3000, fxduration:300}
})

If then, what should i add in the div id?


.............
<div id ="expandticker1" class="expandticker">

<div class="expandcontent">This is ticker content 1</div>

<div

Thanks