text a:active not working in Animated Collapsible DIV
1) Script Title: Animated Collapsible DIV
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...edcollapse.htm
3) Describe problem: I having a problem with setting a:active link references to my toggle buttons / links.
<a href="#" rel="toggle[cat]" data-openimage="images/downarrow.png" data-closedimage="images/uparrow.png"><img src="images/uparrow.png" border="0" /> print</a>
My images are fine it's my text links that aren't working in ff and safari.
Here is my css
a:link { color:#fff; text-decoration:none; }
a:visited { color:#fff; text-decoration:none; }
a:hover { color:#739DD2; text-decoration:none; }
a:active, a:focus { color: #739DD2; text-decoration:none; }
So this may not be a 'scripting problem' but I need to know if there is a fix.
What it should do is when it's 'enabled' - opened the text should be light blue in color. When it's collapsed it should be white. I can't get it to stay light blue when it expands. As soon as my link loose focus it changes back to white. The image is perfect it stays the down image until you collapse the div...now I need to know how I can get the text link to stay until you collapse the div.
Maybe I'm doing it the wrong way. :rolleyes: Can somebody shed some light?