
November 23rd, 2002, 04:41 PM
|
|
I need more of everything
|
|
Join Date: May 2002
Location: variable
Posts: 182
Time spent in forums: < 1 sec
Reputation Power: 12
|
|
|
css opacity rollovers
Hello everyone,
I am having a bit of a problem creating css opacity rollovers. I have the rollover working, but the href inside the table cell will not work. Here is my code:
Head Section:
<SCRIPT>
<!--
function fadeOut(obj) {
obj.style.filter="blendTrans(duration=1)";
// Make sure filter is not playing.
if ((obj.visibility != "hidden")) {
obj.filters.blendTrans.Apply();
obj.style.visibility="hidden";
obj.filters.blendTrans.Play();
}
}
function fadeIn(obj) {
obj.style.filter="blendTrans(duration=1)";
// Make sure filter is not playing.
if ((obj.visibility != "visible")) {
obj.filters.blendTrans.Apply();
obj.style.visibility="visible";
obj.filters.blendTrans.Play();
}
}
-->
</SCRIPT>
Body Section:
<td ID="modern" onMouseOver="fadeOut(modern)" onMouseOut="fadeIn(modern)" bgcolor="#0099FF">
<a href="modern/modern.html">Modern</a></td>
Again the rollover works well and changes opacity as it should, but the href doesnt work. Any advice is greatly appreciated...
__________________
Windows?
|