spacer

home / experts / dhtml / column24
Developer News
Microsoft Shows Off Silverlight 4, IE9 Plans
Metasploit Expands Vulnerability Test Framework
HyperCard Reborn?

Logo

Accessing the User-Defined System Colors, Part I
IE4Win32


 infobackground
The background color of popup tool tips is set with the Tool Tip option under Item:
Both browsers provide OS tool tips.

HTML-generated tool tips differ in the two browsers, however. Explorer correctly displays a tool tip that reflects the TITLE= attribute of any element. Navigator creates a tool tip to display the value of ALT= attributes for images only.

See our DHTML Diner article.

For Explorer, we do not have to create "fake" tool tips. We may use this value for other popups that we want colored like a tooltip.

There is a good use for both infobackground and infotext in Navigator for creating "fake" tool tips. More on that when we discuss retrieving system colors in Navigator.


 infotext
The text color of popup tool tips is set by first selecting the Tool Tip option under Item:, then specifying a color under Font:
Colors the text in popup tool tips. Not much more to say.
Always to be used with infobackground, for creating "fake" tool tips or tool tip-type elements.

That's that, then!

I know a lot of the preceding was not absolutely necessary, but it is the most complete reference we have seen, so there you have it, if only for reference purposes.

Now, let's look at a couple of examples of user-defined color use.



Produced by Peter Belesis and

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Rolling Out Your Own HTML Application Version Control · HTML 5: Client-side Storage · Working with Ajax Server Extensions
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Wi-Fi Product Watch, November 2009 · Chip Market Recovering From '08 Collapse · Low-Cost Tools to Kickstart Your New Business

All Rights Reserved. Legal Notices.
Created: Feb 23, 1999
Revised: Feb 23, 1999

URL: http://www.webreference.com/dhtml/column24/colsIEinfo.html