Hey everyone, I need to get the entire menu in one line.
Here's the link to the site: http://www.nnennaphotography.com/site.php
Ok, The Travel section needs to be in the same line as the rest of the menu but it does not. Here's the code for the menu:
Any ideas or suggestions on how I can accomplish this?Code:<div id=\"tabs\" class=\"footer\"> <?php $selected = true; $firstrow = true; foreach($dirNames as $key => $topDirName) { //strip out unwanted characters from begining of dir names $friendlyName = ltrim($key, \"0..9,_\"); echo \' <ul class=\"navigation\">\'.\"\\r\\n\"; foreach($topDirName AS $imgDir) { //strip out unwanted characters from begining of dir names $friendlyName = ltrim($imgDir, \"0..9,_\"); if($selected == true) { echo \'<li><span class=\"arrow\"> »</span><a href=\"#\" class=\"selected\" rel=\"#default\">\'.$friendlyName.\'</a></li>\'.\"\\r\\n\"; $selected = false; } } if ($firstrow == true) { echo \'<li><span class=\"arrow\"> »</span><a target=\"_blank\" href=\"gallery.php?gallery=0_Galleries&dir=1_Light\" rel=\"gallery\">LIGHT</a></li>\'.\"\\r\\n\"; echo \'<li><span class=\"arrow\"> »</span><a target=\"_blank\" href=\"gallery.php?gallery=0_Galleries&dir=2_Living\" rel=\"gallery\">LIVING</a></li>\'.\"\\r\\n\"; echo \'<li><span class=\"arrow\"> »</span><a target=\"_blank\" href=\"gallery.php?gallery=0_Galleries&dir=3_Pavement\" rel=\"gallery\">PAVEMENT</a></li>\'.\"\\r\\n\"; echo \'<li><span class=\"arrow\"> »</span><a target=\"_blank\" href=\"gallery.php?gallery=0_Galleries&dir=4_Self\" rel=\"gallery\">SELF</a></li>\'.\"\\r\\n\"; echo \'<li><span class=\"arrow\"> »</span><a target=\"_blank\" href=\"gallery.php?gallery=0_Galleries&dir=5_Snaps\" rel=\"gallery\">SNAPS</a></li>\'.\"\\r\\n\"; echo \'<li class=\"altNav\"><a target=\"_blank\" href=\"http://blog.nnennastella.com/\">BLOG</a></li>\'.\"\\r\\n\"; echo \'<li class=\"altNav\"><a target=\"_blank\" href=\"contact.html\" rel=\"gallery\">CONTACT</a></li>\'.\"\\r\\n\"; echo \'<li class=\"altNav\"><a target=\"_blank\" href=\"http://nnennastella.zenfolio.com/\">PRINTS</a></li>\'.\"\\r\\n\"; echo \'<div id=\"menu_parent\"><span class=\"arrow\"> »</span><a target=\"_blank\" href=\"gallery.php?gallery=1_Travel&dir=France\" rel=\"gallery\">TRAVEL</a></li></div><div id=\"menu_child\"> <li><span class=\"arrow\"> »</span><a target=\"_blank\" href=\"gallery.php?gallery=1_Travel&dir=France\" rel=\"gallery\">FRANCE</a></li> <li><span class=\"arrow\"> »</span><a target=\"_blank\" href=\"gallery.php?gallery=1_Travel&dir=Switzerland\" rel=\"gallery\">SWITZERLAND</a></li> </div>\'.\"\\r\\n\"; $firstrow = false; } echo \" </ul>\"; } ?> <script type=\"text/javascript\"> at_attach(\"menu_parent\", \"menu_child\", \"hover\", \"y\", \"pointer\"); </script>
ANY help will be greatly appreciated!



Reply With Quote
Bookmarks