Jump to content

JavaScript-generated links [solved]


Recommended Posts

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 by javaguy
Link to comment
Share on other sites

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.

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...
 Share

×
×
  • Create New...