Jump to content

JavaScript and Internet Explorer


Guest xarune

Recommended Posts

Hi,

 

I'm working on my first decent sized website for a teacher of mine. One thing I was thinking about was the links that appear on every page, while I know colors and styles can be done uniformly with CSS; I can't think of a way to do the links like that other than copy and paste to every page. That leaves the issue of not being able to quickly edit all the pages at once. I came up with the idea to use a very very basic javascript to do it uniformly. Use the document.write and then put in the HTML code and reference that in one the page, that way I can edit the javascript and change all the pages at once. I tested the page in Firefox and it worked well, but when I did it on Internet Explorer the javascript would not load, and so an important part of the page is missing. I tried using IE on two different computers, one much more recently updated, and no change.

 

Any ideas why this is happening and how to fix it?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...