Article View: pl.comp.lang.javascript
Article #50662Re: szukam najprostrzego/lekkiego tooltip
From: Peter May
Date: Wed, 23 Mar 2011 23:37
Date: Wed, 23 Mar 2011 23:37
20 lines
1624 bytes
1624 bytes
W dniu 23-03-2011 23:31, zlotowinfo pisze:
> znalazłem, chyba już prościej się nie da ;p
>
> <STYLE TYPE="text/css" MEDIA=screen>
> a:hover {background:#ffffff; text-decoration:none;} /*BG color is a must
> for IE6*/
> a.tooltip span {display:none; padding:2px 3px; margin-left:8px;
> width:130px;}
> a.tooltip:hover span{display:inline; position:absolute;
> background:#ffffff; border:1px solid #cccccc; color:#6c6c6c;}
> </STYLE>
>
> Easy <a class='tooltip' href='#'>Tooltip<span>This is the crazy little
> Easy Tooltip Text.</span></a>.
Beznadziejne. Zwłaszcza w kontekście tego, do czego jest atrybut title:
http://www.w3.org/TR/html4/struct/global.html#adef-title
--
Peter
Technical Details
Message-ID:
<ime08c$5aj$1@news.onet.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!.POSTED!not-for-mailReferences:
<imd96p$cku$1@inews.gazeta.pl> <imdsbh$t12$1@inews.gazeta.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!.POSTED!not-for-mail From: Peter May <peter.may@onet.pl> Newsgroups: pl.comp.lang.javascript Subject: Re: szukam najprostrzego/lekkiego tooltip Date: Thu, 24 Mar 2011 00:37:38 +0100 Organization: http://onet.pl Lines: 20 Message-ID: <ime08c$5aj$1@news.onet.pl> References: <imd96p$cku$1@inews.gazeta.pl> <imdsbh$t12$1@inews.gazeta.pl> NNTP-Posting-Host: 178.180.10.53.nat.umts.dynamic.eranet.pl Mime-Version: 1.0 X-Trace: news.onet.pl 1300923469 5459 178.180.10.53 (23 Mar 2011 23:37:49 GMT) X-Complaints-To: niusy@onet.pl NNTP-Posting-Date: Wed, 23 Mar 2011 23:37:49 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; pl; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9 In-Reply-To: <imdsbh$t12$1@inews.gazeta.pl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit