<?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"
	>
<channel>
	<title>Comments on: HelpBalloon.js version 2.0</title>
	<atom:link href="http://www.beauscott.com/2008/03/02/helpballoonjs-version-20/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.beauscott.com/2008/03/02/helpballoonjs-version-20/</link>
	<description>AJAX, Flex and other RIA</description>
	<pubDate>Fri, 12 Mar 2010 05:23:30 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: Paul T.</title>
		<link>http://www.beauscott.com/2008/03/02/helpballoonjs-version-20/#comment-33343</link>
		<dc:creator>Paul T.</dc:creator>
		<pubDate>Sat, 23 May 2009 23:34:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.beauscott.com/2008/03/02/helpballoonjs-version-20/#comment-33343</guid>
		<description>Hi,

very nice script!
I've been playing around with it for a few days now, changing background, tweaking styles, using classes etc... to suit my needs

One thing I found interesting was to take into account page scrolling when choosing the 0, 1 2 or 3 position dynamically. Here's what I changed:

Original code:

		var pos = 1;
		if(this.options.fixedPosition == HelpBalloon.POS_DYNAMIC)
		{
			var offsetHeight = this.balloonCoords.y - this.balloonDimensions[1];
			if(offsetHeight &#60; 0)
				pos  = 2;
	
Modified code:

		var pos = 1;
		if(this.options.fixedPosition == HelpBalloon.POS_DYNAMIC)
		{
			var cso = document.body.cumulativeScrollOffset();
			var offsetHeight = this.balloonCoords.y - this.balloonDimensions[1] - cso[1];
			if(offsetHeight &#60; 0)
				pos  = 2;</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>very nice script!<br />
I&#8217;ve been playing around with it for a few days now, changing background, tweaking styles, using classes etc&#8230; to suit my needs</p>
<p>One thing I found interesting was to take into account page scrolling when choosing the 0, 1 2 or 3 position dynamically. Here&#8217;s what I changed:</p>
<p>Original code:</p>
<p>		var pos = 1;<br />
		if(this.options.fixedPosition == HelpBalloon.POS_DYNAMIC)<br />
		{<br />
			var offsetHeight = this.balloonCoords.y - this.balloonDimensions[1];<br />
			if(offsetHeight &lt; 0)<br />
				pos  = 2;</p>
<p>Modified code:</p>
<p>		var pos = 1;<br />
		if(this.options.fixedPosition == HelpBalloon.POS_DYNAMIC)<br />
		{<br />
			var cso = document.body.cumulativeScrollOffset();<br />
			var offsetHeight = this.balloonCoords.y - this.balloonDimensions[1] - cso[1];<br />
			if(offsetHeight &lt; 0)<br />
				pos  = 2;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anthony</title>
		<link>http://www.beauscott.com/2008/03/02/helpballoonjs-version-20/#comment-33198</link>
		<dc:creator>Anthony</dc:creator>
		<pubDate>Thu, 21 May 2009 21:09:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.beauscott.com/2008/03/02/helpballoonjs-version-20/#comment-33198</guid>
		<description>I found a "somewhat" hack to make it so the dimensions are configurable without requiring a custom image for each dimension:
=====================================================
1. Modify HelpButton.js to add "height" and "width" to the options
=====================================================
In the "prototype" method add the following (don't forget to add a comma after the autoHideTimeout option):
width:null,
height:null

NOTE: I added the parameters into two area of the file (around line 218 after _lastBaloon:null,  and around line 1152 after autoHideTimeout:0,)

=====================================================
2. Modify HelpButton.js to resize the imag
=====================================================
After:
var balloon = new Element('img', {
   src: this.options.balloonPrefix   i   this.options.balloonSuffix
});
Add:
if (this.options.width != null) {	
   balloon.width = this.options.width;
}
if (this.options.height != null) {	
   balloon.height = this.options.height;
}

3. You may also need to modify/set the contentMargin parameter to get the margins to work (I haven't had much time to play with this one, but hopefully this will help some of you) :-D</description>
		<content:encoded><![CDATA[<p>I found a &#8220;somewhat&#8221; hack to make it so the dimensions are configurable without requiring a custom image for each dimension:<br />
=====================================================<br />
1. Modify HelpButton.js to add &#8220;height&#8221; and &#8220;width&#8221; to the options<br />
=====================================================<br />
In the &#8220;prototype&#8221; method add the following (don&#8217;t forget to add a comma after the autoHideTimeout option):<br />
width:null,<br />
height:null</p>
<p>NOTE: I added the parameters into two area of the file (around line 218 after _lastBaloon:null,  and around line 1152 after autoHideTimeout:0,)</p>
<p>=====================================================<br />
2. Modify HelpButton.js to resize the imag<br />
=====================================================<br />
After:<br />
var balloon = new Element(&#8217;img&#8217;, {<br />
   src: this.options.balloonPrefix   i   this.options.balloonSuffix<br />
});<br />
Add:<br />
if (this.options.width != null) {<br />
   balloon.width = this.options.width;<br />
}<br />
if (this.options.height != null) {<br />
   balloon.height = this.options.height;<br />
}</p>
<p>3. You may also need to modify/set the contentMargin parameter to get the margins to work (I haven&#8217;t had much time to play with this one, but hopefully this will help some of you) <img src='http://www.beauscott.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Teo</title>
		<link>http://www.beauscott.com/2008/03/02/helpballoonjs-version-20/#comment-32576</link>
		<dc:creator>Teo</dc:creator>
		<pubDate>Mon, 11 May 2009 18:36:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.beauscott.com/2008/03/02/helpballoonjs-version-20/#comment-32576</guid>
		<description>Hi

Wonderful work i love it so much but i have a big problem i can not see the balloon icon on ie7. With ff and opera it's all perfect but on ie7 i have javascripts error and i can not see the "i" icon. The error is on line 1767 in prototype.js. Have somebody an idea? Thank you very much, sorry for my bad english</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>Wonderful work i love it so much but i have a big problem i can not see the balloon icon on ie7. With ff and opera it&#8217;s all perfect but on ie7 i have javascripts error and i can not see the &#8220;i&#8221; icon. The error is on line 1767 in prototype.js. Have somebody an idea? Thank you very much, sorry for my bad english</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tooltips Scripts: Scripts With AJAX, Javascripts, CSS &#38; Tutorials &#171; Online Free Applications Software Tips Tools Wallpapers</title>
		<link>http://www.beauscott.com/2008/03/02/helpballoonjs-version-20/#comment-31670</link>
		<dc:creator>Tooltips Scripts: Scripts With AJAX, Javascripts, CSS &#38; Tutorials &#171; Online Free Applications Software Tips Tools Wallpapers</dc:creator>
		<pubDate>Tue, 28 Apr 2009 18:07:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.beauscott.com/2008/03/02/helpballoonjs-version-20/#comment-31670</guid>
		<description>[...] HelpBalloon.js &#124; Demo [...]</description>
		<content:encoded><![CDATA[<p>[...] HelpBalloon.js | Demo [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tooltips Scripts: 50+ Scripts With AJAX, Javascripts, CSS &#38; Tutorials&#160;&#124;&#160;BeckMint</title>
		<link>http://www.beauscott.com/2008/03/02/helpballoonjs-version-20/#comment-31587</link>
		<dc:creator>Tooltips Scripts: 50+ Scripts With AJAX, Javascripts, CSS &#38; Tutorials&#160;&#124;&#160;BeckMint</dc:creator>
		<pubDate>Mon, 27 Apr 2009 01:33:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.beauscott.com/2008/03/02/helpballoonjs-version-20/#comment-31587</guid>
		<description>[...] HelpBalloon.js &#124; Demo [...]</description>
		<content:encoded><![CDATA[<p>[...] HelpBalloon.js | Demo [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maarten</title>
		<link>http://www.beauscott.com/2008/03/02/helpballoonjs-version-20/#comment-31144</link>
		<dc:creator>Maarten</dc:creator>
		<pubDate>Wed, 22 Apr 2009 12:02:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.beauscott.com/2008/03/02/helpballoonjs-version-20/#comment-31144</guid>
		<description>As some people asked about resizing the Balloons:

The dimensions are taken from balloon-3.png. So if you want to resize the tooltip, you only have to resize the pngs.</description>
		<content:encoded><![CDATA[<p>As some people asked about resizing the Balloons:</p>
<p>The dimensions are taken from balloon-3.png. So if you want to resize the tooltip, you only have to resize the pngs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kris</title>
		<link>http://www.beauscott.com/2008/03/02/helpballoonjs-version-20/#comment-29850</link>
		<dc:creator>Kris</dc:creator>
		<pubDate>Fri, 10 Apr 2009 21:13:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.beauscott.com/2008/03/02/helpballoonjs-version-20/#comment-29850</guid>
		<description>oh yea? How to close on mouse out?  Or how to close when using another image as the anchor?  In IE6, when I click on one of my comic books, I get a lot of js errors as it seems the balloon stays 'open'.</description>
		<content:encoded><![CDATA[<p>oh yea? How to close on mouse out?  Or how to close when using another image as the anchor?  In IE6, when I click on one of my comic books, I get a lot of js errors as it seems the balloon stays &#8216;open&#8217;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kris</title>
		<link>http://www.beauscott.com/2008/03/02/helpballoonjs-version-20/#comment-29849</link>
		<dc:creator>Kris</dc:creator>
		<pubDate>Fri, 10 Apr 2009 21:07:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.beauscott.com/2008/03/02/helpballoonjs-version-20/#comment-29849</guid>
		<description>Great tool!  You're an excellent coder.  I see you're working on the balloon dimensions.  Is there a way to include a newline in the content?  For my particular use on www.kurtscomics.com, I'd like the title of the comic book to stand out, and be separated from any other detail I might include about that comic book.  It would be cool if I could include the "Add to Cart" button within the balloon too!  I suppose if I used a dataURL -- haven't tried that yet.

Mainly I wanted to say thank you for the free use!!</description>
		<content:encoded><![CDATA[<p>Great tool!  You&#8217;re an excellent coder.  I see you&#8217;re working on the balloon dimensions.  Is there a way to include a newline in the content?  For my particular use on <a href="http://www.kurtscomics.com" rel="nofollow">http://www.kurtscomics.com</a>, I&#8217;d like the title of the comic book to stand out, and be separated from any other detail I might include about that comic book.  It would be cool if I could include the &#8220;Add to Cart&#8221; button within the balloon too!  I suppose if I used a dataURL &#8212; haven&#8217;t tried that yet.</p>
<p>Mainly I wanted to say thank you for the free use!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: francesco</title>
		<link>http://www.beauscott.com/2008/03/02/helpballoonjs-version-20/#comment-29473</link>
		<dc:creator>francesco</dc:creator>
		<pubDate>Tue, 07 Apr 2009 07:16:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.beauscott.com/2008/03/02/helpballoonjs-version-20/#comment-29473</guid>
		<description>If i put a link in the 'content' it works but the document can't be validated as strict xhtml... any clue? 

the validator says
document type does not allow element "a" here</description>
		<content:encoded><![CDATA[<p>If i put a link in the &#8216;content&#8217; it works but the document can&#8217;t be validated as strict xhtml&#8230; any clue? </p>
<p>the validator says<br />
document type does not allow element &#8220;a&#8221; here</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: http://www.scriptremix.com/</title>
		<link>http://www.beauscott.com/2008/03/02/helpballoonjs-version-20/#comment-28936</link>
		<dc:creator>http://www.scriptremix.com/</dc:creator>
		<pubDate>Mon, 30 Mar 2009 11:04:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.beauscott.com/2008/03/02/helpballoonjs-version-20/#comment-28936</guid>
		<description>&lt;strong&gt;HelpBalloon.js version 2.0...&lt;/strong&gt;

I’ve completed my updating of my aging AJAX help balloons / tool tips / dialog balloons / whatever you want to call them....</description>
		<content:encoded><![CDATA[<p><strong>HelpBalloon.js version 2.0&#8230;</strong></p>
<p>I’ve completed my updating of my aging AJAX help balloons / tool tips / dialog balloons / whatever you want to call them&#8230;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
