Log in

View Full Version : Hide url in status bar/mouse over



SKYLINE
04-26-2011, 11:55 AM
Using Access I have a control that sends out an email with an imbedded link (to another .mdb) which works fine:

Alink = "<a href=""file:///\\SRVR-FILE-ABC\Abc-vol1\Pntmd\Comments" & !Component & ".mdb"">click here</a>"

What I would like to do is prevent the url from displaying in the status bar or when the recipient mouses over the link, so I found some code and tried this:

Alink = "<a href=""file:///\\SRVR-FILE-ABC\Abc-vol1\Pntmd\Comments" & !Component & ".mdb"" onMouseOver=””window.status=’any msg’; return true;”” onMouseOut=””window.status=””; “”>click here</a>"

but the email displays the link as a literal string.

I'm thinking it's a syntax problem with the quotes but no other manipulations I've tried works. Perhaps the code is just incorrect?

Any thoughts greatly appreciated. Thanks.

macropod
04-27-2011, 02:36 AM
If I read http://www.goldcoastwebdesigns.com/14.shtml correctly, the correct encoding would be:
Alink = "<a href=""file:///\\SRVR-FILE-ABC\Abc-vol1\Pntmd\Comments" & !Component & ".mdb"" onMouseOver="window.status='any msg'; return true;" onMouseOut="window.status=''; return true;">Click Here</a>