Results 1 to 4 of 4

Thread: Error with script in Firefox

  1. #1
    Join Date
    Jan 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Error with script in Firefox

    1) Mike's DHTML scroller

    2)

    3) Firstly, thanks Mike for this great code!

    The code in time gathers a pixel line at the top and left side in firefox. Works fine in Safari and IE6. The only way I've found to stop this from occurring is to add the border:

    var myScroller1 = new Scroller(0, 0, 157, 80, 1, 0); //(xpos, ypos, width, height, border, padding)

    My page is: www.muskmagazine.com/indextest.html

    Any suggestions would be much appreciated.
    Thank
    Justin
    Last edited by jscheuer1; 01-16-2008 at 06:52 AM. Reason: remove hot link from link

  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

    Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format when asking a question.
    - John
    ________________________

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

  3. #3
    Join Date
    Jan 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Error with script in Firefox

    1) Mike's DHTML scroller

    2)http://www.dynamicdrive.com/dynamici...mikescroll.htm

    3) Firstly, thanks Mike for this great code!

    The code in time gathers a pixel line at the top and left side in firefox. Works fine in Safari and IE6. The only way I've found to stop this from occurring is to add the border:

    var myScroller1 = new Scroller(0, 0, 157, 80, 1, 0); //(xpos, ypos, width, height, border, padding)


    Any suggestions would be much appreciated.
    Thank
    Justin
    Last edited by jscheuer1; 01-17-2008 at 04:19 AM.

  4. #4
    Join Date
    Jan 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Fudged border to resolve issue

    I have resolved the issue by have the border set to 1px as below.

    var myScroller1 = new Scroller(0, 0, 157, 80, 1, 0); //(xpos, ypos, width, height, border, padding)

    However this has meant my having to insert a clear pixel to nudge over the text above. Not perfect but it works!


    Thanks
    Justin
    Last edited by jscheuer1; 01-17-2008 at 04:19 AM.

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
  •