Results 1 to 3 of 3

Thread: Custom Scrollbar - Firefox/Netscape Bug

  1. #1
    Join Date
    Mar 2007
    Location
    Ahron, OH - USA
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Angry Custom Scrollbar - Firefox/Netscape Bug

    1) Script Title: Page Scroller (aka Custom Scrollbar)

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

    3) Describe problem:

    I have a long page at the USO of Northern Ohio and really like this script. However, when you left click on either arrow using Firefox 3.0.0.1 or Netscape 8, you get an error console (View Screen Capture Here}. This doesn't happen in IE 7 or Opera 9. I created a page with no other scripts on it and it still happens. Plus, it happens here at DD link.

    My concern is that if someone clicks on it and gets the error console, they may think their computer is under attack ( ).

    I was able to sustitute another arrow which I like but that didn't make the problem dissappear.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Looks like an actual bug. This should fix it:

    Code:
    <a href="javascript:up();" onclick="return false;" onmouseover="myspeed=-thespeed" onmouseout="myspeed=0"><img
    src="arrows_up.gif" border="0"></a><br>
    <a href="javascript:down();" onclick="return false;" onmouseover="myspeed=thespeed" onmouseout="myspeed=0"><img
    src="arrows_dn.gif" border="0"></a>
    Notes: The dark red additions are just to affect the status bar or other link report(s) of the browser to give the user a better idea of what the controls do. Just about anything can go there. The bright red additions are the real fix, preventing the browser from executing the href attribute onclick which would otherwise produce the error you are seeing.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Mar 2007
    Location
    Ahron, OH - USA
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Thanks

    Quote Originally Posted by jscheuer1 View Post
    Looks like an actual bug. This should fix it:

    Code:
    <a href="javascript:up();" onclick="return false;" onmouseover="myspeed=-thespeed" onmouseout="myspeed=0"><img
    src="arrows_up.gif" border="0"></a><br>
    <a href="javascript:down();" onclick="return false;" onmouseover="myspeed=thespeed" onmouseout="myspeed=0"><img
    src="arrows_dn.gif" border="0"></a>
    Notes: The dark red additions are just to affect the status bar or other link report(s) of the browser to give the user a better idea of what the controls do. Just about anything can go there. The bright red additions are the real fix, preventing the browser from executing the href attribute onclick which would otherwise produce the error you are seeing.
    That did it. Thanks a lot!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •