[TYPO3] Auto <div> under tmenu_layers
Rocky
rockyo at max-source.com
Tue Jan 24 08:52:16 CET 2006
What if I want to use css style to control the presence of the 2nd level
menu items. I know I can globly set a tag property to achieve it but if
i do so, I need to define the a tag property for the specific area each
time I use the link.
For example I set the following css:
#############css start############
/*set a tag property globly*/
a{
color:#fff;
text-decoration:none:
}
a:hover{
text-decoration: underline;
}
/*a tag for content area*/
a{
color:#000;
}
/*a tag for other area*/
...
########################CSS ENDS#################3
Søren Vedel wrote:
> Hi Rasmus,
>
> You have to change/remove it in media/scripts/tmenu_layers.php on line 242
>
> ...
> $item = '<div
> id="anchorID'.t3lib_div::shortmd5($this->I['uid'].'-'.$this->WMid).'"
> style="position:absolute;visibility:hidden;"></div><div
> id="itemID'.t3lib_div::shortmd5($this->I['uid'].'-'.$this->WMid).'"
> style="width:100%; height:100%;">'.$item.'</div>';
> ...
>
> Best wishes
> Søren Vedel
>
>
>
> Rasmus Jæger wrote:
>> Hi
>>
>>
>>
>> I need to use the tmenu_layers, and basically it alright.
>>
>> The tmenu_layers auto generates 2 <div> tags and the second of them
>> holds this attributes (style="width:100%; height:100%;"). Each menu
>> item is shown in a separate line because of the "width:100%". I like
>> to know where I have to changes to avoid this.
>>
More information about the TYPO3-english
mailing list