Repeat code across pages in IE9 (no server-side)?
by MorganWick - 11/19/11 5:22 PM
I have some good amateur experience with basic-to-intermediate HTML and CSS, but my experience with JavaScript and conditional comments is nonexistent. I'm working on developing a site and I want to use some sort of automated process to put code for a navigation bar on every page. I tried the trick described here: http://webdesign.about.com/od/javascript/ht/htjsincludehtm.htm but it's not showing up on IE9, though it does work in Chrome and it seems to work on older versions of IE. I don't really have the option of doing anything server-side due to the nature of the project. Is there a way to get this to work in IE9, or can I at least get help on some other way to achieve what I'm looking for?

Moderator
CNET Staff
Samsung Staff
Dell Staff