Go Back   Ultimate Web Site Drop Down Menu Forum > UDM4 > Troubleshooting
Register FAQ Members List Calendar Today's Posts

Reply
Thread Tools Display Modes
Unread 02-16-2009, 06:20 PM
ludo33 ludo33 is offline
Junior Member
Join Date: Feb 2009
Posts: 10
  #1  
Default 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 {
cursorointer !important;
cursor:hand !important;
}

I think the nohref style is in the wrong place or my menu.css aint right, can anyone help me?
Reply With Quote
Unread 02-19-2009, 04:31 PM
ludo33 ludo33 is offline
Junior Member
Join Date: Feb 2009
Posts: 10
  #2  
Default 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?
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 02:08 PM.


Powered by vBulletin® Version 3.0.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.