justuptime.com - monitor your servers & websites

Works in everything BUT IE!

You are viewing this site as a guest. Join our community to get your questions answered and share knowledge. Active members may advertise and ask for a website critique.
Brooke's picture
Developer

She has: 681 posts

Joined: Feb 1999

I was hoping that you all could help with some code that I am working on. I did not create from scratch - but am finding that it works everywhere but IE. http://www.chapelhillinternalmedicine.com/test/TEST1.HTML Is the site. The problem: the navigation.

I want a visitor to click on the parent - have it go to new page AND expand to see the child(sub categories)
I also want to child (sub categories) to be clickable.

Ideas of what I may need to change, add, fix etc to make this work across browsers - Esp IE and FF?

Thanks guys!

Brooke
CATALUÑA - your Web and Print Connection

We develop effective web sites and print marketing materials for small service based businesses.
www.cataluna.com

He has: 301 posts

Joined: May 2007

Hmm. I am not finding it working consistently anywhere. Your scripts are failing because of errors in your (X)HTML. Sad

#1. The menu has list items with no enclosing UL or OL

#2. The script refers to images with id="pm1", "pm2", "pm3" which are mostly missing from your markup

#3. You have a mix of HTML, XHTML, and proprietary Microsoft markup

The missing image elements cause the script to fail on some menu items, but work on others. The markup errors are also causing cross-browser display issues. I suggest a visit to the validator[1].

If you still have problems after correcting the markup, do let us know and we will try to help. (I suggest starting a new thread - some of us rely on the news feed, which does not show replies.)

[1] http://tinyurl.com/337dk5

Cordially, David
--
"Old web developers don't die, they degrade gracefully..."

JeevesBond's picture
Moderator

He has: 3,489 posts

Joined: Jun 2002

Seems to work alright in IE6 here. As for the extra of it directing to a new page when they click a category: why not add an id="pagename" to the body tag? Then you can target that using CSS. For example, in the HTML:

<body id="biographies">

Then in the CSS:

body#biographies #m2 {
  display: block;
}

Also, you have return false; in your link's onclick. That will stop the browser from moving to the new page, remove it and the link should work. Smiling

a Padded Cell our articles site!