Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

[ Create a new account ]

superflippy (442879)

superflippy
  (email not shown publicly)
http://www.superflippy.net/

Superflippy is a graphic designer in the southeastern U.S. She has one son and is married to a physicist, despite never having taken a physics class in her life. At home, she runs MacOS X on a dual-processor cheese grater, but uses a MacBook Pro at work.

Journal of superflippy (442879)

Taking a moment to brag

[ #143353 ]
Thursday September 07 2006, @04:32PM
Programming
I had a page where I needed to swap images and image maps using javascript. This caused IE to crash. Apparently, others have also struggled with this issue.

But I managed to persevere! Instead of just changing attribute values, I used replaceChild() to replace the entire image element with a new one. I then set the attributes of the new element to be whatever I need them to be.

It works, IE no longer crashes, and our site is just about ready to go live.
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login
Loading... please wait.