<?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"
	>
<channel>
	<title>Comments on: Enhancements to subModal</title>
	<atom:link href="http://gabrito.com/post/enhancements-to-submodal/feed" rel="self" type="application/rss+xml" />
	<link>http://gabrito.com/post/enhancements-to-submodal</link>
	<description>Anecdotes on Java, Ruby, Sysadmin, SEO, Design, and Management</description>
	<pubDate>Wed, 08 Oct 2008 10:43:20 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Todd Huss</title>
		<link>http://gabrito.com/post/enhancements-to-submodal#comment-2814</link>
		<dc:creator>Todd Huss</dc:creator>
		<pubDate>Mon, 03 Jul 2006 17:29:33 +0000</pubDate>
		<guid isPermaLink="false">http://gabrito.com/post/enhancements-to-submodal#comment-2814</guid>
		<description>I'm glad so many people are enjoying my submodal derivative! The support requests have become time consuming though and mostly for issues that aren't problems with submodal. So I'm shutting off comments and only accepting patches/fixes now. If you're smart enough to be using submodal then you're smart enough to fix it and test the fix across browsers. 

If you think you've fixed a bug with submodal create a patch file for it and email it to thuss at gabrito dot com and I'll incorporate it into the main distribution!</description>
		<content:encoded><![CDATA[<p>I&#8217;m glad so many people are enjoying my submodal derivative! The support requests have become time consuming though and mostly for issues that aren&#8217;t problems with submodal. So I&#8217;m shutting off comments and only accepting patches/fixes now. If you&#8217;re smart enough to be using submodal then you&#8217;re smart enough to fix it and test the fix across browsers. </p>
<p>If you think you&#8217;ve fixed a bug with submodal create a patch file for it and email it to thuss at gabrito dot com and I&#8217;ll incorporate it into the main distribution!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://gabrito.com/post/enhancements-to-submodal#comment-2644</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Fri, 30 Jun 2006 11:02:39 +0000</pubDate>
		<guid isPermaLink="false">http://gabrito.com/post/enhancements-to-submodal#comment-2644</guid>
		<description>For those who want to see my problem in action ...
Have a look at:
http://www.lostonearth.nl/tools/filebrowser/</description>
		<content:encoded><![CDATA[<p>For those who want to see my problem in action &#8230;<br />
Have a look at:<br />
<a href="http://www.lostonearth.nl/tools/filebrowser/" rel="nofollow">http://www.lostonearth.nl/tools/filebrowser/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://gabrito.com/post/enhancements-to-submodal#comment-2453</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Wed, 28 Jun 2006 09:32:37 +0000</pubDate>
		<guid isPermaLink="false">http://gabrito.com/post/enhancements-to-submodal#comment-2453</guid>
		<description>Hello,

This submodal is great and ideal to integrated it with my CMS as a file-selection tool. Unfortunatly I have a problem in FireFox (1.5.0.4). Any help would be greatly appreciated.

The case:
In the parent window I have a form with a textfield and a button. When the button is pressed the submodal is loaded and filled with directory listing and available files (all HTML). When user clicks on a file the parent.form.textfield is updated and submodal is closed.

The problem: 
When the button is pressed to load submodal, the submodal loading.html is shown for less than a second, but when the actual 'fileselection page' is loaded, the parent.form is automatically submitted and submodal is closed. These last two actions are unwanted.
In IE the problem does NOT occur.

Any hints?</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>This submodal is great and ideal to integrated it with my CMS as a file-selection tool. Unfortunatly I have a problem in FireFox (1.5.0.4). Any help would be greatly appreciated.</p>
<p>The case:<br />
In the parent window I have a form with a textfield and a button. When the button is pressed the submodal is loaded and filled with directory listing and available files (all HTML). When user clicks on a file the parent.form.textfield is updated and submodal is closed.</p>
<p>The problem:<br />
When the button is pressed to load submodal, the submodal loading.html is shown for less than a second, but when the actual &#8216;fileselection page&#8217; is loaded, the parent.form is automatically submitted and submodal is closed. These last two actions are unwanted.<br />
In IE the problem does NOT occur.</p>
<p>Any hints?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vadim</title>
		<link>http://gabrito.com/post/enhancements-to-submodal#comment-2297</link>
		<dc:creator>vadim</dc:creator>
		<pubDate>Mon, 26 Jun 2006 01:58:52 +0000</pubDate>
		<guid isPermaLink="false">http://gabrito.com/post/enhancements-to-submodal#comment-2297</guid>
		<description>Hi V,

This solved my problem, I had to both change the doctype of my page, and uncomment 
addEvent(window, “scroll”, centerPopWin);

Thanks a lot,

Vadim</description>
		<content:encoded><![CDATA[<p>Hi V,</p>
<p>This solved my problem, I had to both change the doctype of my page, and uncomment<br />
addEvent(window, “scroll”, centerPopWin);</p>
<p>Thanks a lot,</p>
<p>Vadim</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: v</title>
		<link>http://gabrito.com/post/enhancements-to-submodal#comment-2118</link>
		<dc:creator>v</dc:creator>
		<pubDate>Sat, 24 Jun 2006 09:00:38 +0000</pubDate>
		<guid isPermaLink="false">http://gabrito.com/post/enhancements-to-submodal#comment-2118</guid>
		<description>Sorry for the above comment:

Btw heres the doctype that should work

&#60;!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Transitional//EN&#34; 
&#34;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#34;&#62;

And this is what I'm using

&#60;!DOCTYPE html PUBLIC &#34;-//W3C//DTD HTML 4.0 Transitional//EN&#34;&#62;</description>
		<content:encoded><![CDATA[<p>Sorry for the above comment:</p>
<p>Btw heres the doctype that should work</p>
<p>&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot;<br />
&quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;</p>
<p>And this is what I&#8217;m using</p>
<p>&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: v</title>
		<link>http://gabrito.com/post/enhancements-to-submodal#comment-2116</link>
		<dc:creator>v</dc:creator>
		<pubDate>Sat, 24 Jun 2006 08:51:32 +0000</pubDate>
		<guid isPermaLink="false">http://gabrito.com/post/enhancements-to-submodal#comment-2116</guid>
		<description>Todd
U'v done a nice job packing/upgrading this script.

vadim
Have you check the doctype of your page.
The doctype below will solve your problem I guess.
 
 

Unfortunately for me it wont because I have no control over it.
Below is the doctype of my pages.



Any Idea how to achive the save looks/bahavior with this doctype?
Thanks</description>
		<content:encoded><![CDATA[<p>Todd<br />
U&#8217;v done a nice job packing/upgrading this script.</p>
<p>vadim<br />
Have you check the doctype of your page.<br />
The doctype below will solve your problem I guess.</p>
<p>Unfortunately for me it wont because I have no control over it.<br />
Below is the doctype of my pages.</p>
<p>Any Idea how to achive the save looks/bahavior with this doctype?<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://gabrito.com/post/enhancements-to-submodal#comment-1405</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Fri, 16 Jun 2006 20:53:38 +0000</pubDate>
		<guid isPermaLink="false">http://gabrito.com/post/enhancements-to-submodal#comment-1405</guid>
		<description>Todd,

I am playing around with your submodal code on a .NET webform and after some postbacks it seems to randomly make the sumodal form the new main form (like doing an "_top" in the call). Have you ever seen this, or have and tips on where to debug to catch what could be causing this?

Thanks,

Jeff</description>
		<content:encoded><![CDATA[<p>Todd,</p>
<p>I am playing around with your submodal code on a .NET webform and after some postbacks it seems to randomly make the sumodal form the new main form (like doing an &#8220;_top&#8221; in the call). Have you ever seen this, or have and tips on where to debug to catch what could be causing this?</p>
<p>Thanks,</p>
<p>Jeff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vadim</title>
		<link>http://gabrito.com/post/enhancements-to-submodal#comment-1295</link>
		<dc:creator>vadim</dc:creator>
		<pubDate>Tue, 13 Jun 2006 23:54:38 +0000</pubDate>
		<guid isPermaLink="false">http://gabrito.com/post/enhancements-to-submodal#comment-1295</guid>
		<description>Todd,
I will definitely try to debug this. 
You gave me a direction to investigate and I think the problem is in onscroll event because resizing works, it's when I scroll down the image won't position itself in the center of the page but rather slides up with the rest of the page.

Thanks a lot

Vadim</description>
		<content:encoded><![CDATA[<p>Todd,<br />
I will definitely try to debug this.<br />
You gave me a direction to investigate and I think the problem is in onscroll event because resizing works, it&#8217;s when I scroll down the image won&#8217;t position itself in the center of the page but rather slides up with the rest of the page.</p>
<p>Thanks a lot</p>
<p>Vadim</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Todd Huss</title>
		<link>http://gabrito.com/post/enhancements-to-submodal#comment-1294</link>
		<dc:creator>Todd Huss</dc:creator>
		<pubDate>Tue, 13 Jun 2006 20:55:11 +0000</pubDate>
		<guid isPermaLink="false">http://gabrito.com/post/enhancements-to-submodal#comment-1294</guid>
		<description>Hi Vadim, I've seen errors like that occur when other javascript on the page is conflicting with subModal or if you have a javascript error somewhere on your page. There's a line in submodalsource.js that add's an event to redraw the submodal window when the browser is resized or scrolled:

addEvent(window, "resize", centerPopWin);

It sounds to me like it's not running. Two suggestions:

1. In Firefox go to Tools -&gt; Javascript Console and look for any Javascript errors on your page. You can ignore CSS errors.

2. Install the Firebug plugin for Firefox that will let you debug your Javascript and give you a green indicator if everything looks OK on the page:

http://www.joehewitt.com/software/firebug/</description>
		<content:encoded><![CDATA[<p>Hi Vadim, I&#8217;ve seen errors like that occur when other javascript on the page is conflicting with subModal or if you have a javascript error somewhere on your page. There&#8217;s a line in submodalsource.js that add&#8217;s an event to redraw the submodal window when the browser is resized or scrolled:</p>
<p>addEvent(window, &#8220;resize&#8221;, centerPopWin);</p>
<p>It sounds to me like it&#8217;s not running. Two suggestions:</p>
<p>1. In Firefox go to Tools -> Javascript Console and look for any Javascript errors on your page. You can ignore CSS errors.</p>
<p>2. Install the Firebug plugin for Firefox that will let you debug your Javascript and give you a green indicator if everything looks OK on the page:</p>
<p><a href="http://www.joehewitt.com/software/firebug/" rel="nofollow">http://www.joehewitt.com/software/firebug/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vadim</title>
		<link>http://gabrito.com/post/enhancements-to-submodal#comment-1293</link>
		<dc:creator>vadim</dc:creator>
		<pubDate>Tue, 13 Jun 2006 20:04:31 +0000</pubDate>
		<guid isPermaLink="false">http://gabrito.com/post/enhancements-to-submodal#comment-1293</guid>
		<description>Hi Todd,

Thanks a lot for your reply.
Yes, your site looks OK in my browser (it's IE6), and the submodal window popups in a proper place all the time, and when I scroll your site the window is positioned in the middle (except for cases when the browser is not maximized then window on your site does not reposition itself when the main window is scrolled), but anyway it looks very good.
For some reason in my app the popup is always positioned at the top of the browser window and the blueish div covers only the top part of the window, if I scroll the window down, the popup does not reposition itself. I just use the latest downloaded code from  http://www.subimage.com/dhtml/subModal.
Do you have any suggestions of what might be causing this on my side?

Thanks again

Vadim</description>
		<content:encoded><![CDATA[<p>Hi Todd,</p>
<p>Thanks a lot for your reply.<br />
Yes, your site looks OK in my browser (it&#8217;s IE6), and the submodal window popups in a proper place all the time, and when I scroll your site the window is positioned in the middle (except for cases when the browser is not maximized then window on your site does not reposition itself when the main window is scrolled), but anyway it looks very good.<br />
For some reason in my app the popup is always positioned at the top of the browser window and the blueish div covers only the top part of the window, if I scroll the window down, the popup does not reposition itself. I just use the latest downloaded code from  <a href="http://www.subimage.com/dhtml/subModal" rel="nofollow">http://www.subimage.com/dhtml/subModal</a>.<br />
Do you have any suggestions of what might be causing this on my side?</p>
<p>Thanks again</p>
<p>Vadim</p>
]]></content:encoded>
	</item>
</channel>
</rss>
