jquery hover
jquery hover
Out of context: Reply #11
- Started
- Last post
- 12 Responses
- bigtrickagain0
can't you use classes, though?
do this in your css:
a {
//whatever style
}
a.inactivePage {
text-decoration: line-through;
}
a.activePage {
text-decoration: none;
}a.inactivePage:hover, a.activePage:hover {
text-decoration: underline;
}no jquery needed. and, it won't do underline and strikethrough at the same time - text-decoration can only have one value at a time, so no worries there.