test

On Tue, Jul 14, 2009 at 1:12 PM, Nick <mrnickst...@gmail.com> wrote:

> Anyone:  I cant seem to get this to work.  If I pass "modal:true" in
> as a variable it doesn't work.  Anyone have any idea what is causing
> it to break?
>
> =======  Stark Working Code ==========
> var  modal = modal;
> var content = true;
>
>  var $dialog = $("<iframe frameborder='0' scrolling='no'
> allowtransparency='true' src='modals/" + modalID + ".html'></iframe>")
>
>                .dialog({
>                        modal:content
>
>                        });
>
>
>                $dialog.dialog('open');
> =======  End Working Code ==========
>
> =======  Stark Broken Code ==========
> var  modal = modal;
> var content = modal:true;
>
>  var $dialog = $("<iframe frameborder='0' scrolling='no'
> allowtransparency='true' src='modals/" + modalID + ".html'></iframe>")
>
>                .dialog({
>                        content
>
>                        });
>
>
>                $dialog.dialog('open');
>
> =======  End Broken Code ==========

Reply via email to