PDA

View Full Version : seperat nav bar for galleries, possable??


graycaption
Sep-14-2008, 01:47 AM
I am desperatly trying to make a gallery with its own nav bar seperat from my main one, is this possable using just the css. or is there a cleaver way of getting around this...... worst case getting rid of nav bar totaly like when you do 'Hide owner' in gallery options, but still keeping my customized Baner..... I am new to css and only have limeted HTM knowledge.

Really greatfull for anyones help
The gallery i am working on is
http://www.graycaption.smugmug.com/gallery/5907181_ZL3Se#367464509_NvXpe

you will need a password to see it, it is

Trollskogen.

With thanks to all, and hope 1 or 2 may have an answer
Robert Gray

Allen
Sep-14-2008, 06:03 AM
I am desperatly trying to make a gallery with its own nav bar seperat from my main one, is this possable using just the css. or is there a cleaver way of getting around this...... worst case getting rid of nav bar totaly like when you do 'Hide owner' in gallery options, but still keeping my customized Baner..... I am new to css and only have limeted HTM knowledge.

Really greatfull for anyones help
The gallery i am working on is
http://www.graycaption.smugmug.com/gallery/5907181_ZL3Se#367464509_NvXpe

you will need a password to see it, it is

Trollskogen.

With thanks to all, and hope 1 or 2 may have an answer
Robert Gray
It's actually just the opposite. You define the two different navs in your
html and use one set of CSS assigning both to the same class.

<div id="navcontainer1" class="menu">
<ul>
...
</ul>
</div>

<div id="navcontainer2" class="menu">
<ul>
...
</ul>
</div>

In your CSS change all the id's of #navcontainer to the class .menu.

#navcontainer ul {...
like this
.menu ul {...

You'll also have to define in CSS where each nav is shown.

#navcontainer2 {display: none;}
.gallery_5907181 #navcontainer1 {display: none;}
.gallery_5907181 #navcontainer2 {display: block;}