Help making CSS tab bar

Hi only looked at it quickly but, your JS amends should work you will need to give the second list a new set of ID's though..

<li id="secondary-nav-news"><a href="test.php">Lorum</a></li>
 
your welcome :)

Since your so good, here's another one for you;

Ive not integrated pixelpost into my site (http://www.afowler.co.uk/test/gallery/index.php?x=browse) And ive set the second navigation links up to show the categories the images are in. However when you choose a category it simply adds
Code:
?x=browse&category=4
to the URL, where
Code:
category=4
defines the category number within pixelpost. So how would I go about adding the;

Code:
<script type="text/javascript"> 
var main_nav = "gallery"; 
navigation(); 

var secondary_nav = "wildlife"; 
secondarynavigation(); 
</script>

part of the script when it doesn't load up a seperate page? I bascially need something that reads the category numbers and links the navigation script with that. Any ideas?

Edit; Nervermind, got it sorted. \o/
 
Last edited:
Back
Top Bottom