That might be true, but if you
1) use $('#id').dialog(),
2) then close,
3) then $('#id').dialog('open')

it doesn't reload according to my test.
I can go on repeating steps 2 & 3 as many times as I want without the
iframe reloading.
I think if you only show/hide the iframe (as the above does) it won't reload.

On Thu, Jan 14, 2010 at 10:34 AM, Gus Waddell <guswadd...@gmail.com> wrote:
> I forgot to mention - this doesn't appear to be limited to dialog. Just
> moving an iFrame causes the IFrame to refresh in FF:
> <a href="javascript:void(0);" onClick="moveIFrame();">Move IFrame</a>
> <br /><br />
> <div id="IFrameDiv1">
> <strong>IFrameDiv1</strong>
> <div id="mIframe3">
> <iframe src="mIframe3.cfm"></iframe>
> </div>
> </div>
> <br />
> <div id="IFrameDiv2" style="display:block; background-color:red">
> <strong>IFrameDiv2</strong>
> </div>
> <script type="text/javascript" language="javascript">
> function moveIFrame(){
> if ( $('#mIframe3').parent().attr('id') == 'IFrameDiv1' ){
> $('#mIframe3').appendTo('#IFrameDiv2');
> } else {
> $('#mIframe3').appendTo('#IFrameDiv1');
> }
> }
> </script>
>
> --
> You received this message because you are subscribed to the Google Groups
> "jQuery UI" group.
> To post to this group, send email to jquery...@googlegroups.com.
> To unsubscribe from this group, send email to
> jquery-ui+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/jquery-ui?hl=en.
>
>



-- 
Best regards,
Balázs Suhajda
-- 
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to jquery...@googlegroups.com.
To unsubscribe from this group, send email to 
jquery-ui+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en.


Reply via email to