Results 1 to 3 of 3

Thread: Scrollable Content II and FF

  1. #1
    Join Date
    Oct 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Scrollable Content II and FF

    1) Script Title: Scrollable Content II

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex11/scrollc2.htm

    3) Describe problem:

    Well, I made a site for a pizza place I frequent (for the time being, located at http://www.djdarknez.com/oss/mugs. I added in the SCII script for the menus. In IE7, it works great. However, upon testing the site in FF 2.0.0.7, it doesn't work.

    HOWEVER, when I go to the DD page for SCII, it DOES work. Did I screw up the code somehow? I can't fathom why it does work for IE7 on both sites, but only on 1 for FF.

    Halp?

    Thanks!

  2. #2
    Join Date
    Oct 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I think it's safe to give this a bump, it's been 2.5 months.

  3. #3
    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

    Sloppy coding, there are other examples on the page, but specifically relevant to this problem, you open a div tag at the beginning of the content area:

    Code:
    <!--INSERT CONTENT HERE-->
    
    <div align="center">
    and never close it.

    Since the whole page is a bit unorthodox, instead of fixing that, I'd suggest simply giving the table that holds the controls relative position:

    Code:
    <table style="position:relative;" width="700px"><td><p align="right">
    <a href="#" onMouseover="moveup()" onMouseout="clearTimeout(moveupvar)"><img src="../images/up.gif" border=0></a> <a href="#" onMouseover="movedown()" onMouseout="clearTimeout(movedownvar)"><img src="../images/down.gif" border=0></a></p></td>
    </table>
    That will preserve the page's apparent layout (the look of the page), while at the same time making the controls accessible in FF. If you actually fixed the problem of the unclosed div tag properly, the controls for the scroller would move to the bottom of the box that holds the scrolling menu.
    - John
    ________________________

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

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
  •