SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Addict matt_12511's Avatar
    Join Date
    Feb 2004
    Location
    Michigan
    Posts
    256
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    1 Item Remaining in IE 6

    I have made changes to my website and it includes transparent PNGs. So I downloaded some Javascript to do a browser check and then display the PNG properly.

    The problem I'm having is that the page takes forever to finish downloading some item (1 item remaining). I can not tell what is causing this. The real problem here is that the drop boxes do not appear until the page loads. So most of my menu buttons take too long to appear in IE 6.

    In IE 7 the page comes right up. In IE 6 it can take several minutes...

    Here is a sample:

    www.faceproject.org/about/

    (there should be some drop downs under "who we are")

    any ideas?

    Thanks,

    Matt

  2. #2
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    17,047
    Mentioned
    187 Post(s)
    Tagged
    2 Thread(s)

    page hanging

    I went to the page using Firefox. At first I thought the problem might be with the large "face" graphic (324K). After the graphic finished loading I expected to see "done" in the status bar. The page appeared to have finished rendering. But even after several more minutes the status bar still said "loading" until eventualy it became "done".
    The only error reported to the js console was a CSS error "expected color but found bf2b37" which I don't imagine should cause the page to hang.
    Maybe it has something to do with the server-side code? Anything with a "sleep" in it?

  3. #3
    SitePoint Addict matt_12511's Avatar
    Join Date
    Feb 2004
    Location
    Michigan
    Posts
    256
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Found it! Thanks Mittineague.

    Code:
    <img src="http://www.faceproject.org/images/Tabs.png" border="0" id="Logo" alt="FACE Logo" />
    The id="Logo" was not in the CSS and for some reason that made everything hang up in IE 6.

    Thanks,

    Matt

  4. #4
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    17,047
    Mentioned
    187 Post(s)
    Tagged
    2 Thread(s)

    id not in CSS

    The page is working much better in Firefox now too. That seems a rather odd bug. I mean sometimes I use Ids not for CSS but for DOM scripting. I'd hate to think some of my pages might be hanging because of that. I thought maybe your page might have had a naming conflict, but that doesn't seem to be the case either. And I really don't think there's a rule that everything that has an id has to be referenced somewhere. I think that I would be able to give everything an id if I wanted to whether I needed to or not and that the page would still work OK. Hmmm? Maybe "logo" is a "special" name? Anyway I'm glad you got it sorted.


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
  •