Guest xarune Posted October 31, 2009 Report Share Posted October 31, 2009 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? Quote Link to comment Share on other sites More sharing options...
virtual Posted November 1, 2009 Report Share Posted November 1, 2009 Don't know about Javascript, but you could always do a PHP include, see this post http://www.killersites.com/forums/topic/1915/navigation-without-cut-and-paste/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.