<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>Morten Bock</title><link>http://www.mortenbock.dk/</link><description>A feed of new content on my website</description><item><author>Morten Bock</author><category>bugfix</category><category>english</category><category>firefox</category><category>umbraco</category><description>&lt;p&gt;This is mostly a little reminder post for myself on how to solve this issue.&lt;/p&gt;&lt;p&gt;The problem is when using more than one mediapicker/contentpicker on a document type, then the iframe with the treepicker will be 0px wide, rendering the box useless.&lt;/p&gt;&lt;p&gt;&lt;!--more--&gt;What i did was cange a line in the umbraco/js/submodal/submodal.js file&lt;/p&gt;&lt;p&gt;Original code from line 119:&lt;/p&gt;&lt;p&gt;&lt;pre&gt;
// need to set the width of the iframe to the title bar width because of the dropshadow
// some oddness was occuring and causing the frame to poke outside the border in IE6
gPopFrame.style.width = parseInt(document.getElementById("popupTitleBar").offsetWidth, 10) + "px";
gPopFrame.style.height = (height) + "px";
&lt;/pre&gt;&lt;/p&gt;&lt;p&gt;Canged to&lt;/p&gt;&lt;p&gt;&lt;pre&gt;
// need to set the width of the iframe to the title bar width because of the dropshadow
// some oddness was occuring and causing the frame to poke outside the border in IE6
//Bugfix for making the iframe visible in FireFox since width is 0px
bockWidth = parseInt(document.getElementById("popupTitleBar").offsetWidth, 10);
if(bockWidth &amp;gt; 0){
gPopFrame.style.width = bockWidth + "px";
} else {
gPopFrame.style.width = "334px";
}
gPopFrame.style.height = (height) + "px";
&lt;/pre&gt;&lt;/p&gt;&lt;p&gt;The problem is also &lt;a href="http://www.codeplex.com/umbraco/WorkItem/View.aspx?WorkItemId=11530"&gt;posted on codeplex&lt;/a&gt;&lt;/p&gt;</description><guid isPermaLink="false">1294</guid><link>http://www.mortenbock.dk/blog/2007/10/03/umbraco-mediapicker-firefox-bugfix.aspx</link><pubDate>Wed, 03 Oct 2007 11:16:05 +0100</pubDate><title>Umbraco Mediapicker Firefox Bugfix</title></item><item><author>Morten Bock</author><category>css</category><category>firefox</category><category>microsoft</category><category>virtual-pc</category><description>&lt;p&gt;Ja man kan næsten tro at det er med vilje, men jeg er nu alligevel lidt overrasket over at Microsofts nye website ikke fungerer super i Firefox browseren. Et lille eksempel:&lt;/p&gt;&lt;p&gt;&lt;a href="/media/images/microsoftwebsite.jpg" title="Microsofts Website i friefox"&gt;&lt;img src="/media/images/microsoftwebsite.thumbnail.jpg" alt="Microsofts Website i friefox" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Som I kan se, så har de lidt problemer med at få footeren til at blive i bunden :-)&lt;/p&gt;&lt;p&gt;I øvrigt er det ellers taget fra en side om den nye &lt;a href="http://www.microsoft.com/windows/products/winfamily/virtualpc/overview.mspx" target="_blank"&gt;Virtual PC 2007&lt;/a&gt; der netop er blevet frigivet.&lt;/p&gt;&lt;p&gt;Den glæder jeg mig til at prøve, imens jeg klukker lidt af at Microsft kæmper lige så meget med Floats som resten af verden :-)&lt;/p&gt;</description><guid isPermaLink="false">1169</guid><link>http://www.mortenbock.dk/blog/2007/02/20/microsofts-nye-website-og-firefox.aspx</link><pubDate>Tue, 20 Feb 2007 14:09:28 +0100</pubDate><title>Microsofts nye website og firefox</title></item></channel></rss>
