View Full Version : Pausing up down scroll problem

10-12-2007, 08:44 PM
1) Script Title:
Pausing up down scroll
2) Script URL (on DD):
3) Describe problem:
Could anyone please help me with this script code I want only that yellow box but if I follow the instruction of putting the script in head and body both the demo occurs while I only want the first one which is a yellow square box! Can anyone help me doing so?

10-12-2007, 09:17 PM
Get rid of this:

document.write("<br />")
new pausescroller(pausecontent2, "pscroller2", "someclass", 2000)

Once you do that, you will have just the first scroller. However, for neatness sake and to avoid unnecessary code and load on the server and users, you could then also get rid of:

width: 350px;
height: 20px;
border: 1px solid black;
padding: 3px;

#pscroller2 a{
text-decoration: none;


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>'

In an unrelated matter, if you don't want to use any property/value pairs with this selector:

.someclass{ //class to apply to your scroller(s) if desired

You can get rid of that code too.