<?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: MooTools 1.2 Tooltips: Customize Your&#160;Tips</title> <atom:link href="http://davidwalsh.name/mootools-12-tooltips-customize/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/mootools-12-tooltips-customize</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Thu, 02 Sep 2010 19:57:16 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.1</generator> <item><title>By: jay</title><link>http://davidwalsh.name/mootools-12-tooltips-customize/comment-page-3#comment-19382</link> <dc:creator>jay</dc:creator> <pubDate>Mon, 16 Aug 2010 17:17:16 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=296#comment-19382</guid> <description>I see this mentioned a few times but don&#039;t really seen answer here yet. When tips are part of content that&#039;s the result of Request.HTML (ajax) the tips don&#039;t work. DOM issue. I&#039;ve added var myTips = new Tips(&#039;.tooltip&#039;); onComplete of the Request.HTML - still doesn&#039;t properly handle the ajax generated tips. Anybody have a solution?</description> <content:encoded><![CDATA[<p>I see this mentioned a few times but don&#8217;t really seen answer here yet. When tips are part of content that&#8217;s the result of Request.HTML (ajax) the tips don&#8217;t work. DOM issue. I&#8217;ve added var myTips = new Tips(&#8216;.tooltip&#8217;); onComplete of the Request.HTML &#8211; still doesn&#8217;t properly handle the ajax generated tips. Anybody have a solution?</p> ]]></content:encoded> </item> <item><title>By: Nenad</title><link>http://davidwalsh.name/mootools-12-tooltips-customize/comment-page-3#comment-18382</link> <dc:creator>Nenad</dc:creator> <pubDate>Wed, 23 Jun 2010 14:53:23 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=296#comment-18382</guid> <description>Hi,is there way not to hide the tooltip when the mouse is over it, and to hide on mouse leave??Any ideas?</description> <content:encoded><![CDATA[<p>Hi,</p><p>is there way not to hide the tooltip when the mouse is over it, and to hide on mouse leave??</p><p>Any ideas?</p> ]]></content:encoded> </item> <item><title>By: JayR</title><link>http://davidwalsh.name/mootools-12-tooltips-customize/comment-page-3#comment-17122</link> <dc:creator>JayR</dc:creator> <pubDate>Fri, 16 Apr 2010 15:30:36 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=296#comment-17122</guid> <description>For some reason in IE7, when I add any options it fails. EG:This fails for me in IE7:
var toolTips = new Tips(&#039;.tooltip&#039;, { className: &#039;custom_tip&#039; });This works (functionally but looks terrible):
var toolTips = new Tips(&#039;.tooltip&#039;);Anybody got any ideas?</description> <content:encoded><![CDATA[<p>For some reason in IE7, when I add any options it fails. EG:</p><p>This fails for me in IE7:<br
/> var toolTips = new Tips(&#8216;.tooltip&#8217;, { className: &#8216;custom_tip&#8217; });</p><p>This works (functionally but looks terrible):<br
/> var toolTips = new Tips(&#8216;.tooltip&#8217;);</p><p>Anybody got any ideas?</p> ]]></content:encoded> </item> <item><title>By: pressage</title><link>http://davidwalsh.name/mootools-12-tooltips-customize/comment-page-3#comment-16561</link> <dc:creator>pressage</dc:creator> <pubDate>Fri, 19 Mar 2010 09:50:19 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=296#comment-16561</guid> <description>Just finished my website and the designer used Mootools. Is this any good?????http://www.pressagecreative.co.ukany comments (please be positive - it&#039;s been a massive undertaking) wouls be welcome.Thanks</description> <content:encoded><![CDATA[<p>Just finished my website and the designer used Mootools. Is this any good?????</p><p><a
href="http://www.pressagecreative.co.uk" rel="nofollow">http://www.pressagecreative.co.uk</a></p><p>any comments (please be positive &#8211; it&#8217;s been a massive undertaking) wouls be welcome.</p><p>Thanks</p> ]]></content:encoded> </item> <item><title>By: Scriptiz</title><link>http://davidwalsh.name/mootools-12-tooltips-customize/comment-page-3#comment-16298</link> <dc:creator>Scriptiz</dc:creator> <pubDate>Mon, 01 Mar 2010 17:58:59 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=296#comment-16298</guid> <description>Hello,I have some problems with my MooTools tips on my website on this page :
http://www.sub-info.net/index.php?mod=monstersJust bring your mouse on the small icons on the last column of the table and you won&#039;t see any tooltip except if the small icon is near the extrem right border, then you will see that the tip is under the main design.So I&#039;ve read that I have to increase the z-index but I&#039;ve given it some value (from 10 000 to the max integer value) and the tip is still under de main design...May somebody help me please? :)Thanks.</description> <content:encoded><![CDATA[<p>Hello,</p><p>I have some problems with my MooTools tips on my website on this page :<br
/> <a
href="http://www.sub-info.net/index.php?mod=monsters" rel="nofollow">http://www.sub-info.net/index.php?mod=monsters</a></p><p>Just bring your mouse on the small icons on the last column of the table and you won&#8217;t see any tooltip except if the small icon is near the extrem right border, then you will see that the tip is under the main design.</p><p>So I&#8217;ve read that I have to increase the z-index but I&#8217;ve given it some value (from 10 000 to the max integer value) and the tip is still under de main design&#8230;</p><p>May somebody help me please? :)</p><p>Thanks.</p> ]]></content:encoded> </item> <item><title>By: Spyro</title><link>http://davidwalsh.name/mootools-12-tooltips-customize/comment-page-2#comment-15064</link> <dc:creator>Spyro</dc:creator> <pubDate>Wed, 06 Jan 2010 09:31:44 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=296#comment-15064</guid> <description>Is it possible to get Tip text by Request (Ajax)?</description> <content:encoded><![CDATA[<p>Is it possible to get Tip text by Request (Ajax)?</p> ]]></content:encoded> </item> <item><title>By: Thomas</title><link>http://davidwalsh.name/mootools-12-tooltips-customize/comment-page-2#comment-13716</link> <dc:creator>Thomas</dc:creator> <pubDate>Wed, 18 Nov 2009 10:55:13 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=296#comment-13716</guid> <description>Just got a question about the whole offset thing. The link http://mootools.net/docs/core/Plugins/Tips doesn&#039;t work anymore you see so I can&#039;t check if the answers there.My tip has a pointer on the top, you know, to indicate where you rolled over. In my example it&#039;s a calendar - you get information about what happens on a date when you hover over it.The problem is that the calendar is on the right of the page, so if you view a day on the right of the month, the &quot;edge-of-the-page&quot; offset change kicks in.Can you tell me of a way to either:a) Turn this off so the tip can go outside of the pageb) Tell it to switch the class of the tooltip when the &quot;edge-of-the-page&quot; thing happens. This is so I can mirror the background image and make the pointer appear on the other side.Thanks and thanks for the great tutorial :-)</description> <content:encoded><![CDATA[<p>Just got a question about the whole offset thing. The link <a
href="http://mootools.net/docs/core/Plugins/Tips" rel="nofollow">http://mootools.net/docs/core/Plugins/Tips</a> doesn&#8217;t work anymore you see so I can&#8217;t check if the answers there.</p><p>My tip has a pointer on the top, you know, to indicate where you rolled over. In my example it&#8217;s a calendar &#8211; you get information about what happens on a date when you hover over it.</p><p>The problem is that the calendar is on the right of the page, so if you view a day on the right of the month, the &#8220;edge-of-the-page&#8221; offset change kicks in.</p><p>Can you tell me of a way to either:</p><p>a) Turn this off so the tip can go outside of the page</p><p>b) Tell it to switch the class of the tooltip when the &#8220;edge-of-the-page&#8221; thing happens. This is so I can mirror the background image and make the pointer appear on the other side.</p><p>Thanks and thanks for the great tutorial :-)</p> ]]></content:encoded> </item> <item><title>By: Jim</title><link>http://davidwalsh.name/mootools-12-tooltips-customize/comment-page-2#comment-13660</link> <dc:creator>Jim</dc:creator> <pubDate>Mon, 16 Nov 2009 11:08:48 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=296#comment-13660</guid> <description>Further to the subject &#039;customizing tooltips&#039;.This is a great tut on customizing the images within the existing generated HTML structure.Whats missing for me now however, is how we go about further customizing the contents. ie: How can I insert some span classes into the tip-text for more detailed tooltips?Can anyone help me out there?</description> <content:encoded><![CDATA[<p>Further to the subject &#8216;customizing tooltips&#8217;.</p><p>This is a great tut on customizing the images within the existing generated HTML structure.</p><p>Whats missing for me now however, is how we go about further customizing the contents. ie: How can I insert some span classes into the tip-text for more detailed tooltips?</p><p>Can anyone help me out there?</p> ]]></content:encoded> </item> <item><title>By: Jamin</title><link>http://davidwalsh.name/mootools-12-tooltips-customize/comment-page-2#comment-13654</link> <dc:creator>Jamin</dc:creator> <pubDate>Sun, 15 Nov 2009 21:08:29 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=296#comment-13654</guid> <description>Hey so if any of you were wanting to put images in the tips you can visit my site and take a look at my code herehttp://www.jaminproud.com/?page_id=11I had to tweak the tips class a little bit and basically make a few different css classes for each image I wanted. Hope it helps.</description> <content:encoded><![CDATA[<p>Hey so if any of you were wanting to put images in the tips you can visit my site and take a look at my code here</p><p><a
href="http://www.jaminproud.com/?page_id=11" rel="nofollow">http://www.jaminproud.com/?page_id=11</a></p><p>I had to tweak the tips class a little bit and basically make a few different css classes for each image I wanted. Hope it helps.</p> ]]></content:encoded> </item> <item><title>By: Michael</title><link>http://davidwalsh.name/mootools-12-tooltips-customize/comment-page-2#comment-13575</link> <dc:creator>Michael</dc:creator> <pubDate>Thu, 12 Nov 2009 19:28:00 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=296#comment-13575</guid> <description>Hello,It works great! One issue for me...
I have input text boxes and I want the tip to appear on the right.
So the offset will depend on the element.
I tried
$$(&#039;a.tooltip&#039;).each(function(element,index) {
var content = element.get(&#039;title&#039;).split(&#039;::&#039;);
element.store(&#039;tip:title&#039;, content[0]);
element.store(&#039;tip:text&#039;, content[1]);
element.store(&#039;tip:offsets&#039;, {x:element.width,y:0});
});
Wrong guess... In fact, I did not manage to store the offset.
What is the good way to do it?
Thanks guys, and girls
MIchael</description> <content:encoded><![CDATA[<p>Hello,</p><p>It works great! One issue for me&#8230;<br
/> I have input text boxes and I want the tip to appear on the right.<br
/> So the offset will depend on the element.<br
/> I tried<br
/> $$(&#8216;a.tooltip&#8217;).each(function(element,index) {<br
/> var content = element.get(&#8216;title&#8217;).split(&#8216;::&#8217;);<br
/> element.store(&#8216;tip:title&#8217;, content[0]);<br
/> element.store(&#8216;tip:text&#8217;, content[1]);<br
/> element.store(&#8216;tip:offsets&#8217;, {x:element.width,y:0});<br
/> });<br
/> Wrong guess&#8230; In fact, I did not manage to store the offset.<br
/> What is the good way to do it?<br
/> Thanks guys, and girls<br
/> MIchael</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 2/19 queries in 0.071 seconds using disk

Served from: davidwalsh.name @ 2010-09-03 00:16:47 -->