Quick Nav:  Online Store   |   Login | Register

Different background color

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
TiagoR
<20 Posts
Posts:18


02/06/2008 3:56 PM  

Hi John

I would like to know if the snapsis can do something similiar to the menu attached. If you have some sample or example will be great !

bye bye


Attachment: 126564365971.zip

John Mitchell
Posts:3471


02/06/2008 4:08 PM  

Yes that is possible.

This skin is using the Snapsis NavMenu to do something like that:

http://www.snapsis.com/OnlineStore/BrowseProducts/tabid/589/List/1/ProductID/16/Default.aspx

TiagoR
<20 Posts
Posts:18


02/07/2008 5:42 AM  

Hi John

Thank you ! But, this menu sended can have a diferent color for each submenu according with the color of the main menu link ?

Example: Home link is blue = Sub menu of home is blue
                  About us is red= Sub menu of about us is red

 

bye

John Mitchell
Posts:3471


02/07/2008 7:46 AM  
Yes, you would just need to target each tab seperately by ID in the CSS.
TiagoR
<20 Posts
Posts:18


02/07/2008 7:58 AM  

Hi john

 

Thank you again ! I try do this is a hover snapsis menu using the ID created by the dot net nuke, but it do not work:

[script removed]

I use the id="nav64"  in my css class !

Why it not work ?

 

bye bye

John Mitchell
Posts:3471


02/07/2008 8:23 AM  
Please attach your css as a zip or txt file.

That id will target a specific list item like this:
#nav64 {
background:red;
}

If you want to target the container (parent element) of all the list items in that sub-menu then you would need to use javascript.
Or you could use a template type menu to put an id on the containers for the sub-menus.

To use javascript you would do something like this:
document.getElementById('nav64').parentElement.className = 'redMenu';

and then in the CSS you would put:
.redMenu {
background:red;
}
TiagoR
<20 Posts
Posts:18


02/07/2008 8:52 AM  

Hi john !

Thank you again ! I  achieve ! The menu is now how I like !!

 

bye bye

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
Forums >Snapsis Product Support >CSS NavMenu > Different background color



ActiveForums 3.7
Powered by: Snapsis Software