How to mouseover that pops up a message

S

seep

Hi,

I have a webform with a button.
When the user moves their mouse over the button.. I would
like to initiate a mouseover event that shows a small
window with text.. The text will be populated from a
dataset...

Does anyone here know how to do this?
I have code that does the mouseover in javascript.. A
window even pops up.. but I am not sure how to send
dynamic text to this window...

I hope I am being clear enough..
Thanks

seep
 
R

Rajagopal Pasupuleti

in your java script function write variable values dynamically from asp

onMouseOver="showtip(this,event,'<font color=black> Ownership
ID:&nbsp;&lt;b&gt;<%=EnOwnid%>&lt;/b&gt;&lt;br&gt;&nbsp;Parent
Name:&nbsp;&lt;b&gt;<%=EnParName%>&lt;/b&gt;<!--
&lt;br&gt;&nbsp;Ownership Level:&nbsp;&lt;b&gt;<%=EnLevel%>&lt;/b&gt;
--> &lt;/font&gt;');" onMouseout="hidetip();"
 
S

Sinisa

seep,
You might also consider using the tooltip of the button. It might not be
exactly what you're looking for, but it is very simple to implement, and
atleast confirm that you like it or not.
~sinisa
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top