Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- IE issue changing div content


lucy24 - 1:20 am on Dec 20, 2012 (gmt 0)


Do you ever read the html or css forums? There's a standard bit of advice that fits in really well here.

Strip your code down to the absolute minimum. Then start adding one thing at a time so you can pinpoint exactly where it breaks. Here you've got several different things that the browser might object to-- image maps, the "href = 'javascript:blahblah'" construction, the change of style from no-display to display, the innerHTML format ... et cetera. That's just picking things at random. I don't mean things that a browser should object to. They're simply things that a browser might decide it didn't like, and who are we to argue.

Are the three selectively-visible divs all in the same place? Can more than one be visible at the same time?

Are the two lower parts of the map intended to overlap by one px or was that a typo?

Oh, and it never hurts to stop by caniuse dot com and make sure everything you've got is supported.


Thread source:: http://www.webmasterworld.com/javascript/4529737.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com