SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Member
    Join Date
    Jun 2004
    Location
    philadelphia
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Java problems in Safari, please help

    I am trying to flush out the rendering problems on the gallery section of a site I am creating:

    http://mfentzloff.com/whistler/galle.../gallery1.html

    It incorporates a javascript slide show and for whatever reason in Safari, it is rendering the div on top rather than under.

    It functions properly, just not looking good.

    You can view the page in most all other browsers on mac and pc and works great.

    In Safari 1 and 1.3 it is having problems.....

    Can anyone please help fix this. I have been racking my brain on this for a while.

    Tks,
    Megan

  2. #2
    SitePoint Aficionado JVLB's Avatar
    Join Date
    Jan 2002
    Location
    N 44 56.537' W 123 3.683'
    Posts
    1,127
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What are the overflow properties in the CSS for the div and the table?

    (By the way, JavaScript isn't Java. They're hardly related, actually.)

    Also, have you tried validating the page at the W3C? That often helps diagnose errors.

  3. #3
    SitePoint Member
    Join Date
    Jun 2004
    Location
    philadelphia
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here are the css for the div layer:

    div#lyr1 {
    position:absolute; visibility:hidden;
    left:0px; top:198px;
    z-index:1;


    There are no overflow properties set.... should there be and if so, what would you suggest them being?

  4. #4
    SitePoint Wizard silver trophy
    Join Date
    May 2003
    Posts
    1,843
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You've got a problem with your (non-DW) rollover code.
    Code:
    ....ONMOUSEOVER="imageChange('title','alt2','two.....
    Turn on error reporting in MSIE (Tools>Internet Options...>Advanced>Display a notification....) to see. Not related to your question, but important.

    http://diveintomark.org/safari/
    ::: certified wild guess :::

  5. #5
    SitePoint Member
    Join Date
    Jun 2004
    Location
    philadelphia
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks... for pointing that out.

    I am actually handing this off to someone else to intergrate php and he wants to use php to handle the change of titles.... so, that is why I was not alarmed by that..

    any ideas on how to fix the Safari problem?

  6. #6
    SitePoint Aficionado JVLB's Avatar
    Join Date
    Jan 2002
    Location
    N 44 56.537' W 123 3.683'
    Posts
    1,127
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I haven't dissected the source to tell which div is the container for the scrolling elements, (at a glance it looks like a div with a table within), but it would seem reasonable that the container should have an overflow:hidden rule, as the default is usually overflow:visible, meaning that any content exceeding the limits of the element is displayed.

  7. #7
    SitePoint Member
    Join Date
    Jun 2004
    Location
    philadelphia
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I just put that in and tested and it still did not fix the issue.

    Looks like the layer is sitting above to the left a litle and then messing with the table.... huh?


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
  •