PB CSS avec DHTML JoomlArt.com Transmenu V2.0

Support et utilisation de Joomla! 1.0.x : gérer le contenu, les menus et les extensions natives.

Moderators: sarki, Aidan38

Forum rules
Règles du forum
Locked
User avatar
koestel
Joomla! Intern
Joomla! Intern
Posts: 96
Joined: Tue Nov 01, 2005 9:39 pm
Location: Mulhouse
Contact:

PB CSS avec DHTML JoomlArt.com Transmenu V2.0

Post by koestel » Tue Feb 07, 2006 6:08 pm

Bonjour
j'ai le souci de css avec DHTML JoomlArt.com Transmenu V2.0:

dans l'exemple 1 ci dessou si je déplace ma souris sur le lien DECOUVERTE   celui ci passe devient vert foncé, ca c'est normal
exemple1:
Image

Dans l'exemple2 dès que je vais sur le sous-item de DECOUVERTE   à savoir aspach-le-bas le roll-over vert foncé du menu  DECOUVERTE disparait c'est pas logique sachant que je suis dans le sous-item de DECOUVERTE
exemple2
Image


Je cherche le moyen de rendre actif le menu DECOUVERTE quand je suis dans les sous-item de DECOUVERTE cela doit être possible?

Avez vous une idée?


voici le fichier css

Code: Select all

/* TRANSMENU CSS FOR RHUK_PLANETFALL TEMPLATE*/
/* this is the clipping region for the menu. it's width and height get set by script, depending on the size of the items table */
.transMenu {
	position:absolute;
	overflow:hidden;
	left:-1000px;
	top:-1000px;
}
/* this is the main container for the menu itself. it's width and height get set by script, depending on the size of the items table */
.transMenu .content {
	position:absolute;
}


/* this table comprises all menu items. each TR is one item. It is relatively positioned so that the shadow and background transparent divs can be positioned underneath it */
.transMenu .items {
	position:relative;
	left:0px; top:0px;
	z-index:2;
	text-indent:5px;
}

.transMenu.top .items {
	border-top:none;
}

/* each TR.item is one menu item */
.transMenu .item{
    font-size:12px;
    text-decoration:none;
    margin: 0px;
	display:block;
	/* this is a hack for mac/ie5, whom incorrectly cascades the border properties of the parent table to each row */
	border:none;
	cursor:pointer;
	cursor:hand;
	border-bottom: 1px solid #DDE18A; 
}
/* this DIV is the semi-transparent white background of each menu. the -moz-opacity is a proprietary way to get transparency in mozilla, the filter is for IE/windows 5.0+. */
/* we set the background color in script because ie mac does not use it; that browser only uses a semi-transparent white PNG that the spacer gif inside this DIV is replaced by */
.transMenu .background {
	position:absolute;
	left:0px; top:0px;
	z-index:1;
	visibility: hidden;
	
}

/* same concept as .background, but this is the sliver of shadow on the right of the menu. It's left, height, and background are set by script. In IE5/mac, it uses a PNG */
.transMenu .shadowRight {
	visibility:hidden;
}

/* same concept as .background, but this is the sliver of shadow on the bottom of the menu. It's top, width, and background are set by script. In IE5/mac, it uses a PNG */
.transMenu .shadowBottom {
	visibility:hidden;
}



.transMenu .item{
	background: #DDE18A;
  	color: #000;

}

.transMenu .item.hover {
background: #DDE18A;
	color: #991312;
}

.transMenu .item#active {
	background: #C6CF52;
	color: #991312;
}

.transMenu .item#active.hover {

}

.transMenu .item img {
	margin-left:10px;
}





/* For first level menu.*/
#wrap {
   margin: 0px;
   padding: 0px;
}
#menu {
}

a.mainlevel-trans:link, a.mainlevel-trans:visited {
	border: 1px solid black;
	color:white;
	display: block;
	font-family: Tahoma, Helvetica, sans-serif;
	font-size: 12px;
	height: 21px;
	line-height: 21px;
	margin: 0px;
	padding: 0px 10px 0px 10px;
	text-decoration:none;
	text-transform: uppercase;
	white-space:nowrap;
	width:auto;
}

a.mainlevel-trans:hover {
	background-color: #C7CE54;
  	color: #B06C20;
}


a.mainlevel_active-trans, a.mainlevel_active-trans:visited {
	background-color: #C7CE54;
  	border: 0px solid black;
	color: #B06C20;
	display: block;
	font-family: Tahoma, Helvetica, sans-serif;
	font-size: 12px;
	height: 21px;
	line-height: 21px;
	margin: 0px;
	padding: 0px 10px 0px 10px;
	text-decoration:none;
	text-transform: uppercase;
	white-space:nowrap;
	width:auto;
}

a.mainlevel_active-trans:hover {
	background-color: #C7CE54;
  	color: #B06C20;
}
/* End added */
merci beaucoup

Bruno
http://www.alsasys.com - Web Agency spécialisée dans les solutions libres pour les entreprises:

[X] Développement spécifique (Joomla / Oscommerce/ Magento)
[X] Conseil et formation
[X] Web design
[X] Référencement / e-marketing

Locked

Return to “1.0 - Questions générales”