Not signed in (Sign In)

Vanilla 1.0.3 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorRoberto
    • CommentTimeMay 6th 2007
     
    Hi everybody,

    I have some simple Javascript code that change the images using the JavaScript.
    I use the GetElementById, then change the image source etc. etc.
    Well, pretty "standard" and working fine with Netscape and IE6.
    With IE7 it does not work... :-|
    Is there any difference for this new browser release ?
    How to change an image with JavaScript and IE7 ?
    Help... :-|
    •  
      CommentAuthorkay
    • CommentTimeMay 7th 2007
     
    Roberto, I'm not great at JavaScript, but I can tell you for sure that in order for anyone to help you they're going to need to see some code.

    For the record, I've found that IE7 works pretty well - much better than IE6 for a standards-compliant site - so I'm sure whatever issue you're seeing can be worked around.

    Cheers!
    • CommentAuthorRoberto
    • CommentTimeMay 8th 2007
     
    Hello Kay,

    yes, I concur.
    Btw, I have found a nice and simpler example on the web that demonstrates the problem.
    Please, check this piece of code:

    http://www.silkypups.com/examples/clock/clock.html

    If seen with IE7, it just shows a still clock, stuck at 12.
    With other browsers, it works fine, showing a running clock.

    I guess the problem comes from the dynamic assignment of getElementById("id").src.
    The problem with my script is similar.

    What do you think ?
    Am I the only one on this earth who notice this weird behavior of IE7 ? :-)
    I don't think the JavaScript is not standard or compliance to W3C...

    Nice to have Microsoft programmer not checking one of the most basic functions before releasing IE7... :-|
    •  
      CommentAuthorSamhain13
    • CommentTimeMay 8th 2007
     
    Hello Roberto,

    I just saw the page in IE 7 and the clock works just fine. =)

    Arielle