<?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: clueTip Plugin Beta</title>
	<atom:link href="http://www.learningjquery.com/2007/07/cluetip-plugin-beta/feed" rel="self" type="application/rss+xml" />
	<link>http://www.learningjquery.com/2007/07/cluetip-plugin-beta</link>
	<description>Tips, techniques, and tutorials for the jQuery JavaScript library</description>
	<lastBuildDate>Sat, 13 Mar 2010 15:20:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: gullbyrd</title>
		<link>http://www.learningjquery.com/2007/07/cluetip-plugin-beta/comment-page-1#comment-79430</link>
		<dc:creator>gullbyrd</dc:creator>
		<pubDate>Thu, 24 Dec 2009 05:32:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/2007/07/cluetip-plugin-beta#comment-79430</guid>
		<description>I got cluetip to work with thickbox when loading the cluetip from an external file, but it took a little hack. Here&#039;s the thing: apparently if you&#039;re loading an external file the file doesn&#039;t load normally, so you can&#039;t use document.ready() or anything similar to initialize the links. In fact, the cluetip doc acts like part of the underlying doc... you can call javascript functions on the original page from the cluetip doc, which seems odd.

Anyway, once the external file is loaded, you can initialize the links. But how can you tell that the file is loaded? My hack was to put an init call in the onmouseover event of the link I wanted to initialize. I actually called a function on the underlying page that in turn called &quot;tb_init(&#039;a.thickbox&#039;)&quot;. Even though the thickbox link was on the external page, rather than the page in which the call was made, it worked.</description>
		<content:encoded><![CDATA[<p>I got cluetip to work with thickbox when loading the cluetip from an external file, but it took a little hack. Here&#8217;s the thing: apparently if you&#8217;re loading an external file the file doesn&#8217;t load normally, so you can&#8217;t use document.ready() or anything similar to initialize the links. In fact, the cluetip doc acts like part of the underlying doc&#8230; you can call javascript functions on the original page from the cluetip doc, which seems odd.</p>
<p>Anyway, once the external file is loaded, you can initialize the links. But how can you tell that the file is loaded? My hack was to put an init call in the onmouseover event of the link I wanted to initialize. I actually called a function on the underlying page that in turn called &#8220;tb_init(&#8216;a.thickbox&#8217;)&#8221;. Even though the thickbox link was on the external page, rather than the page in which the call was made, it worked.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jarome</title>
		<link>http://www.learningjquery.com/2007/07/cluetip-plugin-beta/comment-page-1#comment-79165</link>
		<dc:creator>jarome</dc:creator>
		<pubDate>Mon, 16 Nov 2009 02:54:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/2007/07/cluetip-plugin-beta#comment-79165</guid>
		<description>hi,my aspx dynamic page using cluetip works in ie is ok,but in the firefox it notices &#039;sorry, the contents could not be loaded&#039;</description>
		<content:encoded><![CDATA[<p>hi,my aspx dynamic page using cluetip works in ie is ok,but in the firefox it notices &#8217;sorry, the contents could not be loaded&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Per</title>
		<link>http://www.learningjquery.com/2007/07/cluetip-plugin-beta/comment-page-1#comment-78858</link>
		<dc:creator>Per</dc:creator>
		<pubDate>Wed, 23 Sep 2009 09:15:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/2007/07/cluetip-plugin-beta#comment-78858</guid>
		<description>Actally I didn´t use the laitest, but this time I am. 
&lt;code&gt;
* jQuery clueTip plugin
* Version 1.0.5 (August 22, 2009)
&lt;/code&gt;
I still got the same problem, it cind of flips back from the correct one to the previous one as well.
Here is the code, so if you need to try it out. For me its very portant to get 100% accuracy.
&lt;code&gt;
 if ($(&#039;#i1&#039; + &quot;[src$=noinfo.gif]&quot;)) {
                                $(&#039;#i1&#039;).attr({ src: &quot;info.gif&quot; });
                                $(&#039;#i1&#039;).attr({ &#039;class&#039;: &quot;Enable&quot; });
                            }
                            $(&#039;[id^=a1]&#039;).attr({ id: &#039;a1-&#039; + x });
                            $(&#039;#a1-&#039; + x).attr({ dataType: &#039;aspx&#039;, rel: &#039;PopupInfo.aspx&#039; }).cluetip({ cluetipClass: &#039;rounded&#039;, dropShadow: false, sticky: true, ajaxCache: false, ajaxSettings: { dataType: &#039;aspx&#039;, data: &#039;n=&#039; + x }, onActivate: function(e) { if ($(&#039;#i1&#039;).attr(&quot;class&quot;) == &quot;Enable&quot;) { return true; } else { return false; } } });
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Actally I didn´t use the laitest, but this time I am.<br />
<code><br />
* jQuery clueTip plugin<br />
* Version 1.0.5 (August 22, 2009)<br />
</code><br />
I still got the same problem, it cind of flips back from the correct one to the previous one as well.<br />
Here is the code, so if you need to try it out. For me its very portant to get 100% accuracy.<br />
<code><br />
 if ($('#i1' + "[src$=noinfo.gif]")) {<br />
                                $('#i1').attr({ src: "info.gif" });<br />
                                $('#i1').attr({ 'class': "Enable" });<br />
                            }<br />
                            $('[id^=a1]').attr({ id: 'a1-' + x });<br />
                            $('#a1-' + x).attr({ dataType: 'aspx', rel: 'PopupInfo.aspx' }).cluetip({ cluetipClass: 'rounded', dropShadow: false, sticky: true, ajaxCache: false, ajaxSettings: { dataType: 'aspx', data: 'n=' + x }, onActivate: function(e) { if ($('#i1').attr("class") == "Enable") { return true; } else { return false; } } });<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karl Swedberg</title>
		<link>http://www.learningjquery.com/2007/07/cluetip-plugin-beta/comment-page-1#comment-78828</link>
		<dc:creator>Karl Swedberg</dc:creator>
		<pubDate>Mon, 21 Sep 2009 12:30:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/2007/07/cluetip-plugin-beta#comment-78828</guid>
		<description>Hi Per,
Not sure which version you&#039;re using, but grab the &lt;a href=&quot;http://github.com/kswedberg/jquery-cluetip/tree/master&quot; rel=&quot;nofollow&quot;&gt;one on GitHub&lt;/a&gt; and add &lt;code&gt;ajaxCache: false&lt;/code&gt; to the options object when you call &lt;code&gt;.cluetip()&lt;/code&gt;. That should help.</description>
		<content:encoded><![CDATA[<p>Hi Per,<br />
Not sure which version you&#8217;re using, but grab the <a href="http://github.com/kswedberg/jquery-cluetip/tree/master" rel="nofollow">one on GitHub</a> and add <code>ajaxCache: false</code> to the options object when you call <code>.cluetip()</code>. That should help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Per</title>
		<link>http://www.learningjquery.com/2007/07/cluetip-plugin-beta/comment-page-1#comment-78827</link>
		<dc:creator>Per</dc:creator>
		<pubDate>Mon, 21 Sep 2009 12:01:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/2007/07/cluetip-plugin-beta#comment-78827</guid>
		<description>I have tested many ways of passing variables true query string dynamically(update the same &quot;rel&quot; link several times), I still not get any stable solution that works 100%, I maby get it right 6 times if I&#039;m lucky but the 7th it will show the wrong data variable (the previous one). If there are no solution maby its possible you can you give me a tip on how I can re-verify that the x variable are the correct one before its actually being sent. I have also try changing the anchor points id along with the change of the variable but with the same negative result.

&lt;code&gt;
ajaxSettings: { dataType: &#039;aspx&#039;, data: &#039;n=&#039; + x }
&lt;/code&gt;

Any clue how I can solve this?</description>
		<content:encoded><![CDATA[<p>I have tested many ways of passing variables true query string dynamically(update the same &#8220;rel&#8221; link several times), I still not get any stable solution that works 100%, I maby get it right 6 times if I&#8217;m lucky but the 7th it will show the wrong data variable (the previous one). If there are no solution maby its possible you can you give me a tip on how I can re-verify that the x variable are the correct one before its actually being sent. I have also try changing the anchor points id along with the change of the variable but with the same negative result.</p>
<p><code><br />
ajaxSettings: { dataType: 'aspx', data: 'n=' + x }<br />
</code></p>
<p>Any clue how I can solve this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dom M</title>
		<link>http://www.learningjquery.com/2007/07/cluetip-plugin-beta/comment-page-1#comment-78144</link>
		<dc:creator>Dom M</dc:creator>
		<pubDate>Fri, 14 Aug 2009 17:30:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/2007/07/cluetip-plugin-beta#comment-78144</guid>
		<description>Hello,
Plugin works great every time I have used it except one - with the area tag in an image map. The cluetip shows up perfectly except that the smart positioning doesn&#039;t seem to work with areas close to the each of the page  i.e. instead of moving to the left of a hotspot on the right of the page the cluetip shows up partly or all off the right of the page (and therefore widens the page).

Code is:
&lt;pre&gt;&lt;code&gt;
$(document).ready(function() {
  $(&#039;area.pop&#039;).cluetip({
  	showTitle: false,
	cursor: &#039;pointer&#039;,
	width: 308,
	positionBy:	&#039;mouse&#039;
  });
});
&lt;/code&gt;&lt;/pre&gt;

Html is:
&lt;pre&gt;&lt;code&gt;area shape=&quot;circle&quot; coords=&quot;825,519,6&quot; href=&quot;#&quot; rel=&quot;previews/11.html&quot; class=&quot;pop&quot;&lt;/code&gt;&lt;/pre&gt;

I see someone else has had the same issue -

http://plugins.jquery.com/node/8013

Any thoughts?

Thanks.</description>
		<content:encoded><![CDATA[<p>Hello,<br />
Plugin works great every time I have used it except one &#8211; with the area tag in an image map. The cluetip shows up perfectly except that the smart positioning doesn&#8217;t seem to work with areas close to the each of the page  i.e. instead of moving to the left of a hotspot on the right of the page the cluetip shows up partly or all off the right of the page (and therefore widens the page).</p>
<p>Code is:</p>
<pre><code>
$(document).ready(function() {
  $('area.pop').cluetip({
  	showTitle: false,
	cursor: 'pointer',
	width: 308,
	positionBy:	'mouse'
  });
});
</code></pre>
<p>Html is:</p>
<pre><code>area shape="circle" coords="825,519,6" href="#" rel="previews/11.html" class="pop"</code></pre>
<p>I see someone else has had the same issue -</p>
<p><a href="http://plugins.jquery.com/node/8013" rel="nofollow">http://plugins.jquery.com/node/8013</a></p>
<p>Any thoughts?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve S</title>
		<link>http://www.learningjquery.com/2007/07/cluetip-plugin-beta/comment-page-1#comment-77905</link>
		<dc:creator>Steve S</dc:creator>
		<pubDate>Thu, 23 Jul 2009 04:01:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/2007/07/cluetip-plugin-beta#comment-77905</guid>
		<description>Hi there, I resolved these issues.  I believe there are some issues with the rounded rules in the stylesheets.  mostly, the way the padding is defined for the title element was causing issues.  Once I fixed that, everything fell into place.</description>
		<content:encoded><![CDATA[<p>Hi there, I resolved these issues.  I believe there are some issues with the rounded rules in the stylesheets.  mostly, the way the padding is defined for the title element was causing issues.  Once I fixed that, everything fell into place.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve S</title>
		<link>http://www.learningjquery.com/2007/07/cluetip-plugin-beta/comment-page-1#comment-77904</link>
		<dc:creator>Steve S</dc:creator>
		<pubDate>Thu, 23 Jul 2009 03:02:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/2007/07/cluetip-plugin-beta#comment-77904</guid>
		<description>Hi there,

I really like this plugin and it integrates really well into my site.  But I&#039;m having two issues, which I can&#039;t seem to resolve: 

1) The rounded style looks fine in Firefox, but not in IE7.  (I haven&#039;t tried IE8 yet).  The code title portion of the tip overlaps the content portion.

Here is how I create the tip:

&lt;code&gt;
	$j(&#039;img.tips&#039;).cluetip({cluetipClass: &#039;rounded&#039;, dropShadow: false, arrows: true, sticky: true, activation: &#039;click&#039;, closePosition: &#039;title&#039;, closeText: &#039;&#039;});

&lt;/code&gt;

2) If I use an image for the closeText, it seems like only a very small portion is clickable.  The rest of the image does not respond to the close click event.  The example on the page above outputs a different structure - the cluetip-close is a div element in v1.0.3 of cluetip, whereas in the demo above it&#039;s a span tag.

If you can offer any assistance I&#039;d greatly appreciate it.  My site is not yet open to the public, but if you would like to take a look please let me know and I can provide access.

Thanks,
Steve</description>
		<content:encoded><![CDATA[<p>Hi there,</p>
<p>I really like this plugin and it integrates really well into my site.  But I&#8217;m having two issues, which I can&#8217;t seem to resolve: </p>
<p>1) The rounded style looks fine in Firefox, but not in IE7.  (I haven&#8217;t tried IE8 yet).  The code title portion of the tip overlaps the content portion.</p>
<p>Here is how I create the tip:</p>
<p><code><br />
	$j('img.tips').cluetip({cluetipClass: 'rounded', dropShadow: false, arrows: true, sticky: true, activation: 'click', closePosition: 'title', closeText: ''});</p>
<p></code></p>
<p>2) If I use an image for the closeText, it seems like only a very small portion is clickable.  The rest of the image does not respond to the close click event.  The example on the page above outputs a different structure &#8211; the cluetip-close is a div element in v1.0.3 of cluetip, whereas in the demo above it&#8217;s a span tag.</p>
<p>If you can offer any assistance I&#8217;d greatly appreciate it.  My site is not yet open to the public, but if you would like to take a look please let me know and I can provide access.</p>
<p>Thanks,<br />
Steve</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian</title>
		<link>http://www.learningjquery.com/2007/07/cluetip-plugin-beta/comment-page-1#comment-77733</link>
		<dc:creator>Adrian</dc:creator>
		<pubDate>Sun, 28 Jun 2009 16:32:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/2007/07/cluetip-plugin-beta#comment-77733</guid>
		<description>p.p.s no idea how the whitespace made it into the pre tag, feel free to remove it.</description>
		<content:encoded><![CDATA[<p>p.p.s no idea how the whitespace made it into the pre tag, feel free to remove it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian</title>
		<link>http://www.learningjquery.com/2007/07/cluetip-plugin-beta/comment-page-1#comment-77732</link>
		<dc:creator>Adrian</dc:creator>
		<pubDate>Sun, 28 Jun 2009 16:29:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/2007/07/cluetip-plugin-beta#comment-77732</guid>
		<description>Hi Karl,

thanks for your help, sorry i couldn&#039;t get back to you earlier.

The demo you linked to somewhat works. Unfortunately it&#039;s learning by doing from me at the moment; i&#039;m a novice when it comes to working with the DOM in javascript.

The structure i have on my website is:
&lt;pre&gt;&lt;code&gt;&lt;table&gt;
  &lt;tr&gt;
    &lt;td&gt;
     (&lt;em&gt;&lt;div class=&quot;container&quot;&gt;&lt;/em&gt;)
     (&lt;em&gt;&lt;div&gt;&lt;/em&gt;)
      &lt;img title=&quot;icon&quot; /&gt;&lt;img title=&quot;icon2&quot; /&gt;
     (&lt;em&gt;&lt;/div&gt;&lt;/em&gt;)
     (&lt;em&gt;&lt;/div&gt;&lt;/em&gt;)
    &lt;td&gt;
  &lt;tr&gt;
&lt;/table&gt;
&lt;/code&gt;&lt;/pre&gt;The &lt;img&gt; tag(s) need to have very little margin/padding within the &lt;td&gt;by design; it&#039;s a large table that needs to be as compact as esthetically doable.

Working code from your demo, &lt;a&gt; replaced by &lt;img&gt;:
&lt;pre&gt;&lt;code&gt;$(&#039;.container&#039;).bind(&#039;mouseover&#039;, function(event) {
  $div = $(event.target).closest(&#039;&lt;strong&gt;img&lt;/strong&gt;&#039;);
  if (!$div.data(&#039;clueTipLoaded&#039;) &amp;&amp; !$div.is(&#039;.container&#039;)) {
    $div.find(&#039;&lt;strong&gt;img&lt;/strong&gt;&#039;).cluetip({local: false, attribute: &#039;rel&#039;});
    $div.data(&#039;clueTipLoaded&#039;, true);
  }
});
&lt;/code&gt;&lt;/pre&gt;
You said binding to table elements could be tricky. Does that mean replacing
&lt;code&gt;&lt;div class=&quot;container&quot;&gt;&lt;div&gt;&lt;img /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code&gt; with
&lt;code&gt;&lt;tr class=&quot;container&quot;&gt;&lt;td&gt;&lt;strong&gt;&lt;img /&gt;&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/code&gt; where &lt;strong&gt;&lt;img /&gt;&lt;/strong&gt; triggers &lt;strong&gt;cluetip&lt;/strong&gt; or &lt;code&gt;&lt;table class=&quot;container&quot;&gt;&lt;tr&gt;&lt;strong&gt;&lt;td&gt;&lt;/strong&gt;&lt;img /&gt;&lt;strong&gt;&lt;/td&gt;&lt;/strong&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/code&gt; where &lt;strong&gt;&lt;td&gt;&lt;/strong&gt; triggers &lt;strong&gt;cluetip&lt;/strong&gt; can&#039;t work?

p.s. i don&#039;t want to waste your time here, so i fully understand if you can&#039;t walk me through it.</description>
		<content:encoded><![CDATA[<p>Hi Karl,</p>
<p>thanks for your help, sorry i couldn&#8217;t get back to you earlier.</p>
<p>The demo you linked to somewhat works. Unfortunately it&#8217;s learning by doing from me at the moment; i&#8217;m a novice when it comes to working with the DOM in javascript.</p>
<p>The structure i have on my website is:</p>
<pre><code>&lt;table&gt;
  &lt;tr&gt;
    &lt;td&gt;
     (<em>&lt;div class="container"&gt;</em>)
     (<em>&lt;div&gt;</em>)
      &lt;img title="icon" /&gt;&lt;img title="icon2" /&gt;
     (<em>&lt;/div&gt;</em>)
     (<em>&lt;/div&gt;</em>)
    &lt;td&gt;
  &lt;tr&gt;
&lt;/table&gt;
</code></pre>
<p>The &lt;img&gt; tag(s) need to have very little margin/padding within the &lt;td&gt;by design; it&#8217;s a large table that needs to be as compact as esthetically doable.</p>
<p>Working code from your demo, &lt;a&gt; replaced by &lt;img&gt;:</p>
<pre><code>$('.container').bind('mouseover', function(event) {
  $div = $(event.target).closest('<strong>img</strong>');
  if (!$div.data('clueTipLoaded') &amp;&amp; !$div.is('.container')) {
    $div.find('<strong>img</strong>').cluetip({local: false, attribute: 'rel'});
    $div.data('clueTipLoaded', true);
  }
});
</code></pre>
<p>You said binding to table elements could be tricky. Does that mean replacing<br />
<code>&lt;div class="container"&gt;&lt;div&gt;&lt;img /&gt;&lt;/div&gt;&lt;/div&gt;</code> with<br />
<code>&lt;tr class="container"&gt;&lt;td&gt;<strong>&lt;img /&gt;</strong>&lt;/td&gt;&lt;/tr&gt;</code> where <strong>&lt;img /&gt;</strong> triggers <strong>cluetip</strong> or <code>&lt;table class="container"&gt;&lt;tr&gt;<strong>&lt;td&gt;</strong>&lt;img /&gt;<strong>&lt;/td&gt;</strong>&lt;/tr&gt;&lt;/table&gt;</code> where <strong>&lt;td&gt;</strong> triggers <strong>cluetip</strong> can&#8217;t work?</p>
<p>p.s. i don&#8217;t want to waste your time here, so i fully understand if you can&#8217;t walk me through it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
