Nearly got it..need help!
Hello,
I've got the expanadable menu (PHP) installed on a test machine and something aint quite right: Template.php Added <link rel="stylesheet" type="text/css" href="/udm-resources/menu.css" media="screen, projection" /> =======just copied the line above <ul id="udm" class="udm"> <li class="onclick"><a class="nohref"> North Scotland</a> <ul> <li class="onclick"><ahref="http://aberdeen.dnsalias.org">Aberdeen</a></li> <li class="onclick"><a href="http://dundee.dnsalias.org">Dundee</a></li> </ul> </li> My css style sheet: /* expanding menu styling */ #udm ul { margin-left:0 !important; margin-top:1px !important; } /* no rollover on nohref links */ #udm a.nohref { background-color:transparent !important; border-color:#f8fbd0 !important; color:#060 !important; } /* no rollover on nohref links */ #udm a.nohref { background-color:transparent !important; border-color:#f8fbd0 !important; color:#060 !important; } /* give all anchors a hand cursor */ #udm a { cursor:pointer !important; cursor:hand !important; } I think the nohref style is in the wrong place or my menu.css aint right, can anyone help me? |
OK Got it
OK got it working properly, well nearly!
When the menu displays it has a 20px(approx) margin on the left hand side. //styles which apply to the navbar $um['navbar'] = array( '-20', // nav to menu x-offset (+-)["n" pixels] '0', // nav to menu y-offset (+-)["n" pixels] '160px', // width ["em"|"ex"|"px"] (vertical navbar only - horizontal navbar items have "auto" width) ("%" doesn"t work right) ); tried "-20" and "-20px" to no effect, Anybody any ideas how to get rid of the margin? |
All times are GMT. The time now is 06:25 PM. |
Powered by vBulletin® Version 3.0.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.