<?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>Kommentarer til Hvem glor - din bror</title>
	<atom:link href="http://dinbror.dk/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://dinbror.dk/blog</link>
	<description>Den ikke-så-personlige blog af Bjørn Klinggaard</description>
	<lastBuildDate>Thu, 17 May 2012 05:03:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>Kommentar til bPopup af Nicolas</title>
		<link>http://dinbror.dk/blog/bpopup/comment-page-4/#comment-16385</link>
		<dc:creator>Nicolas</dc:creator>
		<pubDate>Thu, 17 May 2012 05:03:35 +0000</pubDate>
		<guid isPermaLink="false">http://dinbror.dk/blog/?p=390#comment-16385</guid>
		<description>Hi, I needed a small hack to make my AJAX content fix into the popup ( not sure whether there&#039;s an easier CSS workaround but I haven&#039;t figured it out yet ).
My hack is to set the display of the popup to &quot;inline-table&quot; which works great to stretch the popup to fit my content very seaminglessly. 
The hack I did ( in the minified version that I prettied up ) is:
1. Add the option : , display: &quot;block&quot; to the option array b.fn.bPopup.defaults = { } ( line 98 in my prettied js )
2. Before checking the callbacks for post-opening popup ( callback post fadein() in line 33 of my prettied js ) here:
                }).fadeIn(a.fadeSpeed, function () {
I add the display style:
                b(this).css(&quot;display&quot;, a.display); // adds the display style

Then when you instanciate the bPopup you add this in the args array:
        jQuery(&#039;#popup_box&#039;).bPopup({
            display: &quot;inline-table&quot;, ... [remaining args] });

It will display with CSS set to inline-table.

The remaining is untouched.

Nicolas.

NB: I based on 0.7.0 min version. If you want my version file, please send me an email.</description>
		<content:encoded><![CDATA[<p>Hi, I needed a small hack to make my AJAX content fix into the popup ( not sure whether there&#8217;s an easier CSS workaround but I haven&#8217;t figured it out yet ).<br />
My hack is to set the display of the popup to &#8220;inline-table&#8221; which works great to stretch the popup to fit my content very seaminglessly.<br />
The hack I did ( in the minified version that I prettied up ) is:<br />
1. Add the option : , display: &#8220;block&#8221; to the option array b.fn.bPopup.defaults = { } ( line 98 in my prettied js )<br />
2. Before checking the callbacks for post-opening popup ( callback post fadein() in line 33 of my prettied js ) here:<br />
                }).fadeIn(a.fadeSpeed, function () {<br />
I add the display style:<br />
                b(this).css(&#8220;display&#8221;, a.display); // adds the display style</p>
<p>Then when you instanciate the bPopup you add this in the args array:<br />
        jQuery(&#8216;#popup_box&#8217;).bPopup({<br />
            display: &#8220;inline-table&#8221;, &#8230; [remaining args] });</p>
<p>It will display with CSS set to inline-table.</p>
<p>The remaining is untouched.</p>
<p>Nicolas.</p>
<p>NB: I based on 0.7.0 min version. If you want my version file, please send me an email.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Kommentar til bPopup af jQuery Roundup: Knob, OmniWindow, bPopup, Pageflipper, Tiler</title>
		<link>http://dinbror.dk/blog/bpopup/comment-page-4/#comment-16310</link>
		<dc:creator>jQuery Roundup: Knob, OmniWindow, bPopup, Pageflipper, Tiler</dc:creator>
		<pubDate>Tue, 15 May 2012 16:18:04 +0000</pubDate>
		<guid isPermaLink="false">http://dinbror.dk/blog/?p=390#comment-16310</guid>
		<description>[...] browser&#8217;s size is changed.For full details on the available downloads and source code, see 21.04.12: New release, bPopup version 0.7.0.PageflipperPageflipper (GitHub: wtw-software / pageflipper, License: MIT) from wtw-software uses [...]</description>
		<content:encoded><![CDATA[<p>[...] browser&#8217;s size is changed.For full details on the available downloads and source code, see 21.04.12: New release, bPopup version 0.7.0.PageflipperPageflipper (GitHub: wtw-software / pageflipper, License: MIT) from wtw-software uses [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Kommentar til bPopup af Darren</title>
		<link>http://dinbror.dk/blog/bpopup/comment-page-4/#comment-16064</link>
		<dc:creator>Darren</dc:creator>
		<pubDate>Thu, 10 May 2012 12:09:05 +0000</pubDate>
		<guid isPermaLink="false">http://dinbror.dk/blog/?p=390#comment-16064</guid>
		<description>Hi, could i see an example of how this could be implemented when a website is first visited. So the pop up displays instantly on first visit, without using a button, but only on the first visit. I&#039;ve searched for hours on doing this but not had much luck. Any help is hugely appreciated.

Great plugin btw!</description>
		<content:encoded><![CDATA[<p>Hi, could i see an example of how this could be implemented when a website is first visited. So the pop up displays instantly on first visit, without using a button, but only on the first visit. I&#8217;ve searched for hours on doing this but not had much luck. Any help is hugely appreciated.</p>
<p>Great plugin btw!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Kommentar til bPopup af Youpi</title>
		<link>http://dinbror.dk/blog/bpopup/comment-page-4/#comment-15656</link>
		<dc:creator>Youpi</dc:creator>
		<pubDate>Wed, 02 May 2012 16:48:43 +0000</pubDate>
		<guid isPermaLink="false">http://dinbror.dk/blog/?p=390#comment-15656</guid>
		<description>0.7.0 exists in minified version but not developer version?

What the heck?</description>
		<content:encoded><![CDATA[<p>0.7.0 exists in minified version but not developer version?</p>
<p>What the heck?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Kommentar til bPopup af ngoc an</title>
		<link>http://dinbror.dk/blog/bpopup/comment-page-4/#comment-14535</link>
		<dc:creator>ngoc an</dc:creator>
		<pubDate>Sun, 08 Apr 2012 03:39:30 +0000</pubDate>
		<guid isPermaLink="false">http://dinbror.dk/blog/?p=390#comment-14535</guid>
		<description>cool jquery plugin.I love it</description>
		<content:encoded><![CDATA[<p>cool jquery plugin.I love it</p>
]]></content:encoded>
	</item>
	<item>
		<title>Kommentar til bPopup af Flemming</title>
		<link>http://dinbror.dk/blog/bpopup/comment-page-4/#comment-14492</link>
		<dc:creator>Flemming</dc:creator>
		<pubDate>Mon, 02 Apr 2012 07:44:48 +0000</pubDate>
		<guid isPermaLink="false">http://dinbror.dk/blog/?p=390#comment-14492</guid>
		<description>To close the parent from a iFrame I used this code with success:

The id=BtnSave is a id within iframe


$(document).ready(function(){ 
    $(&quot;#BtnSave&quot;).click(function(){ 
	... som other event
        parent.$(&quot;.bClose&quot;).click(); 
        return false; 
    }); 
});
 </description>
		<content:encoded><![CDATA[<p>To close the parent from a iFrame I used this code with success:</p>
<p>The id=BtnSave is a id within iframe</p>
<p>$(document).ready(function(){<br />
    $(&#8220;#BtnSave&#8221;).click(function(){<br />
	&#8230; som other event<br />
        parent.$(&#8220;.bClose&#8221;).click();<br />
        return false;<br />
    });<br />
});</p>
]]></content:encoded>
	</item>
	<item>
		<title>Kommentar til bPopup af Peter Cole</title>
		<link>http://dinbror.dk/blog/bpopup/comment-page-4/#comment-13952</link>
		<dc:creator>Peter Cole</dc:creator>
		<pubDate>Fri, 24 Feb 2012 18:24:21 +0000</pubDate>
		<guid isPermaLink="false">http://dinbror.dk/blog/?p=390#comment-13952</guid>
		<description>Hello,
Let me try that again ... (removed tags)
Using switch statement in URL file to load content in popup based on the parameter passed to the URL
Using query string variable on the URL string returns

‘Syntax error, unrecognized expression: =S5C11′ when calling method: [nsIDOMEventListener::handleEvent]
[Break On This Error]
Filtered chrome url chrome://firebug/content/net/spy.js
– my code –
$(“div.what”).bind(‘click’,function() {
$(“#whatPopup”).bPopup({
contentContainer: ‘#whatContent’,
loadUrl : &#039;../includes/orderform/func_show_info_popup.php?PUID =&lt;?php echo $subcatJSID;?&gt;&#039;,
opacity: ’0.7′
});
// event.preventDefault();
});

If I remove the query string variable from the URL …. it works great, though there is no modal ... just a black screen with the sized content container 
Suggestions?
Regards,
Peter</description>
		<content:encoded><![CDATA[<p>Hello,<br />
Let me try that again &#8230; (removed tags)<br />
Using switch statement in URL file to load content in popup based on the parameter passed to the URL<br />
Using query string variable on the URL string returns</p>
<p>‘Syntax error, unrecognized expression: =S5C11′ when calling method: [nsIDOMEventListener::handleEvent]<br />
[Break On This Error]<br />
Filtered chrome url chrome://firebug/content/net/spy.js<br />
– my code –<br />
$(“div.what”).bind(‘click’,function() {<br />
$(“#whatPopup”).bPopup({<br />
contentContainer: ‘#whatContent’,<br />
loadUrl : &#8216;../includes/orderform/func_show_info_popup.php?PUID =&lt;?php echo $subcatJSID;?&gt;&#8217;,<br />
opacity: ’0.7′<br />
});<br />
// event.preventDefault();<br />
});</p>
<p>If I remove the query string variable from the URL …. it works great, though there is no modal &#8230; just a black screen with the sized content container<br />
Suggestions?<br />
Regards,<br />
Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>Kommentar til bPopup af Peter Cole</title>
		<link>http://dinbror.dk/blog/bpopup/comment-page-4/#comment-13951</link>
		<dc:creator>Peter Cole</dc:creator>
		<pubDate>Fri, 24 Feb 2012 18:16:18 +0000</pubDate>
		<guid isPermaLink="false">http://dinbror.dk/blog/?p=390#comment-13951</guid>
		<description>Hello, 
Using query string variable on the URL string returns
Using switch statement in URL file to load content in popup based on the parameter passed to the URL
&#039;Syntax error, unrecognized expression: =S5C11&#039; when calling method: [nsIDOMEventListener::handleEvent]
[Break On This Error] 	
Filtered chrome url chrome://firebug/content/net/spy.js
-- my code --
$(&quot;div.what&quot;).bind(&#039;click&#039;,function() {
$(&quot;#whatPopup&quot;).bPopup({
contentContainer: &#039;#whatContent&#039;, 
loadUrl : &#039;../includes/orderform/func_show_info_popup.php?PUID =&#039;,
opacity: &#039;0.7&#039;
});
// event.preventDefault();
});

If I remove the query string variable from the URL .... it works great. 
Suggestions?
Regards,
Peter</description>
		<content:encoded><![CDATA[<p>Hello,<br />
Using query string variable on the URL string returns<br />
Using switch statement in URL file to load content in popup based on the parameter passed to the URL<br />
&#8216;Syntax error, unrecognized expression: =S5C11&#8242; when calling method: [nsIDOMEventListener::handleEvent]<br />
[Break On This Error]<br />
Filtered chrome url chrome://firebug/content/net/spy.js<br />
&#8211; my code &#8211;<br />
$(&#8220;div.what&#8221;).bind(&#8216;click&#8217;,function() {<br />
$(&#8220;#whatPopup&#8221;).bPopup({<br />
contentContainer: &#8216;#whatContent&#8217;,<br />
loadUrl : &#8216;../includes/orderform/func_show_info_popup.php?PUID =&#8217;,<br />
opacity: &#8217;0.7&#8242;<br />
});<br />
// event.preventDefault();<br />
});</p>
<p>If I remove the query string variable from the URL &#8230;. it works great.<br />
Suggestions?<br />
Regards,<br />
Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>Kommentar til bPopup af dinbror</title>
		<link>http://dinbror.dk/blog/bpopup/comment-page-4/#comment-13880</link>
		<dc:creator>dinbror</dc:creator>
		<pubDate>Sun, 19 Feb 2012 15:40:48 +0000</pubDate>
		<guid isPermaLink="false">http://dinbror.dk/blog/?p=390#comment-13880</guid>
		<description>&lt;strong&gt;@all:&lt;/strong&gt;

Sorry for my absence :( I&#039;m back now and a new release of bPopup is coming soon (bPopup version 0.7.0). 

&lt;strong&gt;@Michael:&lt;/strong&gt;
The multiple popup issue will be fixed in next release.</description>
		<content:encoded><![CDATA[<p><strong>@all:</strong></p>
<p>Sorry for my absence <img src='http://dinbror.dk/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  I&#8217;m back now and a new release of bPopup is coming soon (bPopup version 0.7.0). </p>
<p><strong>@Michael:</strong><br />
The multiple popup issue will be fixed in next release.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Kommentar til bPopup af Mike</title>
		<link>http://dinbror.dk/blog/bpopup/comment-page-4/#comment-8461</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Thu, 22 Dec 2011 18:33:59 +0000</pubDate>
		<guid isPermaLink="false">http://dinbror.dk/blog/?p=390#comment-8461</guid>
		<description>Any way to stop tabbing behind the modal?</description>
		<content:encoded><![CDATA[<p>Any way to stop tabbing behind the modal?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

