|
|
Forum moderator: bigblog |
uCoz Community For Webmasters Custom Solutions Informer Menu Link not change when active |
Informer Menu Link not change when active |
Hello, I have a problem which I can't resolve since a long time. If you create an Informer Menu like, it will display with this HTML code:
Code <a href="$CATEGORY_URL$" class="catName">$CATEGORY_NAME$</a> <span class="catNumData">[$NUM_DATA$]</span><?if($CATEGORY_DESCR$)?><div class="catDescr">$CATEGORY_DESCR$</div><?endif?> So, it is in the catName part of CSS, the problem is, when I click one element of the menu, there is no change on the title of that element when the page loads. This is the CSS code: Code .catsTd {padding: 0 00 2px 13px; background: url('/Template/General/Menus/menu_icono.png') no-repeat 4px 4px;} .catName {font-family:Tahoma,Arial,Sans-Serif;font-size:11px;} .catNameActive {font-family:Tahoma,Arial,Sans-Serif;font-size:11px;} .catNumData {font-size:7pt;color:#717171;} .catDescr {font-size:7pt;} a.catName:link {text-decoration:none;font-weight:bold; color:#515151;} a.catName:visited {text-decoration:none;font-weight:bold; color:#515151;} a.catName:hover {text-decoration:none;font-weight:bold; color:#185420;} a.catName:active {text-decoration:none;font-weight:bold; color:#008200;} a.catNameActive:link {text-decoration:none;font-weight:bold; color:#185420;} a.catNameActive:visited {text-decoration:none;font-weight:bold; color:#185420;} a.catNameActive:hover {text-decoration:none;font-weight:bold; color:#185420;} a.catNameActive:active {text-decoration:none;font-weight:bold; color:#008200;} When you are in a page of the menu, that menu element must chenge from a.catName to a.catNameActive, to display different from other elements of the menu, but it doesn't. %CATEGORIES% works OK but an informer of a menu showing the categories does not... Thanks Sorry for my English. Post edited by Dwarf0416 - Wednesday, 2014-10-08, 4:23 PM
|
I use this:
Code <?if($URI_ID$="sfMain")?> <style> .pR {border-bottom: 3px solid #F00;color: #F00 !important;} </style> <?endif?> You cand read about the uCoz Conditional Operators here http://forum.ucoz.com/forum/37-471 Post edited by Mar1aN - Wednesday, 2014-10-08, 11:33 PM
|
Dwarf0416, sorry for late reply. Try to use the specified code after the informer code:
Code $MYINF_XY$ <?if($URI_ID$="sfMain")?> <style> .pR {border-bottom: 3px solid #F00;color: #F00 !important;} </style> <?endif?> This should work. hey i'm joe and i do not work for the company anymore, please contact other staff or tech support
icon by ch-chau sometimes i lurk here |
| |||
| |||