Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Oct 2008
    Posts
    3
    Member #
    17559
    I'm working on a new internal index for my college.

    http://www.warren-wilson.edu/internal/dev/original/

    As far as I know, it works great in Firefox, Opera, and IE. However, Safari (v.3.1.2) is having serious issues with my code.

    Here's an example:
    1. Notice the link-well in the lower 2/3 of the page (dark area). The links should filter out when you begin typing in the large search box located above them.
    2. Upon typing, all of the links just disappear. You may think, as I did, that this is a problem with the AJAX script returning the appropriate data. On the contrary, the information is all there, it is just hidden behind the rest of the page.
    3. Show Safari's Web Inspector through the "Develop" menu (not enabled by default) or by pressing Command-Option-i. Now, click the little button in the bottom left, causing the inspector to fuze with the current browser window.
    4. Notice how all of the links re-appear.
    This bug baffles me. Safari's web inspector shows that the files are downloaded via AJAX. I have tried altering the z-index of the disappearing divs and have reviewed my javascript with no success.

    The other strange thing is that the link-well is populated with links via AJAX in the body's onload event. Why would it show the first time and then hide in subsequent attempts?

    Also, to show that it is not just the AJAX scripts, if you click on the "World News", "Local News", or "National News" buttons at the top right corner of the page, it should show drop-down link menus. However, those are typically hidden as well.

    The really funny thing is that, every once in a while, the page works fine in Safari!

    Thank you in advance for your help,
    Wes

  2.  

  3. #2
    Junior Member
    Join Date
    Oct 2008
    Posts
    3
    Member #
    17559
    DIAGNOSIS UPDATE:

    After making the background transparent, I determined that the divs were hiding behind the body of the page.

    By setting the z-index of the body to -1, I somewhat affected the bug, making it work about 80% of the time for later versions of Safari. However, Version 3.1.2 (4525.22) still has the same issues.

  4. #3
    Junior Member
    Join Date
    Oct 2008
    Posts
    3
    Member #
    17559
    BUG FIXED!

    Hooray!
    I figured it out!
    It turned out to be a CSS issue.

    First, to fix the disappearing links, I made the #ground element position:absolute. Problem solved.

    To fix the hidden popup menus, I had to make the entire body position:absolute.
    I also had to manually force the body's height and width to be 100%.

    I hope this helps someone else!


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 05:07 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com