You should have no problem getting multiple instances of the script running on the same page (as seen in the demo on the script page, which shows 2 instances). Your two content arrays may look something like:
Code:
var pausecontent=new Array()
pausecontent[0]='<a href="http://www.javascriptkit.com">JavaScript Kit</a><br />Comprehensive JavaScript tutorials and over 400+ free scripts!'
pausecontent[1]='<a href="http://www.codingforums.com">Coding Forums</a><br />Web coding and development forums.'
pausecontent[2]='<a href="http://www.cssdrive.com" target="_new">CSS Drive</a><br />Categorized CSS gallery and examples.'
var pausecontent2=new Array()
pausecontent2[0]='<a href="http://www.news.com">News.com: Technology and business reports</a>'
pausecontent2[1]='<a href="http://www.cnn.com">CNN: Headline and breaking news 24/7</a>'
pausecontent2[2]='<a href="http://news.bbc.co.uk">BBC News: UK and international news</a>'
While your two initialization codes may look like:
Code:
new pausescroller(pausecontent, "pscroller1", "someclass", 3000)
new pausescroller(pausecontent2, "pscroller2", "someclass", 2000)
Bookmarks