SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot
    Join Date
    May 2007
    Posts
    109
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    strange bug + downspeed in ie...

    Hi there!

    I have 2 concerns that steal my sleep tonight:

    - I'm getting a strange bug when changing the className attribute for a span element...in internet explorer 6/7 space is added under the element. In the demo those span elements look like checkboxes, but this is just the background-image.

    you can check it here, just click on the checkboxes: http://metalseek.net/sandbox/foo.html

    - in internet explorer 6 the javascript is exorbitant slow...needs more than 5 seconds for loading and the script is still not finished...is there any way to get it faster? And why is that? In all other browsers and IE7 speed is pretty ok.

    PS please don't wonder why spans have to look and behave like checkboxes...the reason is, I want to have checkboxes with 3 stadiums: selected, not selected and half selected and there is pretty no element for this...

    Greetings, Andreas

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

    errors

    The Opera error console shows
    CSS - http://metalseek.net/sandbox/main.css
    Linked-in stylesheet
    Invalid value for property: background
    Line 226:
    background:url(/img/checkbox.gif) repeat-x -52 50%;
    -----------------------------------------------------^
    JavaScript - http://metalseek.net/sandbox/js/addengine.js

    Linked script not loaded

  3. #3
    SitePoint Zealot
    Join Date
    May 2007
    Posts
    109
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    thanks, I fixed the errors you displayed.
    But it seems this had nothing to do with the bug.

    Greetings, Andreas


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
  •