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 10-18-2008, 04:06 PM
equilter equilter is offline
Junior Member
Join Date: Oct 2008
Posts: 9
  #1  
Default Menu Item Hover Underline / Custom Icon / Two Line Horizontal Menu

I have three questions:

1. Is there a way to set the Menu Item Hover be Underlined text, whereas the regular Menu Item NOT Underlined?

2. Is there a way to add a custom Icon to ONLY ONE Navbar Menu?

3. Can one specify where a 'line break' occurs on a Horizontal Menu to make two lines?
________
LAMBORGHINI URRACO SPECIFICATIONS

Last edited by equilter : 04-28-2011 at 06:04 AM.
Reply With Quote
Unread 10-19-2008, 02:44 AM
Admin
Posts: n/a
  #2  
Thumbs up

Yes, you can easily do these things with UDM.

For 1), just create a new CSS style like this...

Code:
#udm li a.hover {
    text-decoration:none;
}
#udm li a.hover {
    text-decoration:underline;
}
For 2) add an id to the menu item in question...

Code:
<ul>
    <li id='my_id'><a href='somewhere'>Link here</a></li>
    ...
</ul>
Then create a custom css rule...

Code:
ul li#my_id {
   background-image: url("/path/to/image.gif");
   background-repeat:no-repeat;
}
For 3) not 100% sure what you mean, can you elaborate?

Some other links that you may find helpful...

http://www.udm4.com/manual/developme...ernal-imagenav

http://www.udm4.com/manual/customising/classes/
Reply With Quote
Unread 10-19-2008, 03:39 PM
equilter equilter is offline
Junior Member
Join Date: Oct 2008
Posts: 9
  #3  
Default

Thanks for your reply.

1. In what file do I put the code, and where exactly???

2. Same question, where exactly do I put the code, and in what file???
And where do I specify the image file of the icon I wish to have displayed along with the text for this Menu ?

3. Elaborating on question #3, I want to have the navigation bar in TWO ROWS, and I want to be able to clearly specify where the line break occurs between the two lines of the navigation bar. Please advise.


Quote:
Originally Posted by Admin View Post
Yes, you can easily do these things with UDM.

For 1), just create a new CSS style like this...

Code:
#udm li a.hover {
    text-decoration:none;
}
#udm li a.hover {
    text-decoration:underline;
}
For 2) add an id to the menu item in question...

Code:
<ul>
    <li id='my_id'><a href='somewhere'>Link here</a></li>
    ...
</ul>
Then create a custom css rule...

Code:
ul li#my_id {
   background-image: url("/path/to/image.gif");
   background-repeat:no-repeat;
}
For 3) not 100% sure what you mean, can you elaborate?

Some other links that you may find helpful...

http://www.udm4.com/manual/developme...ernal-imagenav

http://www.udm4.com/manual/customising/classes/
________
Lada niva

Last edited by equilter : 04-28-2011 at 06:04 AM.
Reply With Quote
Unread 10-22-2008, 03:19 PM
nicoFio
Posts: n/a
  #4  
Default having same issue with separation

having same problem as in #3, would like to separate 2 <ul> or <dl> from each other...seems they want to stay on the same line perhaps b/c of the float:left; direction i have given. does anyone know how to fix this?
Reply With Quote
Unread 10-23-2008, 01:35 PM
Admin
Posts: n/a
  #5  
Default

For 1 and 2, you'll need to edit your HTML file and your external CSS file. These are independent of the UDM4 code.

For #3, one way to do this would be to specify a width on the entire menu that forces a wrap.

For example. Let's say your menu has 10 items. The first 5 have a total width of 480px. You could set your entire menu width to be 480px, then the remaining items would wrap to the next row.

To see an example of this, check out this link:
http://www.udm4.com/demos/horizontal...ive-center.php

Forum wraps onto a new row.
Reply With Quote
Unread 10-23-2008, 02:11 PM
equilter equilter is offline
Junior Member
Join Date: Oct 2008
Posts: 9
  #6  
Default

Thanks for your reply. Is there any way to preview the #1 and #2 changes BEFORE I use the CSS Generator ? In other words, can it be done with the udm-custom.js file ???

Quote:
Originally Posted by Admin View Post
For 1 and 2, you'll need to edit your HTML file and your external CSS file. These are independent of the UDM4 code.

For #3, one way to do this would be to specify a width on the entire menu that forces a wrap.

For example. Let's say your menu has 10 items. The first 5 have a total width of 480px. You could set your entire menu width to be 480px, then the remaining items would wrap to the next row.

To see an example of this, check out this link:
http://www.udm4.com/demos/horizontal...ive-center.php

Forum wraps onto a new row.
________
Cheap Dummy Hand Grenade Lemon

Last edited by equilter : 04-28-2011 at 06:04 AM.
Reply With Quote
Unread 10-28-2008, 02:03 PM
equilter equilter is offline
Junior Member
Join Date: Oct 2008
Posts: 9
  #7  
Default

Is there any way to preview the #1 and #2 changes BEFORE I use the CSS Generator ? In other words, can it be done with the udm-custom.js file ???
________
GREY'S ANATOMY FORUMS

Last edited by equilter : 04-28-2011 at 06:05 AM.
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:45 AM.


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