BigCasey
27 Oct 2007, 7:39 PM
Hi!
I have a problem with ColdFusion's window creation. I asked the question on the CF forums, and it was suggested that it might be related to ExtJS and that I should ask it over here.
So -
I program a page that exceeds the normal browser window and therefore allows the user to scroll down to see the rest of the page. Towards the bottom of the page is an image for the person to click on for help. Clicking this causes the CF window to display with the appropriate help. The coordinates are programmed so that the window shows at the appropriate x,y coordinates.
This works fine in IE (the person clicks on the image, the window shows)
In Firefox, it scrolls the page back to the top (forcing the person to scroll back down to where the window was).
Any ideas?
CF Code that can illustrate the problem:
<cfwindow initShow="true" name="TestWin" x="150" y="1900" modal="true">This is a test window</cfwindow>
<cfloop from="1" to="50" index="dummy">
Content goes here<br><br>
</cfloop>
<a onClick="javascript:ColdFusion.Window.show('TestWin')">Show Window</a>
<br><br><br><br><br><br><br><br><br><br>
I have a problem with ColdFusion's window creation. I asked the question on the CF forums, and it was suggested that it might be related to ExtJS and that I should ask it over here.
So -
I program a page that exceeds the normal browser window and therefore allows the user to scroll down to see the rest of the page. Towards the bottom of the page is an image for the person to click on for help. Clicking this causes the CF window to display with the appropriate help. The coordinates are programmed so that the window shows at the appropriate x,y coordinates.
This works fine in IE (the person clicks on the image, the window shows)
In Firefox, it scrolls the page back to the top (forcing the person to scroll back down to where the window was).
Any ideas?
CF Code that can illustrate the problem:
<cfwindow initShow="true" name="TestWin" x="150" y="1900" modal="true">This is a test window</cfwindow>
<cfloop from="1" to="50" index="dummy">
Content goes here<br><br>
</cfloop>
<a onClick="javascript:ColdFusion.Window.show('TestWin')">Show Window</a>
<br><br><br><br><br><br><br><br><br><br>