Hi, I have an accordion widget set up on my site. http://www.emjmarketing.com
I set up the CFLAA Tab to be a link to my CFLAA page. Here is the code:
<div class="AccordionPanel">
<a href="cflaa.php" onclick="window.location=this.href;return false;">
<div class="AccordionPanelTab">CFLAA</div>
</a>
<div class="AccordionPanelTab">Emcee</div>
Remainder of code.....
</div>
Now this all works fine. When I click on CFLAA it takes me to the page just fine, but when I hover over CFLAA the hover effect for AccodionPanelTab does not work. I have been looking around and trying different things but I can't seem to get it to work.
Any help would be appreciated.
Thanks in advance
Winrol
Change
<a href="cflaa.php" onclick="window.location=this.href;return false;">
<div class="AccordionPanelTab">CFLAA</div>
</a>
to
<div class="AccordionPanelTab"><a href="cflaa.php" onclick="window.location=this.href; return false;">CFLAA</a></div>
and apply a style rule that overrides the site wide anchor element ('a') rule as in
.AccordionPanelOpen .AccordionPanelTabHover a {
color: red;
}
Gramps
North America
Europe, Middle East and Africa
Asia Pacific