PDA

View Full Version : changing Horizontal navigation to vertical output.


steeldragon26
07-20-2006, 09:08 AM
Can anyone help me out with this? I'm just not sure where I find the code to change it all over.

cheers!

72dpi
07-20-2006, 01:21 PM
yeah, what template are you using?

if you are using one with Drop Down navigation, then, vcurrently NO, the nav cannot change.

I want to be able to change the way the navigation writes, as i am not a big fan of the current javascript method.

If you have a simple top level menu, pleae let me know which template yourare using & I will do the CSS & navigation for you.

BTW, it is located:
skins > template name > categories.php (does the menu...)

Hope this helps

steeldragon26
07-21-2006, 11:51 AM
Fixed it. I'm not using the drop-down nav as all i need are the main category links.

this is the code i'm now using to get a vertical output:

<?php

for($i = 0; $i < $categoryrows; $i++)
{
**echo '<a href="'.$categorylink[$i].'">'.$categoryname[$i].' </a><br>';
}

?>