<?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: Hacking jQuery Thickbox..!</title>
	<atom:link href="http://blogs.digitss.com/technology/hacking-jquery-thickbox/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.digitss.com/technology/hacking-jquery-thickbox/</link>
	<description>DiGiTSS Team&#039;s Programming experience with PHP, MySQL, Ajax, Javascript, jQuery, C# and Microsoft technologies</description>
	<lastBuildDate>Thu, 04 Mar 2010 12:54:12 +0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Pdfman</title>
		<link>http://blogs.digitss.com/technology/hacking-jquery-thickbox/comment-page-2/#comment-11702</link>
		<dc:creator>Pdfman</dc:creator>
		<pubDate>Mon, 01 Feb 2010 08:19:25 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.digitss.com/javascript/hacking-jquery-thickbox/#comment-11702</guid>
		<description>that’s exactly what i’ve been looking for.</description>
		<content:encoded><![CDATA[<p>that’s exactly what i’ve been looking for.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: senthilvelan</title>
		<link>http://blogs.digitss.com/technology/hacking-jquery-thickbox/comment-page-2/#comment-11662</link>
		<dc:creator>senthilvelan</dc:creator>
		<pubDate>Fri, 08 Jan 2010 10:33:21 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.digitss.com/javascript/hacking-jquery-thickbox/#comment-11662</guid>
		<description>Hi this is good work.

But i need one more thing just want to close the box once click \esc\ key or mouse click in overlay(Like in original thickbox),i think the problem is related to jquery function for this issue.

can you  help me regarding this.</description>
		<content:encoded><![CDATA[<p>Hi this is good work.</p>
<p>But i need one more thing just want to close the box once click \esc\ key or mouse click in overlay(Like in original thickbox),i think the problem is related to jquery function for this issue.</p>
<p>can you  help me regarding this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amit bravo</title>
		<link>http://blogs.digitss.com/technology/hacking-jquery-thickbox/comment-page-2/#comment-11642</link>
		<dc:creator>amit bravo</dc:creator>
		<pubDate>Fri, 25 Dec 2009 04:51:24 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.digitss.com/javascript/hacking-jquery-thickbox/#comment-11642</guid>
		<description>Thanks , Dharma ,its working :) . though last night before your comment i tried this one and it works 

$(document).ready(function(){						   
$(&quot;#Btn&quot;).click(function(event){
event.preventDefault();
tb_open_new(&#039;window_one.html?TB_iframe=true&amp;height=400&amp;width=400&amp;modal=true&#039;);
});
});

where link was something like 
&lt;a href=&quot;&quot; id=&quot;Btn&quot;&gt;</description>
		<content:encoded><![CDATA[<p>Thanks , Dharma ,its working <img src='http://blogs.digitss.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  . though last night before your comment i tried this one and it works </p>
<p>$(document).ready(function(){<br />
$(&#8220;#Btn&#8221;).click(function(event){<br />
event.preventDefault();<br />
tb_open_new(&#8216;window_one.html?TB_iframe=true&amp;height=400&amp;width=400&amp;modal=true&#8217;);<br />
});<br />
});</p>
<p>where link was something like<br />
&lt;a href=&quot;&#8221; id=&#8221;Btn&#8221;&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dharmavirsinh Jhala</title>
		<link>http://blogs.digitss.com/technology/hacking-jquery-thickbox/comment-page-2/#comment-11641</link>
		<dc:creator>Dharmavirsinh Jhala</dc:creator>
		<pubDate>Thu, 24 Dec 2009 17:32:16 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.digitss.com/javascript/hacking-jquery-thickbox/#comment-11641</guid>
		<description>Hi Amit,
Thanks for helping me by looking at it with another direction.
Here is a simple solution to your problem.
Solution #1:
a href=&quot;http://www.digitss.com&quot; onclick=&quot;return tb_open_new(&#039;www.digitss.com&#039;);&quot; 
In this case make sure to return false in &quot;tb_open_new&quot; function just like following:
function tb_open_new(jThickboxNewLink){
	tb_show(null,jThickboxNewLink,null);
	return false;
}

Solution #2:
a href=&quot;http://www.digitss.com&quot; onclick=&quot;tb_open_new(&#039;www.digitss.com&#039;); return false;&quot; 
And in that case no other change is required.

So All the Best.
Dharmavir.</description>
		<content:encoded><![CDATA[<p>Hi Amit,<br />
Thanks for helping me by looking at it with another direction.<br />
Here is a simple solution to your problem.<br />
Solution #1:<br />
a href=&#8221;http://www.digitss.com&#8221; onclick=&#8221;return tb_open_new(&#8216;www.digitss.com&#8217;);&#8221;<br />
In this case make sure to return false in &#8220;tb_open_new&#8221; function just like following:<br />
function tb_open_new(jThickboxNewLink){<br />
	tb_show(null,jThickboxNewLink,null);<br />
	return false;<br />
}</p>
<p>Solution #2:<br />
a href=&#8221;http://www.digitss.com&#8221; onclick=&#8221;tb_open_new(&#8216;www.digitss.com&#8217;); return false;&#8221;<br />
And in that case no other change is required.</p>
<p>So All the Best.<br />
Dharmavir.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amit bravo</title>
		<link>http://blogs.digitss.com/technology/hacking-jquery-thickbox/comment-page-2/#comment-11640</link>
		<dc:creator>amit bravo</dc:creator>
		<pubDate>Thu, 24 Dec 2009 10:59:32 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.digitss.com/javascript/hacking-jquery-thickbox/#comment-11640</guid>
		<description>I am sorry in the last comment the code i pasted converted in a link automatically .. please open view source to see the difference 
or check this out &gt;
a href=&quot;#&quot; onclick=&quot;tb_open_new(&#039;window_one.html?TB_iframe=true&amp;height=400&amp;width=400&amp;modal=true&#039;) 

I used following to prevent hash problem that let us jump to begin of the web page which was looking ugly

a href=&quot;javascript: void(0);&quot; onclick=&quot;tb_open_new(&#039;window_one.html?TB_iframe=true&amp;height=400&amp;width=400&amp;modal=true&#039;)

but it would be great if somehow i could use a webpage link so that if javascript is disable yet link should work 

a href=&quot;window_one.html&quot; onclick=&quot;tb_open_new(&#039;window_one.html?TB_iframe=true&amp;height=400&amp;width=400&amp;modal=true&#039;)</description>
		<content:encoded><![CDATA[<p>I am sorry in the last comment the code i pasted converted in a link automatically .. please open view source to see the difference<br />
or check this out &gt;<br />
a href=&#8221;#&#8221; onclick=&#8221;tb_open_new(&#8216;window_one.html?TB_iframe=true&amp;height=400&amp;width=400&amp;modal=true&#8217;) </p>
<p>I used following to prevent hash problem that let us jump to begin of the web page which was looking ugly</p>
<p>a href=&#8221;javascript: void(0);&#8221; onclick=&#8221;tb_open_new(&#8216;window_one.html?TB_iframe=true&amp;height=400&amp;width=400&amp;modal=true&#8217;)</p>
<p>but it would be great if somehow i could use a webpage link so that if javascript is disable yet link should work </p>
<p>a href=&#8221;window_one.html&#8221; onclick=&#8221;tb_open_new(&#8216;window_one.html?TB_iframe=true&amp;height=400&amp;width=400&amp;modal=true&#8217;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amit bravo</title>
		<link>http://blogs.digitss.com/technology/hacking-jquery-thickbox/comment-page-2/#comment-11639</link>
		<dc:creator>amit bravo</dc:creator>
		<pubDate>Thu, 24 Dec 2009 10:54:38 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.digitss.com/javascript/hacking-jquery-thickbox/#comment-11639</guid>
		<description>great work Dharma.. but actually we need a little more fix . the code &lt;a href=&quot;#&quot;&gt;Open Thickbox without href attribute&lt;/a&gt;

somtimes sucks if you webpage is long and link is in middle somewhere of the page when you click on the page though it opens thickbox but because of # .. this hash appears in the URL field of the browser and we are jumped in the begining of the page . sucks 

if we try instead &lt;a href=&quot;void(0);&quot;&gt;Open Thickbox without href attribute&lt;/a&gt;

then it works perfectly but there is also one thing that needs to be sorted out and that is what if a user disable java script of the browser . in this case i want my link like 

&lt;a href=&quot;window_one.html&quot;&gt;Open Thickbox without href attribute&lt;/a&gt;

I think we can use function like preventDefault() somwhere is our function or any other trick and will stop to jump the page while javascript is enabled will help a lot 

any trick ?</description>
		<content:encoded><![CDATA[<p>great work Dharma.. but actually we need a little more fix . the code <a href="#">Open Thickbox without href attribute</a></p>
<p>somtimes sucks if you webpage is long and link is in middle somewhere of the page when you click on the page though it opens thickbox but because of # .. this hash appears in the URL field of the browser and we are jumped in the begining of the page . sucks </p>
<p>if we try instead <a href="void(0);">Open Thickbox without href attribute</a></p>
<p>then it works perfectly but there is also one thing that needs to be sorted out and that is what if a user disable java script of the browser . in this case i want my link like </p>
<p><a href="window_one.html">Open Thickbox without href attribute</a></p>
<p>I think we can use function like preventDefault() somwhere is our function or any other trick and will stop to jump the page while javascript is enabled will help a lot </p>
<p>any trick ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: charlie</title>
		<link>http://blogs.digitss.com/technology/hacking-jquery-thickbox/comment-page-2/#comment-11593</link>
		<dc:creator>charlie</dc:creator>
		<pubDate>Thu, 10 Dec 2009 15:58:03 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.digitss.com/javascript/hacking-jquery-thickbox/#comment-11593</guid>
		<description>thanks #13, that&#039;s exactly what i&#039;ve been looking for.</description>
		<content:encoded><![CDATA[<p>thanks #13, that&#8217;s exactly what i&#8217;ve been looking for.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GLV</title>
		<link>http://blogs.digitss.com/technology/hacking-jquery-thickbox/comment-page-2/#comment-11259</link>
		<dc:creator>GLV</dc:creator>
		<pubDate>Fri, 09 Oct 2009 17:16:22 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.digitss.com/javascript/hacking-jquery-thickbox/#comment-11259</guid>
		<description>For #11 Ashish Taralekar, 
you could try using window.top.location.href = {your url}.  That will make the parent window change locations instead of using server side code [Response.Redirect].</description>
		<content:encoded><![CDATA[<p>For #11 Ashish Taralekar,<br />
you could try using window.top.location.href = {your url}.  That will make the parent window change locations instead of using server side code [Response.Redirect].</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GLV</title>
		<link>http://blogs.digitss.com/technology/hacking-jquery-thickbox/comment-page-2/#comment-11258</link>
		<dc:creator>GLV</dc:creator>
		<pubDate>Fri, 09 Oct 2009 17:13:57 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.digitss.com/javascript/hacking-jquery-thickbox/#comment-11258</guid>
		<description>I&#039;m getting an error (&quot;missing ] after element list&quot; ) with this code:
  if(parent_func_callback != undefined)
	eval(&quot;window.&quot;+parent_func_callback);

Couldn&#039;t figure out exactly what you were trying to do with this line so I commented it out and, lo and behold!, the thickbox still works as planned.

Could you shed some light on this, pls?  Thanks!</description>
		<content:encoded><![CDATA[<p>I&#8217;m getting an error (&#8220;missing ] after element list&#8221; ) with this code:<br />
  if(parent_func_callback != undefined)<br />
	eval(&#8220;window.&#8221;+parent_func_callback);</p>
<p>Couldn&#8217;t figure out exactly what you were trying to do with this line so I commented it out and, lo and behold!, the thickbox still works as planned.</p>
<p>Could you shed some light on this, pls?  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashish Taralekar</title>
		<link>http://blogs.digitss.com/technology/hacking-jquery-thickbox/comment-page-2/#comment-11220</link>
		<dc:creator>Ashish Taralekar</dc:creator>
		<pubDate>Fri, 18 Sep 2009 12:42:07 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.digitss.com/javascript/hacking-jquery-thickbox/#comment-11220</guid>
		<description>Hi,
I am showing child window (contains an imagebutton, textboxes etc.) using thickbox and I am redirecting user to another page on click of that imagebutton using Response.Redirect. But, the problem is the page gets opened in the same thickbox. I want that page should open in the parent window.
So, please suggest me what should I do for this?

Thanks,
Ashish.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I am showing child window (contains an imagebutton, textboxes etc.) using thickbox and I am redirecting user to another page on click of that imagebutton using Response.Redirect. But, the problem is the page gets opened in the same thickbox. I want that page should open in the parent window.<br />
So, please suggest me what should I do for this?</p>
<p>Thanks,<br />
Ashish.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
