<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Prototype based JavaScript tooltip</title>
	<atom:link href="http://ajaxian.com/archives/prototype-based-javascript-tooltip/feed" rel="self" type="application/rss+xml" />
	<link>http://ajaxian.com/archives/prototype-based-javascript-tooltip</link>
	<description>Cleaning up the web with Ajax</description>
	<lastBuildDate>Sat, 20 Mar 2010 13:30:04 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Constantin Boiangiu</title>
		<link>http://ajaxian.com/archives/prototype-based-javascript-tooltip/comment-page-1#comment-250128</link>
		<dc:creator>Constantin Boiangiu</dc:creator>
		<pubDate>Fri, 04 May 2007 07:57:19 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1707#comment-250128</guid>
		<description>I like sweet titles too, but I will reiterate the previous comment:
It is broken and it clashes with every other script that relies on the title attribute. ESP. Any Lightbox style script. I was hoping for a solution that would let me use a â€œnice-tiltleâ€ script in conjunction with a lightbox script, but it seems non of them fit the bill. How about one with a â€œrelâ€ attribute so I can tell it where to be applied and have it leave everything else alone?

It&#039;s kind of late to answer this but there is an answer. You needed to use rel? change this:
current[j].removeAttribute(&#039;title&#039;);
to this
current[j].removeAttribute(&#039;rel&#039;);
in sweetTitles.js and you&#039;re done.</description>
		<content:encoded><![CDATA[<p>I like sweet titles too, but I will reiterate the previous comment:<br />
It is broken and it clashes with every other script that relies on the title attribute. ESP. Any Lightbox style script. I was hoping for a solution that would let me use a â€œnice-tiltleâ€ script in conjunction with a lightbox script, but it seems non of them fit the bill. How about one with a â€œrelâ€ attribute so I can tell it where to be applied and have it leave everything else alone?</p>
<p>It&#8217;s kind of late to answer this but there is an answer. You needed to use rel? change this:<br />
current[j].removeAttribute(&#8217;title&#8217;);<br />
to this<br />
current[j].removeAttribute(&#8217;rel&#8217;);<br />
in sweetTitles.js and you&#8217;re done.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gene Kelly</title>
		<link>http://ajaxian.com/archives/prototype-based-javascript-tooltip/comment-page-1#comment-247218</link>
		<dc:creator>Gene Kelly</dc:creator>
		<pubDate>Wed, 14 Feb 2007 19:31:27 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1707#comment-247218</guid>
		<description>I guess they do not post code here.</description>
		<content:encoded><![CDATA[<p>I guess they do not post code here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gene Kelly</title>
		<link>http://ajaxian.com/archives/prototype-based-javascript-tooltip/comment-page-1#comment-247217</link>
		<dc:creator>Gene Kelly</dc:creator>
		<pubDate>Wed, 14 Feb 2007 19:30:32 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1707#comment-247217</guid>
		<description>Like Your Work your post inspired me to drop this script and write the following:

Javascript Code:




I get displayed on hover

Rollover Me

Its just that damn easy why load up on a hefty file.  Style your hover div anyway you want.

Im a Cakephp fan.

Thanks,
Gene Kelly
Gkelly</description>
		<content:encoded><![CDATA[<p>Like Your Work your post inspired me to drop this script and write the following:</p>
<p>Javascript Code:</p>
<p>I get displayed on hover</p>
<p>Rollover Me</p>
<p>Its just that damn easy why load up on a hefty file.  Style your hover div anyway you want.</p>
<p>Im a Cakephp fan.</p>
<p>Thanks,<br />
Gene Kelly<br />
Gkelly</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sukesh</title>
		<link>http://ajaxian.com/archives/prototype-based-javascript-tooltip/comment-page-1#comment-246563</link>
		<dc:creator>sukesh</dc:creator>
		<pubDate>Fri, 26 Jan 2007 04:00:28 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1707#comment-246563</guid>
		<description>d</description>
		<content:encoded><![CDATA[<p>d</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tvorba webu</title>
		<link>http://ajaxian.com/archives/prototype-based-javascript-tooltip/comment-page-1#comment-245852</link>
		<dc:creator>Tvorba webu</dc:creator>
		<pubDate>Sun, 07 Jan 2007 09:08:22 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1707#comment-245852</guid>
		<description>Really, why is not an example of this seems-to-be great technique on this site?</description>
		<content:encoded><![CDATA[<p>Really, why is not an example of this seems-to-be great technique on this site?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JIRA: event manager</title>
		<link>http://ajaxian.com/archives/prototype-based-javascript-tooltip/comment-page-1#comment-179756</link>
		<dc:creator>JIRA: event manager</dc:creator>
		<pubDate>Sun, 12 Nov 2006 17:46:10 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1707#comment-179756</guid>
		<description>&lt;strong&gt;[EVTMGR-5] Add tooltip support for events in calendar view&lt;/strong&gt;

null Use Prototype base tooltip (http://ajaxian.com/archives/prototype-based-javascript-tooltip) to display events details in calendar view. </description>
		<content:encoded><![CDATA[<p><strong>[EVTMGR-5] Add tooltip support for events in calendar view</strong></p>
<p>null Use Prototype base tooltip (<a href="http://ajaxian.com/archives/prototype-based-javascript-tooltip" rel="nofollow">http://ajaxian.com/archives/prototype-based-javascript-tooltip</a>) to display events details in calendar view.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie</title>
		<link>http://ajaxian.com/archives/prototype-based-javascript-tooltip/comment-page-1#comment-158123</link>
		<dc:creator>Jamie</dc:creator>
		<pubDate>Wed, 01 Nov 2006 23:04:57 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1707#comment-158123</guid>
		<description>I like sweet titles too, but I will reiterate the previous comment:

It is broken and it clashes with every other script that relies on the title attribute. ESP. Any Lightbox style script. I was hoping for a solution that would let me use a &quot;nice-tiltle&quot; script in conjunction with a lightbox script, but it seems non of them fit the bill. How about one with a &quot;rel&quot; attribute so I can tell it where to be applied and have it leave everything else alone?</description>
		<content:encoded><![CDATA[<p>I like sweet titles too, but I will reiterate the previous comment:</p>
<p>It is broken and it clashes with every other script that relies on the title attribute. ESP. Any Lightbox style script. I was hoping for a solution that would let me use a &#8220;nice-tiltle&#8221; script in conjunction with a lightbox script, but it seems non of them fit the bill. How about one with a &#8220;rel&#8221; attribute so I can tell it where to be applied and have it leave everything else alone?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Links comentados via del.icio.us - 5 &#187; Japs</title>
		<link>http://ajaxian.com/archives/prototype-based-javascript-tooltip/comment-page-1#comment-154410</link>
		<dc:creator>Links comentados via del.icio.us - 5 &#187; Japs</dc:creator>
		<pubDate>Mon, 30 Oct 2006 18:03:38 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1707#comment-154410</guid>
		<description>[...] O primeiro link de hoje: Prototype based JavaScript tooltip que trata de um script para tooltip utilizando o prototype, vale a pena conferir. [...]</description>
		<content:encoded><![CDATA[<p>[...] O primeiro link de hoje: Prototype based JavaScript tooltip que trata de um script para tooltip utilizando o prototype, vale a pena conferir. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Courtney Ringer</title>
		<link>http://ajaxian.com/archives/prototype-based-javascript-tooltip/comment-page-1#comment-148932</link>
		<dc:creator>Courtney Ringer</dc:creator>
		<pubDate>Thu, 26 Oct 2006 20:06:52 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1707#comment-148932</guid>
		<description>I&#039;ve experienced performance issues with sweet titles. I like the fact that it&#039;s object oriented but it loops through all the title tags on whatever elements are defined and had caused my application to slow down. I also tried applying it to IMG tags and I got an error.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve experienced performance issues with sweet titles. I like the fact that it&#8217;s object oriented but it loops through all the title tags on whatever elements are defined and had caused my application to slow down. I also tried applying it to IMG tags and I got an error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stanislav Yakubenko</title>
		<link>http://ajaxian.com/archives/prototype-based-javascript-tooltip/comment-page-1#comment-145990</link>
		<dc:creator>Stanislav Yakubenko</dc:creator>
		<pubDate>Wed, 25 Oct 2006 04:38:42 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1707#comment-145990</guid>
		<description>Why there are not working examples on the site?</description>
		<content:encoded><![CDATA[<p>Why there are not working examples on the site?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Birbeck</title>
		<link>http://ajaxian.com/archives/prototype-based-javascript-tooltip/comment-page-1#comment-143410</link>
		<dc:creator>Mark Birbeck</dc:creator>
		<pubDate>Mon, 23 Oct 2006 10:19:39 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1707#comment-143410</guid>
		<description>But the point that is constantly missed in these discussions, is that you&#039;ve lost all the semantics by using primarily script-based solutions. Anyone can put together some script that takes one DIV and overlays it onto another, but what does this DIV mean? How would a voice system understand it, for example? Romain&#039;s solution gets much closer to the ideal, since he uses a class of &#039;help&#039; as the hook for the functionality.


You might be interested to look at &lt;a href=&quot;http://internet-apps.blogspot.com/2006/10/declarative-accessible-ajax-with-html.html&quot; rel=&quot;nofollow&quot;&gt;Declarative, Accessible Ajax with the HTML role attribute&lt;/a&gt; and &lt;a href=&quot;http://internet-apps.blogspot.com/2006/10/is-it-ajax-ajaxor-xforms.html&quot; rel=&quot;nofollow&quot;&gt;Is it AJAX, Ajax...or XForms?&lt;/a&gt; for more on using mark-up to define behaviour at the same time as preserving semantics.

Regards,

Mark

Mark Birbeck
CEO
formsPlayer.com</description>
		<content:encoded><![CDATA[<p>But the point that is constantly missed in these discussions, is that you&#8217;ve lost all the semantics by using primarily script-based solutions. Anyone can put together some script that takes one DIV and overlays it onto another, but what does this DIV mean? How would a voice system understand it, for example? Romain&#8217;s solution gets much closer to the ideal, since he uses a class of &#8216;help&#8217; as the hook for the functionality.</p>
<p>You might be interested to look at <a href="http://internet-apps.blogspot.com/2006/10/declarative-accessible-ajax-with-html.html" rel="nofollow">Declarative, Accessible Ajax with the HTML role attribute</a> and <a href="http://internet-apps.blogspot.com/2006/10/is-it-ajax-ajaxor-xforms.html" rel="nofollow">Is it AJAX, Ajax&#8230;or XForms?</a> for more on using mark-up to define behaviour at the same time as preserving semantics.</p>
<p>Regards,</p>
<p>Mark</p>
<p>Mark Birbeck<br />
CEO<br />
formsPlayer.com</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dustin Diaz</title>
		<link>http://ajaxian.com/archives/prototype-based-javascript-tooltip/comment-page-1#comment-140327</link>
		<dc:creator>Dustin Diaz</dc:creator>
		<pubDate>Sat, 21 Oct 2006 18:23:57 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1707#comment-140327</guid>
		<description>&lt;blockquote&gt;&quot;too complicated and bloated,
... So I decided to create my own library that is based on prototype.js&quot;&lt;/blockquote&gt;

Something is inherently wrong with that thought, especially with something like &lt;a href=&quot;http://www.dustindiaz.com/sweet-titles/&quot; rel=&quot;nofollow&quot;&gt;Sweet Titles&lt;/a&gt; that has no library dependencies and it&#039;s short and easy to set up. However as far as flexibility goes, I&#039;ve also set up a &lt;a href=&quot;http://thinkvitamin.com/misc/yui-demos/demo-11.html&quot; rel=&quot;nofollow&quot;&gt;YUI Version&lt;/a&gt; of sweet titles that allows you to have multiple instances of a tooltip (kind of like this Prototype version) but allows you to adjust the time, opacity, and delay :)

&lt;code&gt;var o = new YAHOO.widget.SweetTitles(
    elements,
    {
        time : 2,
        opacity : 0.8,
        delay : 0.5
    }
);  
o.init();&lt;/code&gt;

I will hand it to Jonathan, this eventually had to be done for Prototype. It&#039;s a necessary evil for every library.</description>
		<content:encoded><![CDATA[<blockquote><p>&#8220;too complicated and bloated,<br />
&#8230; So I decided to create my own library that is based on prototype.js&#8221;</p></blockquote>
<p>Something is inherently wrong with that thought, especially with something like <a href="http://www.dustindiaz.com/sweet-titles/" rel="nofollow">Sweet Titles</a> that has no library dependencies and it&#8217;s short and easy to set up. However as far as flexibility goes, I&#8217;ve also set up a <a href="http://thinkvitamin.com/misc/yui-demos/demo-11.html" rel="nofollow">YUI Version</a> of sweet titles that allows you to have multiple instances of a tooltip (kind of like this Prototype version) but allows you to adjust the time, opacity, and delay :)</p>
<p><code>var o = new YAHOO.widget.SweetTitles(<br />
    elements,<br />
    {<br />
        time : 2,<br />
        opacity : 0.8,<br />
        delay : 0.5<br />
    }<br />
);<br />
o.init();</code></p>
<p>I will hand it to Jonathan, this eventually had to be done for Prototype. It&#8217;s a necessary evil for every library.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prototype based JavaScript tooltip at There was Code; Then there was AJAX!</title>
		<link>http://ajaxian.com/archives/prototype-based-javascript-tooltip/comment-page-1#comment-140304</link>
		<dc:creator>Prototype based JavaScript tooltip at There was Code; Then there was AJAX!</dc:creator>
		<pubDate>Sat, 21 Oct 2006 17:53:33 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1707#comment-140304</guid>
		<description>[...] JavaScript Tooltip libraries number about as many as rounded CSS corner libraries. But we all know when you pull out the .js collection and start playing some interesting stuff can happen.read more&#160;&#124;&#160;digg story  Share and Enjoy:These icons link to social bookmarking sites where readers can share and discover new web pages. [...]</description>
		<content:encoded><![CDATA[<p>[...] JavaScript Tooltip libraries number about as many as rounded CSS corner libraries. But we all know when you pull out the .js collection and start playing some interesting stuff can happen.read more&nbsp;|&nbsp;digg story  Share and Enjoy:These icons link to social bookmarking sites where readers can share and discover new web pages. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ruby on Rails Blog</title>
		<link>http://ajaxian.com/archives/prototype-based-javascript-tooltip/comment-page-1#comment-139792</link>
		<dc:creator>Ruby on Rails Blog</dc:creator>
		<pubDate>Sat, 21 Oct 2006 10:54:34 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1707#comment-139792</guid>
		<description>It worked on IE7 for me without any major hiccups. You can even do some fancy form within a form magic with some css manipulation. Nice and easy to implement. Now for a good ruby on rails helper  renders a partial _help_page.rhtml inside the tooltip.</description>
		<content:encoded><![CDATA[<p>It worked on IE7 for me without any major hiccups. You can even do some fancy form within a form magic with some css manipulation. Nice and easy to implement. Now for a good ruby on rails helper  renders a partial _help_page.rhtml inside the tooltip.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bertrand Gorge</title>
		<link>http://ajaxian.com/archives/prototype-based-javascript-tooltip/comment-page-1#comment-139750</link>
		<dc:creator>Bertrand Gorge</dc:creator>
		<pubDate>Sat, 21 Oct 2006 10:26:26 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1707#comment-139750</guid>
		<description>&lt;a href=&quot;http://www.walterzorn.com/tooltip/&quot; rel=&quot;nofollow&quot;&gt;wz_tooltip&lt;/a&gt; works better imho. Been using it for years, and had no problem.

This new tooltip.js is looking fine but it just doesn&#039;t seem very relyable (did a 5 minutes test, got all sort of problems, trashed).</description>
		<content:encoded><![CDATA[<p><a href="http://www.walterzorn.com/tooltip/" rel="nofollow">wz_tooltip</a> works better imho. Been using it for years, and had no problem.</p>
<p>This new tooltip.js is looking fine but it just doesn&#8217;t seem very relyable (did a 5 minutes test, got all sort of problems, trashed).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: romain garÃ§on</title>
		<link>http://ajaxian.com/archives/prototype-based-javascript-tooltip/comment-page-1#comment-139726</link>
		<dc:creator>romain garÃ§on</dc:creator>
		<pubDate>Sat, 21 Oct 2006 10:16:44 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1707#comment-139726</guid>
		<description>oops a mistake...
&lt;code&gt;
a.help:hover span {
display:block!important;
display:inline-block;
&lt;/code&gt;
sorry.</description>
		<content:encoded><![CDATA[<p>oops a mistake&#8230;<br />
<code><br />
a.help:hover span {<br />
display:block!important;<br />
display:inline-block;<br />
</code><br />
sorry.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: romain garÃ§on</title>
		<link>http://ajaxian.com/archives/prototype-based-javascript-tooltip/comment-page-1#comment-139724</link>
		<dc:creator>romain garÃ§on</dc:creator>
		<pubDate>Sat, 21 Oct 2006 10:14:35 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1707#comment-139724</guid>
		<description>Without prototype is more safe... 
&lt;code&gt;
&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;[?] my tooltip&lt;/a&gt;

a.help {
position: relative;
text-decoration: none;
color: black;
border-bottom: 2px #eee dotted;
}
a.help span {
display: none;
}
a.help:hover {
background: none; /* IE hack */
z-index: 100;
}
a.help:hover span {
display: inline!important;
display:block;
max-width:200px;
position: absolute;
top: -1em;
left: -1em;
background: #ffffcc;
text-align: center;
color:#000;
padding:0 2px;
cursor:help; /* the cherry ;-) */
}

&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Without prototype is more safe&#8230;<br />
<code><br />
<a href="#" rel="nofollow">[?] my tooltip</a></p>
<p>a.help {<br />
position: relative;<br />
text-decoration: none;<br />
color: black;<br />
border-bottom: 2px #eee dotted;<br />
}<br />
a.help span {<br />
display: none;<br />
}<br />
a.help:hover {<br />
background: none; /* IE hack */<br />
z-index: 100;<br />
}<br />
a.help:hover span {<br />
display: inline!important;<br />
display:block;<br />
max-width:200px;<br />
position: absolute;<br />
top: -1em;<br />
left: -1em;<br />
background: #ffffcc;<br />
text-align: center;<br />
color:#000;<br />
padding:0 2px;<br />
cursor:help; /* the cherry ;-) */<br />
}</p>
<p></code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ajaxianfading</title>
		<link>http://ajaxian.com/archives/prototype-based-javascript-tooltip/comment-page-1#comment-139299</link>
		<dc:creator>ajaxianfading</dc:creator>
		<pubDate>Sat, 21 Oct 2006 03:37:41 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1707#comment-139299</guid>
		<description>Here, here, My Mind Is Blown!
Why can&#039;t anyone else see this! Why use prototype for this!!!???
Answers on a postcard please.</description>
		<content:encoded><![CDATA[<p>Here, here, My Mind Is Blown!<br />
Why can&#8217;t anyone else see this! Why use prototype for this!!!???<br />
Answers on a postcard please.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Messier</title>
		<link>http://ajaxian.com/archives/prototype-based-javascript-tooltip/comment-page-1#comment-139274</link>
		<dc:creator>Thomas Messier</dc:creator>
		<pubDate>Sat, 21 Oct 2006 03:09:20 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1707#comment-139274</guid>
		<description>I use a slightly modified version of Dustin Diaz&#039;s &lt;a href=&quot;http://www.dustindiaz.com/download/&quot; rel=&quot;nofollow&quot;&gt;Sweet Titles&lt;/a&gt;. I prefer not having to use script tags after to execute stuff.</description>
		<content:encoded><![CDATA[<p>I use a slightly modified version of Dustin Diaz&#8217;s <a href="http://www.dustindiaz.com/download/" rel="nofollow">Sweet Titles</a>. I prefer not having to use script tags after to execute stuff.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: My Mind is Blown</title>
		<link>http://ajaxian.com/archives/prototype-based-javascript-tooltip/comment-page-1#comment-139131</link>
		<dc:creator>My Mind is Blown</dc:creator>
		<pubDate>Sat, 21 Oct 2006 01:02:11 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1707#comment-139131</guid>
		<description>I don&#039;t understand how such a simple tooltip needs anything more than five lines of javascript.  Seriously, people, learn how to code and stop relying on bloated libraries like this.  You have a hidden div, you position that div to your cursor, you display that div.  If you want to display dynamic content, use the prototype.lite library.  I could understand if it was a particularly beautiful tooltip, but I can&#039;t stand watching people build bridges to cross puddles.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t understand how such a simple tooltip needs anything more than five lines of javascript.  Seriously, people, learn how to code and stop relying on bloated libraries like this.  You have a hidden div, you position that div to your cursor, you display that div.  If you want to display dynamic content, use the prototype.lite library.  I could understand if it was a particularly beautiful tooltip, but I can&#8217;t stand watching people build bridges to cross puddles.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
