A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Engineering
»
HTML, CSS and JavaScript
Author
problem with mouse over "alt"
Frank Jacobsen
Ranch Hand
Joined: May 17, 2002
Posts: 335
posted
Aug 02, 2004 04:32:00
0
I have this code:
<td class="clsHeaderCellA" valign="bottom" width="65"> <a href='<%=PortletHelper.createCustomActionURI("sorterHandler","sortBy","histSortDato")%>' class="clsTxtNormalA"alt="Sortering">Dato <% if (sortrules != null && sortrules.isHistSortDatoAsc()) { %> <img src="<wps:urlFindInTheme file="images/arrow-up.gif"/>" border="0" alt="Sortering"> <% } else if (sortrules != null && sortrules.isHistSortDatoDec()) { %> <img src="<wps:urlFindInTheme file="images/arrow-down.gif"/>" border="0" alt="Sortering"> <% } else {%> <img src="<wps:urlFindInTheme file="images/arrow-right.gif"/>" border="0" alt="Sortering"> <% } %> </a> </td>
I have mouse over on the gif�s, but i have not mouse over on the tekst Dato, why, and how do i solve the problem ???
Frank
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
6
posted
Aug 02, 2004 05:43:00
0
links and other elements do not use alt. Only images do. For links, you need to use
title
Eric
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: problem with mouse over "alt"
Similar Threads
Name to a function !
Problem border / gif ????
cursor place i text field ????
Need help with customization problem...
Need help with a JSP problem i just ran into involving loops...
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter