The moose likes HTML, CSS and JavaScript and the fly likes alert message over text Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "alert message over text" Watch "alert message over text" New topic
Author

alert message over text

sunita shaw
Ranch Hand

Joined: Apr 06, 2003
Posts: 45
can anyone tell me how to get an alert message over a text not pictures or images .dont suggest me for alt="msg" coz this works for only images .
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15003
alt is for images, title is for everything else
Eric
sunita shaw
Ranch Hand

Joined: Apr 06, 2003
Posts: 45
eric thanx but this wont work coz title works for link messages ...for simple text like:
<td class='design_table_compulsory_leave' width=20 align=center valign=bottom ><font class='TaskDataFONT' style='font-weight:bold;' >CPL  </font></td>"
what do i use.i wont that when the mouse points at CPL then its full form should be displayed
lemme know soon
Rajeshwari Natarajan
Ranch Hand

Joined: Mar 05, 2003
Posts: 67
What Eric suggested is perfectly right..
u use the title attribute to provide the mouse over text.
Use the title attribute in the preceding tag, like this..


regards<br />Rajeshwari. N
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15003
<font class='TaskDataFONT' style='font-weight:bold;' title="The Text Here?">CPL </font>
Is that what you are after?
sunita shaw
Ranch Hand

Joined: Apr 06, 2003
Posts: 45
hello rajeshwari!
thanx but when i do it the way u've adviced me i get the following error:
org.apache.jasper.JasperException: Unable to compile C:\sunita\project\jakarta-tomcat-3.3.1\work\DEFAULT\examples\jsp\_final\display_emp_alldate_24.java:322: ')' expected.
out.println("SUL ");
^
1 error
sunitha reghu
Ranch Hand

Joined: Dec 12, 2002
Posts: 937
<td class='design_table_compulsory_leave' width=20 align=center valign=bottom><font class='TaskDataFONT' style='font-weight:bold;' title = "learnm more about CPL">CPL </font></td>
SHOULE BE LIKE THIS
<td class='design_table_compulsory_leave' width=20 align=center valign=bottom TITLE ="WATEVER"><font class='TaskDataFONT' style='font-weight:bold;' title = "learnm more about CPL">CPL </font></td>
EITHER <FONT> OR CLASS NOT <FONT CLASS> RT NOW TITLE INSIDE THIS INCORRECT TAG <FONT CLASS>
 
IntelliJ Java IDE
 
subject: alert message over text
 
Threads others viewed
Need Advise on New Project
Javascript Variable scope
Displaying javascript alerts by reading from ApplicationResources
Javascript statement does not get executed
System.out.println equivalent?
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture