<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: jquery mb.containerPlus</title>
	<atom:link href="http://pupunzi.open-lab.com/mb-jquery-components/mb-containerplus/feed/" rel="self" type="application/rss+xml" />
	<link>http://pupunzi.open-lab.com</link>
	<description>mb.ideas.repository</description>
	<lastBuildDate>Sat, 11 Feb 2012 07:42:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: 8 Stunning jQuery Page Layout Plugins &#124; jQuery4u</title>
		<link>http://pupunzi.open-lab.com/mb-jquery-components/mb-containerplus/#comment-20176</link>
		<dc:creator><![CDATA[8 Stunning jQuery Page Layout Plugins &#124; jQuery4u]]></dc:creator>
		<pubDate>Wed, 21 Dec 2011 09:15:13 +0000</pubDate>
		<guid isPermaLink="false">http://pupunzi.wordpress.com/?page_id=747#comment-20176</guid>
		<description><![CDATA[[...] 6. MB.CONTAINER PLUS [...]]]></description>
		<content:encoded><![CDATA[<p>[...] 6. MB.CONTAINER PLUS [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john</title>
		<link>http://pupunzi.open-lab.com/mb-jquery-components/mb-containerplus/#comment-20099</link>
		<dc:creator><![CDATA[john]]></dc:creator>
		<pubDate>Tue, 20 Dec 2011 20:43:43 +0000</pubDate>
		<guid isPermaLink="false">http://pupunzi.wordpress.com/?page_id=747#comment-20099</guid>
		<description><![CDATA[Matteo, thank you for attempting to help me, I was running some older jquery source files. Since I have updated these with 2.6.0 it is working really well. I really like the simplified div containers in the latest version and the functions you have provided allow access to pretty much any component. Excellent work! and thank you for making this available. Thank you - John]]></description>
		<content:encoded><![CDATA[<p>Matteo, thank you for attempting to help me, I was running some older jquery source files. Since I have updated these with 2.6.0 it is working really well. I really like the simplified div containers in the latest version and the functions you have provided allow access to pretty much any component. Excellent work! and thank you for making this available. Thank you &#8211; John</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Juan P.</title>
		<link>http://pupunzi.open-lab.com/mb-jquery-components/mb-containerplus/#comment-19521</link>
		<dc:creator><![CDATA[Juan P.]]></dc:creator>
		<pubDate>Thu, 15 Dec 2011 18:55:10 +0000</pubDate>
		<guid isPermaLink="false">http://pupunzi.wordpress.com/?page_id=747#comment-19521</guid>
		<description><![CDATA[I&#039;m newbie in Jquery.

1. How I can I change the title to a window that was already created? 
2. How I can get a reference to a window? This does not work for me:

var myWin =  $(&#039;#w&#039;+id).buildContainers({ ... })

Thanks. Goog job]]></description>
		<content:encoded><![CDATA[<p>I&#8217;m newbie in Jquery.</p>
<p>1. How I can I change the title to a window that was already created?<br />
2. How I can get a reference to a window? This does not work for me:</p>
<p>var myWin =  $(&#8216;#w&#8217;+id).buildContainers({ &#8230; })</p>
<p>Thanks. Goog job</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matteo Bicocchi</title>
		<link>http://pupunzi.open-lab.com/mb-jquery-components/mb-containerplus/#comment-17376</link>
		<dc:creator><![CDATA[Matteo Bicocchi]]></dc:creator>
		<pubDate>Fri, 18 Nov 2011 20:42:50 +0000</pubDate>
		<guid isPermaLink="false">http://pupunzi.wordpress.com/?page_id=747#comment-17376</guid>
		<description><![CDATA[Hi John,
I just made some tests on IE8 running containers with long texts but I can&#039;t replicate your behaviour. If I load a long content into a container with a fixed height the container overflow works fine for me...
Do you have a public URL where to see the behaviour?
Bye,
Matteo]]></description>
		<content:encoded><![CDATA[<p>Hi John,<br />
I just made some tests on IE8 running containers with long texts but I can&#8217;t replicate your behaviour. If I load a long content into a container with a fixed height the container overflow works fine for me&#8230;<br />
Do you have a public URL where to see the behaviour?<br />
Bye,<br />
Matteo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John McCrae</title>
		<link>http://pupunzi.open-lab.com/mb-jquery-components/mb-containerplus/#comment-17288</link>
		<dc:creator><![CDATA[John McCrae]]></dc:creator>
		<pubDate>Thu, 17 Nov 2011 22:27:17 +0000</pubDate>
		<guid isPermaLink="false">http://pupunzi.wordpress.com/?page_id=747#comment-17288</guid>
		<description><![CDATA[Matteo, thanks for your prompt response, I am using IE8, I have added some style parameters style=&#039;overflow: auto; width: 100%; height: 100%;&#039; to the div I have included in your container this is the DIV that receives the Ajax return.  This solution seems to be a little temperamental in that every now and then when you drag the container you can see IE attempting to add another scroll bar then remove it, my solution doesn&#039;t appear to be a very clean one and I am thinking it might be in conflict with a scroll you have already in place for your container but I might be wrong. Thank you - John.]]></description>
		<content:encoded><![CDATA[<p>Matteo, thanks for your prompt response, I am using IE8, I have added some style parameters style=&#8217;overflow: auto; width: 100%; height: 100%;&#8217; to the div I have included in your container this is the DIV that receives the Ajax return.  This solution seems to be a little temperamental in that every now and then when you drag the container you can see IE attempting to add another scroll bar then remove it, my solution doesn&#8217;t appear to be a very clean one and I am thinking it might be in conflict with a scroll you have already in place for your container but I might be wrong. Thank you &#8211; John.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matteo Bicocchi</title>
		<link>http://pupunzi.open-lab.com/mb-jquery-components/mb-containerplus/#comment-17283</link>
		<dc:creator><![CDATA[Matteo Bicocchi]]></dc:creator>
		<pubDate>Thu, 17 Nov 2011 21:10:22 +0000</pubDate>
		<guid isPermaLink="false">http://pupunzi.wordpress.com/?page_id=747#comment-17283</guid>
		<description><![CDATA[Hi John,
Which version of IE?]]></description>
		<content:encoded><![CDATA[<p>Hi John,<br />
Which version of IE?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John McCrae</title>
		<link>http://pupunzi.open-lab.com/mb-jquery-components/mb-containerplus/#comment-17273</link>
		<dc:creator><![CDATA[John McCrae]]></dc:creator>
		<pubDate>Thu, 17 Nov 2011 18:37:58 +0000</pubDate>
		<guid isPermaLink="false">http://pupunzi.wordpress.com/?page_id=747#comment-17273</guid>
		<description><![CDATA[Matteo thanks again for the great work! I have a question relating to container overflow in IE. I am using an Ajax call to return data into a container, if the text returned is greater than the container height it is contained neatly in the container with a scroll bar, this is true for FireFox but not IE. In IE, the contents expand outside the container, they have a scroll bar but it is half in and half out of the container and looks terrible. Please could you provide me with a solution or guide me as to how I would go about fixing this issue. many thanks - John]]></description>
		<content:encoded><![CDATA[<p>Matteo thanks again for the great work! I have a question relating to container overflow in IE. I am using an Ajax call to return data into a container, if the text returned is greater than the container height it is contained neatly in the container with a scroll bar, this is true for FireFox but not IE. In IE, the contents expand outside the container, they have a scroll bar but it is half in and half out of the container and looks terrible. Please could you provide me with a solution or guide me as to how I would go about fixing this issue. many thanks &#8211; John</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cory</title>
		<link>http://pupunzi.open-lab.com/mb-jquery-components/mb-containerplus/#comment-16467</link>
		<dc:creator><![CDATA[Cory]]></dc:creator>
		<pubDate>Mon, 07 Nov 2011 03:16:27 +0000</pubDate>
		<guid isPermaLink="false">http://pupunzi.wordpress.com/?page_id=747#comment-16467</guid>
		<description><![CDATA[more about  my stuck container post....

I think I already figured it out... when jQuery is trying to fire the ajax calls it is trying to process the drag all at the same time. Placing a delay on the callbacks seams to have solved it. Any feed back on this?]]></description>
		<content:encoded><![CDATA[<p>more about  my stuck container post&#8230;.</p>
<p>I think I already figured it out&#8230; when jQuery is trying to fire the ajax calls it is trying to process the drag all at the same time. Placing a delay on the callbacks seams to have solved it. Any feed back on this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cory</title>
		<link>http://pupunzi.open-lab.com/mb-jquery-components/mb-containerplus/#comment-16466</link>
		<dc:creator><![CDATA[Cory]]></dc:creator>
		<pubDate>Mon, 07 Nov 2011 03:07:04 +0000</pubDate>
		<guid isPermaLink="false">http://pupunzi.wordpress.com/?page_id=747#comment-16466</guid>
		<description><![CDATA[I am having a problem with dragging. Quite often when I click on a header to drag, it does not let go. Sometimes a simple double click lets it go, but quite often it doesn&#039;t. It&#039;s like every 5 containers a drag one gets stuck. I have no idea what is causing it yet, but figured I would share this issue with you to see if you have run into this before? Any idea what can be causing this?

Cory]]></description>
		<content:encoded><![CDATA[<p>I am having a problem with dragging. Quite often when I click on a header to drag, it does not let go. Sometimes a simple double click lets it go, but quite often it doesn&#8217;t. It&#8217;s like every 5 containers a drag one gets stuck. I have no idea what is causing it yet, but figured I would share this issue with you to see if you have run into this before? Any idea what can be causing this?</p>
<p>Cory</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cory</title>
		<link>http://pupunzi.open-lab.com/mb-jquery-components/mb-containerplus/#comment-16465</link>
		<dc:creator><![CDATA[Cory]]></dc:creator>
		<pubDate>Mon, 07 Nov 2011 02:51:00 +0000</pubDate>
		<guid isPermaLink="false">http://pupunzi.wordpress.com/?page_id=747#comment-16465</guid>
		<description><![CDATA[Cool, I also added for ajax memory/database purposes... onCenter callback

&lt;code&gt;

  jQuery.fn.mb_centerOnWindow=function(anim){
		var container=$(this);
    var opt= container.get(0).options;
 		var nww=$(window).width();
		var nwh=$(window).height();
    var ow = container.outerWidth();
    var oh = container.outerHeight();
		var l= (nww-ow)/2;
		var t= ((nwh-oh)/2)&gt;0?(nwh-oh)/2:10;
		if (container.css(&quot;position&quot;)!=&quot;fixed&quot;){
			$(this).css(&quot;position&quot;,&quot;absolute&quot;);
			l=l+$(window).scrollLeft();
			t=t+$(window).scrollTop();
		}
		if (anim)
			container.animate({top:t,left:l},300,function(){
				if (container.attr(&quot;rememberMe&quot;)){
					container.mb_setCookie(&quot;x&quot;,$(this).css(&quot;left&quot;));
					container.mb_setCookie(&quot;y&quot;,$(this).css(&quot;top&quot;));
				}
			});
		else{
			container.css({top:t,left:l});
			if (container.attr(&quot;rememberMe&quot;)){
				container.mb_setCookie(&quot;x&quot;,$(this).css(&quot;left&quot;));
				container.mb_setCookie(&quot;y&quot;,$(this).css(&quot;top&quot;));
			}
		}
    container.attr(&quot;t&quot;,t);
		container.attr(&quot;l&quot;,l);
    
    // Execute onDrag when container is centered. Delay to wait for container to quit moving.
    jQuery.doTimeout(&#039;ondragcenter&#039;,500,function(){
      if(opt.onCenter) opt.onCenter(container.attr(&#039;id&#039;),container.css(&quot;left&quot;),container.css(&quot;top&quot;));
      //alert(opt.onDrag);
		});
    return container;
	};


&lt;/code&gt;

&lt;strong&gt;NOTICE&lt;/strong&gt; that I am using the jQuery.doTimeout() plugin. (With a 500 microsecond delay) This allows the container to finish centering on window before executing the ajax call. Otherwise, javascript being javascript gets the css positions half way through the animation and save the wrong data.

&lt;code&gt;
		//var ow=container.attr(&quot;w&quot;)?container.attr(&quot;w&quot;):container.outerWidth();
		//var oh= container.attr(&quot;h&quot;)?container.attr(&quot;h&quot;):container.outerHeight();
&lt;/code&gt;

I also ran into trouble with the 2 lines above, they were reporting NULL so they have been replaced as you may have already noticed in the function above.

Cory

P.S.

The AJAX plugin is taking longer than expected because I forgot that my AJAX routines are written using a ghosted hacker user prevention method and is quite complicated. What I will have to do is when I am done with my working model, I will break it down into a more simplified plugin for MT release.]]></description>
		<content:encoded><![CDATA[<p>Cool, I also added for ajax memory/database purposes&#8230; onCenter callback</p>
<p><code></p>
<p>  jQuery.fn.mb_centerOnWindow=function(anim){<br />
		var container=$(this);<br />
    var opt= container.get(0).options;<br />
 		var nww=$(window).width();<br />
		var nwh=$(window).height();<br />
    var ow = container.outerWidth();<br />
    var oh = container.outerHeight();<br />
		var l= (nww-ow)/2;<br />
		var t= ((nwh-oh)/2)&gt;0?(nwh-oh)/2:10;<br />
		if (container.css("position")!="fixed"){<br />
			$(this).css("position","absolute");<br />
			l=l+$(window).scrollLeft();<br />
			t=t+$(window).scrollTop();<br />
		}<br />
		if (anim)<br />
			container.animate({top:t,left:l},300,function(){<br />
				if (container.attr("rememberMe")){<br />
					container.mb_setCookie("x",$(this).css("left"));<br />
					container.mb_setCookie("y",$(this).css("top"));<br />
				}<br />
			});<br />
		else{<br />
			container.css({top:t,left:l});<br />
			if (container.attr("rememberMe")){<br />
				container.mb_setCookie("x",$(this).css("left"));<br />
				container.mb_setCookie("y",$(this).css("top"));<br />
			}<br />
		}<br />
    container.attr("t",t);<br />
		container.attr("l",l);</p>
<p>    // Execute onDrag when container is centered. Delay to wait for container to quit moving.<br />
    jQuery.doTimeout('ondragcenter',500,function(){<br />
      if(opt.onCenter) opt.onCenter(container.attr('id'),container.css("left"),container.css("top"));<br />
      //alert(opt.onDrag);<br />
		});<br />
    return container;<br />
	};</p>
<p></code></p>
<p><strong>NOTICE</strong> that I am using the jQuery.doTimeout() plugin. (With a 500 microsecond delay) This allows the container to finish centering on window before executing the ajax call. Otherwise, javascript being javascript gets the css positions half way through the animation and save the wrong data.</p>
<p><code><br />
		//var ow=container.attr("w")?container.attr("w"):container.outerWidth();<br />
		//var oh= container.attr("h")?container.attr("h"):container.outerHeight();<br />
</code></p>
<p>I also ran into trouble with the 2 lines above, they were reporting NULL so they have been replaced as you may have already noticed in the function above.</p>
<p>Cory</p>
<p>P.S.</p>
<p>The AJAX plugin is taking longer than expected because I forgot that my AJAX routines are written using a ghosted hacker user prevention method and is quite complicated. What I will have to do is when I am done with my working model, I will break it down into a more simplified plugin for MT release.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

