Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
Slashdot Deals: Prep for the CompTIA A+ certification exam. Save 95% on the CompTIA IT Certification Bundle ×
Programming

Journal superflippy's Journal: Taking a moment to brag

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.

Taking a moment to brag

Comments Filter:

"Is it really you, Fuzz, or is it Memorex, or is it radiation sickness?" -- Sonic Disruptors comics

Working...