Text to appear when the mouse rolls over a hyperlink
I would like to have text from a database appear on the page or as a tool tip when the mouse is rolled over the hyperlink. The hyperlink is create through a database.
The page has a theme on it.
Web Development Software
Last Comment
hhammash
8/22/2022 - Mon
coreybryant
You can add title to you URL:
<a href="http://www.cnn.com" title="Click Here for CNN">CNN</a>
Corey
JOligario
the answer from corey is the easiest, trying to pull data from a database just because someone rolls over a hyperlink, would be next to impossible.
John
joligario@recoverdata.com
nai1634
If you are using VB script set the variables or use a Recordset and do the following.
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
This answer came closest to solving the problem, but the text appears in the status bar instead of as a title. This is the HTML
<a href="http://www.sidoti.com/testticker.asp?Ticker=<%=FP_FieldURL(fp_rs,"Ticker")%>title=<%=FP_FieldVal(fp_rs,"corporate description")%>">
how can I fix this?
Thanks for your help
hhammash
Hi,
Do not put the Title in the HyperLink Properties. No, click the page in HTML Mode and insert the Title Line.
It looks like your hyperlink is created using the hyperlink parameter.
In what section of the HTML should I place this code? I'm still having a difficult time getting this right. Thanks for your help!
hhammash
Hi,
Ok, if you are finding a difficulty in putting it manually here is another quick solution.
Open your DRW in normal mode
Right click the field that you want
Select hyperlink
Point to the page that you want (now the page name appears in the Addess field)
Click on Screen Tip button. It is on top above the Bookmark button.
In the textbox that appears put:
<%=FP_FieldHTML(fp_rs,"YourFieldName")%>
Then press OK
Then press OK
This will do it.
Regards
hhammash
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
ejunge
ASKER
hhammash,
Thank you for your help. The screen tips worked after I upgraded to FP XP.
EJ
<a href="http://www.cnn.com" title="Click Here for CNN">CNN</a>
Corey