PDA

View Full Version : Need help with IE7 menu code


Neutron Jack
Nov-28-2006, 09:45 PM
Would someone who knows how to fix issues with (fumbling)HTML and IE7 issues please take a look at my page, and advise me on what I need to fix? My nav menu took a nose dive. It works fine in FF and IE6, but not IE7. I'm pretty sure its in my html code in the galleries dropdown.

The page is davecraig.smugmug.com

Thanks in advance

DC

Allen
Nov-28-2006, 10:41 PM
This page might have a clue to what's happening.
http://www.cssplay.co.uk/menus/drop_fly.html

I don't have IE7:D so can't help.
Good luck,
Al

Neutron Jack
Nov-30-2006, 07:58 PM
Sorry to bother the gurus again, but...:dunnoI posted a couple days ago, and am still having problems with my flyout menu code--It works fine in IE6, FF, but most of the menu is missing altogether in IE7. I'm pretty sure the problem's in the html, but no matter how long I stare at it, it doesn't look wrong:scratch. I'd appreciate if someone in the know would take a peek at it (my code). Allen refered me to http://www.cssplay.co.uk/menus/drop_fly.html , but the information there says it only works in IE7. This is about the last thing holding up the site being done.

It's http://davecraig.smugmug.com


DC

Neutron Jack
Dec-01-2006, 09:54 PM
Have I developed cooties or something?

Andy
Dec-02-2006, 04:36 AM
Have I developed cooties or something?
No, it's the weekend, and there are only a few volunteers who possilbly can help you with this type of advanced code.

Hang in there !

Neutron Jack
Dec-02-2006, 07:12 AM
No, it's the weekend, and there are only a few volunteers who possilbly can help you with this type of advanced code.

Hang in there !

OK, thanks for the heads up....was beginning to get a complex no one was replying at all (from previous post, other than Allen). Take as long as you (or whomever) needs, I'll be grateful for the assistance.

DC

caseserve
Dec-02-2006, 08:31 AM
I'm running doMenu and I'm having issues where the menu does not even load in IE7

I guess it's time be more standard and do a bullet/CSS menu:scratch

Neutron Jack
Dec-02-2006, 11:30 AM
After a 3 days of plodding, I finally figured out the issue. Thanks anyway.

Neutron Jack
Dec-02-2006, 11:31 AM
After a 3 days of plodding, I finally figured out the issue. Thanks anyway.


DC

Allen
Dec-02-2006, 04:33 PM
This is what I came up with just before the power went out Thur. night. Terrible
ice/snow storm and no fun in the dark and cold. Lucky I saved one minute before
blackout.

Compare with what you have now, I think you're still missing some
class="drop"'s and a few other things.


<!-- CSS Dropdown Nav Bar -->
<!-- Original code by Stu Nicholls of -->
<!-- http://www.cssplay.co.uk/ -->
<!-- Edited by me for content, formatting, and some elements -->
<!-- Please help support CSSPlay at: -->
<!-- http://www.cssplay.co.uk/support.html -->

<div align="center">

<div class="menu">

<ul>

<!-- First Main Menu Item -->
<li><a class="drop" href="http://davecraig.smugmug.com" title="Dave Craig Photography Homepage">Home</a></li>

<!-- Next Main Menu Item -->
<li><a class="drop" href="nogo" title="Galleries">Galleries»
<!--[if IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a class="drop" href="title=%22Weddings%22">Weddings»
<!--[if IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a class="drop" href="title=%222006%22">2006 »
<!--[if IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a href="http://davecraig.smugmug.com/gallery/2184034" title="waltz-Thatcher">Waltz-Thatcher</a></li>
<li><a href="http://davecraig.smugmug.com/gallery/XXXXXX">Empty</a></li>
</ul> <!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
<li><a class="drop" href="title=%222007%22">2007 »
<!--[if IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a href="http://davecraig.smugmug.com/gallery/XXXXXX">Empty</a></li>
</ul> <!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
</ul> <!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>

<li><a class="drop" href="title=%22Sports%22">Sports»
<!--[if IE 7]><!--></a> <!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a class="drop" href="title=%222006%22">2006 »
<!--[if IE 7]><!--></a><!--<![endif]--> <!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a href="http://davecraig.smugmug.com/gallery/2150885" title="waltz-Thatcher">Saratoga Track</a></li>
<li><a href="http://davecraig.smugmug.com/gallery/XXXXXX">Empty</a></li>
</ul> <!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
<li><a class="drop" href="title=%222007%22">2007 »
<!--[if IE 7]><!--></a><!--<![endif]--> <!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a href="http://davecraig.smugmug.com/gallery/XXXXXX">Empty</a></li>
</ul> <!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
</ul> <!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>

<li><a class="drop" href="title=%22Parties%21%22">Parties»
<!--[if IE 7]><!--></a> <!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a class="drop" href="title=%222006%22">2006 »
<!--[if IE 7]><!--></a><!--<![endif]--> <!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a href="http://davecraig.smugmug.com/gallery/XXXXXX">Empty</a></li>
</ul> <!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
<li><a class="drop" href="title=%222007%22">2007 »
<!--[if IE 7]><!--></a><!--<![endif]--> <!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a href="http://davecraig.smugmug.com/gallery/XXXXXX">Empty</a></li>
</ul> <!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
</ul> <!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>

<li><a class="drop" href="title=%22Portraits%22">Portraits»
<!--[if IE 7]><!--></a> <!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a class="drop" href="title=%222006%22">2006 »
<!--[if IE 7]><!--></a><!--<![endif]--> <!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a href="http://davecraig.smugmug.com/gallery/XXXXXX">Empty</a></li>
</ul> <!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
<li><a class="drop" href="title=%222007%22">2007 »
<!--[if IE 7]><!--></a><!--<![endif]--> <!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a href="http://davecraig.smugmug.com/gallery/XXXXXX">Empty</a></li>
</ul> <!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
</ul> <!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>

<li><a class="drop" href="title=%22Events%22">Events»
<!--[if IE 7]><!--></a> <!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a class="drop" href="title=%222006%22">2006 Events »
<!--[if IE 7]><!--></a><!--<![endif]--> <!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a href="http://davecraig.smugmug.com/gallery/XXXXXX">Empty</a></li>
<li><a href="http://davecraig.smugmug.com/gallery/XXXXXX">Empty</a></li>
</ul> <!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
<li><a class="drop" href="title=%222007%22">2007 Events »
<!--[if IE 7]><!--></a><!--<![endif]--> <!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a href="http://davecraig.smugmug.com/gallery/XXXXXX">Empty</a></li>
</ul> <!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
</ul> <!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>

<li><a class="drop" href="title=%22Nature" category="">Nature»
<!--[if IE 7]><!--></a><!--<![endif]--> <!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a href="http://davecraig.smugmug.com/gallery/XXXXXX">Empty</a></li>
</ul> <!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>

</ul> <!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>

<!-- Next Main Menu Item -->

<li><a class="drop" href="http://davecraig.smugmug.com/popshots" title="Our most popular photos!">Popular
<!--[if IE 7]><!--></a><!--<![endif]--> <!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a href="http://davecraig.smugmug.com/popshots" title="The 24 top photos">Top 24 Photos</a></li>
<li><a href="http://davecraig.smugmug.com/popular" title="The 1000 top photos">Top 1000 Photos</a></li>
</ul> <!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>

<!-- Next Main Menu Item -->

<li><a href="http://davecraig.smugmug.com/gallery/XXXXXX" title="Extra! Extra!">News</a></li>

<!-- Next Main Menu Item -->

<li><a href="http://davecraig.smugmug.com/gallery/2185149" title="Please sign our guestbook!">Guestbook</a></li>

<!-- Next Main Menu Item -->

<li><a class="drop" href="title=%22Information%22">My Info»
<!--[if IE 7]><!--></a><!--<![endif]--> <!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a href="javascript:norobotmail('photosbycraig', 'nycap.rr.com?subject=Smugmug Question')" title="Contact Dave Craig">Email Me</a></li>
<li><a href="http://davecraig.smugmug.com/gallery/2160923" title="Dave's" portfolio="">My Portfolio</a></li>
</ul> <!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
</ul> <!--[if lte IE 6]></td></tr></table></a><![endif]-->

</div>
</div>
<!-- End Navbar Code -->
Al

Neutron Jack
Dec-04-2006, 07:59 PM
This is what I came up with just before the power went out Thur. night. Terrible
ice/snow storm and no fun in the dark and cold. Lucky I saved one minute before
blackout.

Compare with what you have now, I think you're still missing some
class="drop"'s and a few other things.



Allen-

I didn't see anything jumping out at me in the code you included--I assume the problems I fixed are the same changes you made.

The problem i found was an unclosed li and ul tag for ie7 in an endif statement.

I appreciate the time you took to look at the code, and to reply to my post.

DC