wood burning stoves*
The moose likes HTML, CSS and JavaScript and the fly likes alert message over text Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
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: 15376
    
    6
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: 15376
    
    6
<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>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: alert message over text
 
Similar Threads
Javascript Variable scope
Displaying javascript alerts by reading from ApplicationResources
System.out.println equivalent?
Need Advise on New Project
Javascript statement does not get executed