PDA

View Full Version : Help with Steve's Nav Bar


NathalieRose
Jan-14-2007, 12:23 PM
Hi again!
I've been following the fantastic Nav Bar tread that Steve posted:
http://www.digitalgrin.com/showthread.php?t=42747

I have a few questions and was hoping someone can tell me what I've done wrong. My website is nathalierose.smugmmug.com

1) Why didn't the "Children" main category work as a drop down menu to include newborns, toddlers ect? (just like it did on the "Galleries" one)
2) Same question above with the "MOMs Club one.
3) My slideshow is not centered anymore, what did I do?:scratch

Thanks ever so much for your help!! ...and thanks to Steve for posting the original thread for me to work with.
Nathalie

Allen
Jan-14-2007, 01:37 PM
Hi again!
I've been following the fantastic Nav Bar tread that Steve posted:
http://www.digitalgrin.com/showthread.php?t=42747

I have a few questions and was hoping someone can tell me what I've done wrong. My website is nathalierose.smugmmug.com

1) Why didn't the "Children" main category work as a drop down menu to include newborns, toddlers ect? (just like it did on the "Galleries" one)
2) Same question above with the "MOMs Club one.
3) My slideshow is not centered anymore, what did I do?:scratch

Thanks ever so much for your help!! ...and thanks to Steve for posting the original thread for me to work with.
Nathalie
I would love to help but I get some kind of popup when going to your site
and your page won't open. I don't do popups so someone else more
adventurous will have to help.

Al

NathalieRose
Jan-14-2007, 01:48 PM
I would love to help but I get some kind of popup when going to your site
and your page won't open. I don't do popups so someone else more
adventurous will have to help.

Al

Gosh Allen! I wonder what pop up that is? I dont get anything ...what does it say?

Allen
Jan-14-2007, 02:29 PM
Gosh Allen! I wonder what pop up that is? I dont get anything ...what does it say?
I get a page with a bunch of sponsored links and at the top a message
saying "Firefox prevented this site from opening a popup window". :scratch
Tried other smug sites and this didn't happen.
Al

Barb
Jan-14-2007, 02:50 PM
I get a page with a bunch of sponsored links and at the top a message
saying "Firefox prevented this site from opening a popup window". :scratch
Tried other smug sites and this didn't happen.
Al

Typo in her site link:

nathalierose.smugmmug.com

Should be:

nathalierose.smugmug.com

Note the extra "m". :)

Allen
Jan-14-2007, 03:07 PM
Typo in her site link:

nathalierose.smugmmug.com

Should be:

nathalierose.smugmug.com

Note the extra "m". :)
Duh! Thanks Barb

Ok I'm in and looking.
Al

Allen
Jan-14-2007, 03:19 PM
Hi again!
I've been following the fantastic Nav Bar tread that Steve posted:
http://www.digitalgrin.com/showthread.php?t=42747

I have a few questions and was hoping someone can tell me what I've done wrong. My website is nathalierose.smugmmug.com

1) Why didn't the "Children" main category work as a drop down menu to include newborns, toddlers ect? (just like it did on the "Galleries" one)
2) Same question above with the "MOMs Club one.
3) My slideshow is not centered anymore, what did I do?:scratch

Thanks ever so much for your help!! ...and thanks to Steve for posting the original thread for me to work with.
Nathalie Found a few errors including no closing < /ul> at the end. Here's the whole thing.

<!-- 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://www.nathalierose.smugmug.com" title="Nathalie Rose Photography">Home
<!--[if IE 7]><!--></a><!--<![endif]--> <!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a href="http://www.nathalierose.smugmug.com/2352367" title="About me">About Nathalie</a></li>
<li><a href="http://www.nathalierose.smugmug.com/2196880" title="Email!">Email Me</a></li>
</ul> <!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>

<!-- Next Main Menu Item -->
<li><a class="drop" href="http://www.nathalierose.smugmug.com/galleries" title="Galleries">Galleries
<!--[if IE 7]><!--></a><!--<![endif]--> <!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a href="http://www.nathalierose.smugmug.com/gallery/2195503" title="Gallery">Vucenovic</a></li>
<li><a href="http://www.nathalierose.smugmug.com/gallery/2198992" title="Galleries">Hinnov</a></li>
<li><a href="http://www.nathalierose.smugmug.com/gallery/2251730" title="Galleries">Snyder</a></li>
<li><a href="http://www.nathalierose.smugmug.com/gallery/2251740" title="Galleries">Okonali-SunsetLounge</a></li>
<li><a href="http://www.nathalierose.smugmug.com/gallery/2192520" title="Gallery">Okonali-Lavaroom</a></li>
</ul> <!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>

<li><a class="drop" href="http://www.nathalierose.smugmug.com/galleries" title="Children Category">Children
<!--[if IE 7]><!--></a><!--<![endif]--> <!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a href="http://nathalierose.smugmug.com/2334460">Newborns</a></li>
<li><a href="http://nathalierose.smugmug.com/2334460">6 to 12 months</a></li>
<li><a href="http://nathalierose.smugmug.com/2334460">Toddlers</a></li>
</ul> <!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>

<!-- Next Main Menu Item -->
<li><a class="drop" href="http://www.nathalierose.smugmug.com/galleries" title="MomsClub">MOMs Club
<!--[if IE 7]><!--></a><!--<![endif]--> <!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a href="http://www.nathalierose.smugmug.com/2196642" title="Mapleside">Mapleside</a></li>
<li><a href="http://www.nathalierose.smugmug.com/2192438" title="Halloween">Halloweeen</a></li>
<li><a href="http://www.nathalierose.smugmug.com/2227592" title="Christmas">Christmas Party</a></li>
</ul> <!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>

<!-- Next Main Menu Item -->
<li><a href="http://www.nathalierose.smugmug.com" title="Please sign our guestbook!">Guestbook</a></li>

<!-- Next Main Menu Item -->
<li><a href="http://www.nathalierose.smugmug.com" title="Our privacy policy"><font color="red">Privacy</font></a></li>

</ul> <!--[if lte IE 6]></td></tr></table></a><![endif]-->
</div>
</div>
<!-- End Navbar Code -->
Al

Allen
Jan-14-2007, 03:25 PM
...
3) My slideshow is not centered anymore, what did I do?:scratch
...
Do you have a backup of your previous CSS? All your have in there now is banner code and navbar code there.

#bioBox {
text-align:center;
background:none;
}

Al

NathalieRose
Jan-14-2007, 06:00 PM
Allen, as always you have been great help!!:clap
Really, Thanks for your time ...although I'm sure I'll have many more questions down the line ....say tomorrow ;)
Thanks Barb for pointing that out!!

Nathalie

NathalieRose
Jan-14-2007, 07:29 PM
OK, I have one more question (yes, again):D

When I click on my galleries under "Children" or "MOMs Club" the galleries don't go to where I've directed them but instead go back (or stay) to/on the homepage.
Same with my "Home" bar, but not wiith the "Galleries" bar, that one works just fine ...
What is strange is that URL does change to the appointed gallery, why is this?

Allen
Jan-14-2007, 08:53 PM
OK, I have one more question (yes, again):D

When I click on my galleries under "Children" or "MOMs Club" the galleries don't go to where I've directed them but instead go back (or stay) to/on the homepage.
Same with my "Home" bar, but not wiith the "Galleries" bar, that one works just fine ...
What is strange is that URL does change to the appointed gallery, why is this? One thing your missing is this.
Add to the top of your footer code.
Do not add the *'s

<*script*>
if (hasPath("galleries"))
YD.addClass(document.body, "galleries");
<*/script*>
This is what you have in a few places in your menu.
http://nathalierose.smugmug.com/2353862

Add the green to each of them
http://nathalierose.smugmug.com/gallery/2353862

Hope this helps
Al

NathalieRose
Jan-15-2007, 05:44 AM
It worked Al, thanks! :)