• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: multiple dhtmlmenus on one page
PostPosted: Mon Nov 01, 2004 12:11 am 
i am trying to have more than one dhtmlmenu on one page, currently i have

.mainmenu a
.mainmenu a:hover

and the code is reflected for the first dhtmlmenu

but then i have

.submenu a
.submenu a:hover

and the default css for the second dhtmlmenu is loaded, any suggestions


Top
   
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: multiple dhtmlmenus on one page
PostPosted: Mon Nov 01, 2004 1:12 am 
the css
\$1:
/* horizontal menu */
.menu
{
top: 17px;
left: 46px;
float: left;
margin: 0 0 0 0;
position: relative;
text-align: center;
}
.menu a
{
padding: 3px 3px 3px 3px;
display: block;
width: 75px;
color: #494949;
text-decoration: none;
border: #8CABD1 1px solid;      
background-color: #E5EDF7;
margin-right: 5px;
}
.menu a:hover
{
background-color: #FFF;
color: #494949;
}
/* submenu */
.submenu
{
position: relative;
left: 46px;
top: 59px;
float: left;
text-align: left;
padding: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
}
.submenu a
{
padding: 3px 3px 3px 3px;
display: block;
width: 75px;
color: #000;
text-decoration: none;
border: #AAA 1px solid;
background-color: #EEE;
}
.submenu a:hover
{
background-color: #FFF;
color: #494949;
}


the html

\$1:
<div class="menu">{dhtmlmenu showadmin=0 horizontal=1 number_of_levels=1}</div>
<div class="submenu">{dhtmlmenu showadmin=0 start_element=1}</div>


submenu works, submenu a, works, submenu a:hover does not work, what da fudge


Top
   
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting