javaguy Posted September 19, 2007 Report Share Posted September 19, 2007 (edited) I've got a web site that has a navigation menu on every page, so I use a JavaScript function to generate the menu using document.write statements. The pages display perfectly when viewed from IE, but when I look at the site in Mozilla or Konqueror on my Mandriva box they appear as underlined--but unclickable!--text. Anybody seen this behavior before? Thanks, Sam [moved from Software by spinynorman] Edited September 20, 2007 by javaguy Quote Link to comment Share on other sites More sharing options...
neddie Posted September 19, 2007 Report Share Posted September 19, 2007 Probably a little syntax error which IE ignores (or makes some assumption) whereas Firefox chokes. I suggest you edit the file to turn the document.write into an alert so you can carefully check the link text. My bet is mismatching quotes. Quote Link to comment Share on other sites More sharing options...
javaguy Posted September 19, 2007 Author Report Share Posted September 19, 2007 Doesn't look like it. The site is charishomeschool.net, if you want to take a look. Thanks again, Sam Quote Link to comment Share on other sites More sharing options...
neddie Posted September 19, 2007 Report Share Posted September 19, 2007 You're right, it's not mismatched quotes. It's actually the main content div which is covering up the menu links. It's transparent but it's like a pane of glass on top of your links, so you can't click on them. Make the background of the div red to see what I mean. Just rearrange your layout so the div isn't covering up your menu, it's nothing to do with the javascript. Although I don't like javascript menus anyway because you never know whether the browser will have javascript turned on or not. Quote Link to comment Share on other sites More sharing options...
javaguy Posted September 20, 2007 Author Report Share Posted September 20, 2007 You guys rock. Thanks! Quote Link to comment Share on other sites More sharing options...
neddie Posted September 20, 2007 Report Share Posted September 20, 2007 Aw, shucks. No probs. 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.