View Full Version : Scroller does not work in Firefox

10-29-2010, 02:50 PM
1) Script Title: Pausing up-down scroller

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

3) Describe problem: Scroller appears not to work in Firefox and CSS does not render .
Should call be relative or absolute ?
All files are in the same folder

<style type="text/pscroller1.css">
url (http://econsumersearch.com/template/ct-040/pscrolltest.php)

10-29-2010, 03:49 PM
The demo page you link to works fine in Firefox. So, unless it too has a problem in Firefox for you (in which case it would probably be an issue with settings in your Firefox browser), it probably is something to do with your installation.

If you want more help, I need a link to a page that shows the problem happening (it can just be an orphan page somewhere on your site/the net, doesn't have to be linked to or from your other pages). Otherwise it would be just a shot in the dark and/or a game of twenty questions trying to solve this issue for you.

10-29-2010, 05:32 PM
Hello John
Thank's very much for responding

link 1 shows page in IE (econsumersearch.com/template/ct-040/images/scrollinIE8.JPG)
LINK 2 SHOWS PAGE IN FF (econsumersearch.com/template/ct-040/images/scrollinFF8.JPG)

So it appears to be browser settings but it still cannot see to modify CSS dimensions in either browser

Assistance appreciated


10-29-2010, 07:41 PM
I need to see the page, not an image of it:

Please post a link to a page on your site that contains the problematic code so we can check it out.

10-30-2010, 12:49 PM
Hello John,
I think we may be missing each other

the url I have posted (http://econsumersearch.com/template/ct-040/pscrolltest.php) in the beginning of the thread is the actual installation on my site, (http://econsumersearch.com/template/ct-040/pscrolltest.php)
You can easily view the source to determine what I may done incorrectly or should be adjusted.

thanks very much

10-31-2010, 08:43 AM
Pretty unobtrusive.

Anyways, just put the style on the page like it says on the demo page.

Follow the instructions there and it will work just fine.

11-01-2010, 02:34 PM
Css has been included in the style, but with no results
Page not showing in Firefox and CSS does not render in IE

Is this something to do with doctype?


11-01-2010, 04:16 PM
It helps to follow basic HTML practices. And -

. . . demo page.

Follow the instructions there and it will work just fine.

These haven't been done here (from link in your post's source code):

<style type="text/pscroller1.css">

Which should be:

<style type="text/css">

And here:

<script type="text/javascript">

//new pausescroller(name_of_message_array, CSS_ID, CSS_classname, pause_in_miliseconds)

new pausescroller(pausecontent,1, "pscroller1", 1000)
document.write("<br />")


Which should be:

<script type="text/javascript">

//new pausescroller(name_of_message_array, CSS_ID, CSS_classname, pause_in_miliseconds)

new pausescroller(pausecontent, "pscroller1", "", 1000)
document.write("<br />")


That last bit document.write("<br />") isn't required.

By the way, if you want to use an external stylesheet, use a stylesheet link tag, ex:

<link rel="stylesheet" href="pscroller1.css" type="text/css">

not a style tag. Where pscroller1.css is a valid external stylesheet file in the same folder as the page. Again, it helps to follow basic HTML practices.

11-02-2010, 12:45 PM
Thanks John
That was my original intention
Due to space limitations and configuration, I need to call external CSS and JS
Forgot the stylesheet link rel tag

thank you

For some unknown, it only works with absolute url

11-02-2010, 04:04 PM
That shouldn't be the case. But if it works for you, that's fine.

I tried to check your example page:


But it's not there at the moment.

11-03-2010, 12:10 PM
Thanks John
the page has been removed and I am now testing the SAG scroller

DD Url page : http://dynamicdrive.com/dynamicindex2/sagscroller.htm

test page (http://econsumersearch.com/template/ct-040/sagscrolltest.html)

which is very or even more effective

Would it be possible to initialize the container by calling the constructor in the java script
ie include
var sagscroller2=new sagscroller({
//ajaxsource: 'files/sagcontent.txt',
mode: 'auto',
pause: 2500,
animatespeed: 400 //<--no comma following last option
}) in sagscroller.js
or is some other method required?

I have include an additional script that initializes and populates the div container.

11-03-2010, 12:28 PM
In the future, and for more on the sag scroller -

Please start a new thread for a new question on a new script.

There's nothing to really stop you from putting that at the very end of the sagscroller.js file. If you do, and you use the same script on different pages, you will probably need to have supporting markup on each page. So it might be best to put it in a separate external script.