- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2015 01:45 PM
Has anyone been successful in getting hover over text for check boxes?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2015 08:08 AM
If anyone wants to know how to do this here it is:
Client Script:
function onLoad() {
//Type appropriate comment here, and begin script below
gel('ni.IO:SYS_ID').title="Test to show when mouse is on the variable";
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2015 02:43 PM
Sorry to be more specific - a catalog variable check box. I don't see this 'Hint' option there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2015 03:51 PM
Aha! I see there's a thread on this topic and some of the responses may be helpful for what you're trying to accomplish:
Can we show help text on hovering of catalog variables
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2015 07:45 AM
Hi Mike,
I did read this thread and posted on it actually. I tried what was suggested: a client script with gel("IDVariable").title="Test to show when mouse is on the variable"; but I couldn't get it to work. One thing I came across was some functionality that exists in ServiceNow but I don't know how you go about changing it. If you take a look at the image I've provided, if you hover over a check box there is a hover over text that pops up. Have you ever seen where this can be changed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2015 08:08 AM
If anyone wants to know how to do this here it is:
Client Script:
function onLoad() {
//Type appropriate comment here, and begin script below
gel('ni.IO:SYS_ID').title="Test to show when mouse is on the variable";
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2016 07:14 AM
Hello Lindsey,
In the code you mentioned, i see "ni.", then "IO:", followed by the sys_id for the checkbox you want to display the tooltip on. What is ni? I believe the IO would be input/output. Just wondering if you have more information on your solution and how it works
function onLoad() {
//Type appropriate comment here, and begin script below
gel('ni.IO:SYS_ID').title="Test to show when mouse is on the variable";
}
The reason I ask about this is, I created a Catalog Client Script to perform this action on my checkbox variable. However, the tooltip is not displaying.
Thank you,
Kevin Eldridge