cf_window additions
I decided to throw in a couple of additions as well as a solution for a problem some people where having. The first thing I added was a source attribute. This will be an external URL that you can load into a window. You may be asking yourself, what about the autoLoad attribute. Right now the updater will only load files from the same domain and I believe there are security reasons behind that. If you try and pass an external URL to the autoLoad attribute it will not work. That is where the source comes in, it will trick the window and load the URL into and iframe that fills the window. I may remove autoLoad later and based the domain of the source figure out if I should auto load it or throw it in an iframe but we will visit that another time. Here is a quick example of how to use the source attribute.
<html>
<head>
<title>cf_window / External SRC Example</title>
<ext:include widget="cfwindow"/>
</head>
<body>
<ext:window id="adobe" title="www.adobe.com" width="800" height="600" modal="true"
closeAction="hide" collapsible="true" bodyStyle="padding:0px;" source="http://www.adobe.com">
</ext:window>
<a href="##" onclick="adobe.show();">www.adobe.com</a>
<br /><br />
</body>
</html>
<html>
<head>
<title>cf_window / Full Path</title>
<ext:include widget="cfwindow" path="http://www.danvega.org/examples/" theme="gray"/>
</head>
<body>
<ext:window title="A Basic Window" width="300" height="200">
I am <strong>html</strong>
</ext:window>
</body>
</html>
http://www.danvega.org/examples/cfwindow/
