Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 285 of 808  Not logged in ELOG logo
    icon2.gif   Re: Tooltips for MOptions - not working?, posted by Stefan Ritt on Mon Dec 22 08:52:20 2008 

 

Ben Shepherd wrote:

Hi,

One of my logbooks is a fault reporting system; it emails a group of people when a fault is reported. There is an MOption 'Technical Groups', and I want to have a tooltip for each checkbox which shows who is referred to by each group name. However, individual tooltips for each MOption attribute don't seem to work. I've looked at the HTML code, and there's no 'title' attribute for the checkboxes, so it's not a browser problem. I've attached my config file. Any idea what's going wrong?

ben

 

The syntax for tooltips is

Tooltip <attribute option> = <tooltip>

but you have

Tooltip "<attribute>" "<attribute option>" = <tooltip>

which is not correct, but would make more sense, since you could have an attribut option being valid for several attributes. So I changed elogd to accept both syntax in revision 2158. Please note that you should not put "quotes" around attribute values or options.

    icon2.gif   Re: Tooltips for MOptions - not working?, posted by Ben Shepherd on Tue Jan 6 15:11:53 2009 

Stefan Ritt wrote:

 

Ben Shepherd wrote:

Hi,

One of my logbooks is a fault reporting system; it emails a group of people when a fault is reported. There is an MOption 'Technical Groups', and I want to have a tooltip for each checkbox which shows who is referred to by each group name. However, individual tooltips for each MOption attribute don't seem to work. I've looked at the HTML code, and there's no 'title' attribute for the checkboxes, so it's not a browser problem. I've attached my config file. Any idea what's going wrong?

ben

 

The syntax for tooltips is

Tooltip <attribute option> = <tooltip>

but you have

Tooltip "<attribute>" "<attribute option>" = <tooltip>

which is not correct, but would make more sense, since you could have an attribut option being valid for several attributes. So I changed elogd to accept both syntax in revision 2158. Please note that you should not put "quotes" around attribute values or options.

 Thanks! I got rid of the quotes around everything, and it works now.

ben

    icon2.gif   Re: Tool Tips, posted by Stefan Ritt on Tue Nov 28 10:20:12 2006 

Grant Jeffcote wrote:
Hi Stefan,

Is there a way to add a 'Tool Tips' to individual 'Options' similar to that currently available for Attributes? I have several checkboxes under an attribute for predefined email groups and would like to see if I can make the recipient list viewable via a mouse hover using the 'Tool tip' feature.
If not possible can it be added to the wishlist?


Ok, I implemented this. It is in revision 1760 and will be contained in the next release.
    icon2.gif   Re: Tool Tips, posted by Grant Jeffcote on Tue Nov 28 10:25:08 2006 

Stefan Ritt wrote:

Grant Jeffcote wrote:
Hi Stefan,

Is there a way to add a 'Tool Tips' to individual 'Options' similar to that currently available for Attributes? I have several checkboxes under an attribute for predefined email groups and would like to see if I can make the recipient list viewable via a mouse hover using the 'Tool tip' feature.
If not possible can it be added to the wishlist?


Ok, I implemented this. It is in revision 1760 and will be contained in the next release.


That's really great, thank you so much.
What will the configuration line be?
    icon2.gif   Re: Tool Tips, posted by Stefan Ritt on Tue Nov 28 10:26:33 2006 

Grant Jeffcote wrote:
What will the configuration line be?


If you have
MOptions item = value_1, value_2

you can do a
Tooltip value_1 = text
    icon2.gif   Re: Tool Tips, posted by Grant Jeffcote on Tue Nov 28 22:12:13 2006 

Stefan Ritt wrote:

Grant Jeffcote wrote:
What will the configuration line be?


If you have
MOptions item = value_1, value_2

you can do a
Tooltip value_1 = text


Thanks Stefan,

When implemented there seems to be a finite number of characters that are visible under a tool tip, is this an OS defined limit or something that can be changed?
    icon2.gif   Re: Tool Tips, posted by Stefan Ritt on Wed Nov 29 13:42:14 2006 

Grant Jeffcote wrote:

Stefan Ritt wrote:

Grant Jeffcote wrote:
What will the configuration line be?


If you have
MOptions item = value_1, value_2

you can do a
Tooltip value_1 = text


Thanks Stefan,

When implemented there seems to be a finite number of characters that are visible under a tool tip, is this an OS defined limit or something that can be changed?


ELOG itself has a limit of 256 characters, but that can be changed easily. I found that Mozilla Firefox only showed 70 characters and then three dots ("..."), while Internet Explorer showed all 256 characters, wrapping words if necessary. So it strongly depends on the browser.
    icon2.gif   Re: Tool Tips, posted by Grant Jeffcote on Wed Nov 29 22:44:15 2006 

Stefan Ritt wrote:

Grant Jeffcote wrote:

Stefan Ritt wrote:

Grant Jeffcote wrote:
What will the configuration line be?


If you have
MOptions item = value_1, value_2

you can do a
Tooltip value_1 = text


Thanks Stefan,

When implemented there seems to be a finite number of characters that are visible under a tool tip, is this an OS defined limit or something that can be changed?


ELOG itself has a limit of 256 characters, but that can be changed easily. I found that Mozilla Firefox only showed 70 characters and then three dots ("..."), while Internet Explorer showed all 256 characters, wrapping words if necessary. So it strongly depends on the browser.



Thanks, we use Internet Explorer in service but I tested using Mozilla (hence above).
I'd really like to be able change the limit to more than 256 characters, is this simply a configuration parameter or a code change?
ELOG V3.1.5-3fb85fa6