PermaLink Simple Mouse Over Help for Domino Pages03/02/2006
Category : Show-n-Tell Thursday
Location : Columbus, Ohio, USA
Technorati tags: , ,

Ha, this week I made it on time, actually several hours early!!!

So have you ever wanted to have some useful help presented to the user when they mouse over a link??

Like this:

Yeah, well so did Paxton McVoy, one of our project leaders and developers on the Teamwork Solutions team. Since I was working on my and I needed I developed a neat little Javascript tool.

Sorry to those using RSS Readers., the Code Does not come through. You have to go to the original blog page to see it.


The tool is contained in a JavaScript library and a Cascaded Style Sheet file. Download them and add them to your page or form.

Then use this Computed Text formula to create you own mouseovers.

REM "Label and Content are required - HTML tags allowed in content.";
label := "Text to be placed on the page.";
Content := "Stuff you want to appear when the user mouses over the text that is placed on the page.";

REM "Specify Height and Width - otherwise box is sized to fit text.";
height := "0";
width := "0";
REM "Specify the classes used for the Popup (poClass) and mouseOver (moClass)";
poClass := "tsMouseOverHelp";
moClass := "tsMouseOverLink";

REM "NO CHANGES SHOULD BE MADE BELOW THIS LINE.";
REM " ****************************************************************** ";

"<script>tsMouseOverHelp(\"" + label + "\", escape(\"" + content + "\"), " +
height + "," + width + ",\"" + poClass + "\",\"" + moClass + "\"" +
")</script>"

The cool thing is that you can include any html in the mouseover content (including ) and it works.

I also included a set of alternate CSS classes that, show what can be done if you want to mess with the style.

There are probably thousands of similar tools out there, but hey, here is another.

Newbs
There are three kinds of men: The ones that learn by reading, the few who learn by observation, the rest who have to pee on the electric fence.

This page has been accessed 857 times. .
Comments :v

1. Sean03/08/2006 07:59:04 AM
Homepage: http://www.focul.net


Henry, is this browser only ? Cheers, Sean




2. Newbs03/08/2006 08:31:08 AM
Homepage: http://www.henrynewberry.com


Sean:

Yes it is browser only (works in IE and Firefox). There are ways to do this in the client but that involves messing with Rich Text. Get Midas from Ben to do it.

Newbs




3. Thomas Adrian04/26/2006 05:19:06 AM
Homepage: http://www.notessidan.se


Great script !
however I wanted to mouseover a picture instead of text but it does not work.




4. Newbs04/29/2006 07:10:40 PM
Homepage: http://www.newbsconsulting.com


It should work if you use an HTML Image tag as the LABEL.... Might take a tiny bit of tweaking to perfect it.... CHeck this out...




Post a comment ^


Email addresses provided are not made available on this site.





You can use UUB Code in your posts.

[b]bold[/b]  [i]italic[/i]  [u]underline[/u]  [s]strikethrough[/s]

URL's will be automatically converted to Links


:-x :cry: :laugh: :cool: :-( :huh: :rolleyes: :grin: :-p :angry: :-D ;-) :-) :-\ :lips: :emb: :-o
bold italic underline Strikethrough





Remember me    

Add Manual Trackback
Please enter the details of the trackback post. Your trackback will not appear on the site until it has been verified. This won't be immediate, as trackbacks are validated on a scheduled basis. Be patient.











Useful Links
Contact Me
Calendar
February 2012
Su
Mo
Tu
We
Th
Fr
Sa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Planet Lotus
By Category
The BlogRoll
Monthly Archive
Lotus Domino ND6 RSS News Feed RSS Comments Feed RSS Validator Blog Admin Lotus Geek Open Notes Picture Database OpenNTF CoComment Integrated BlogSphere
Powered by
Blogsphere