Thursday, 12 April 2012

Alloy  Pop up

<script type="text/javascript">

function showPopup() {
    AUI().use('aui-dialog', 'aui-io', 'event-custom', 'io-form', function(A) {
            window.instance = new A.Dialog({
                                xy: [539, 124],
                                constrain2view: true,
                                destroyOnClose: true,
                                draggable: true,
                                height: 300,
                                resizable: false,
                                modal: true,
                                stack: true,
                                title: 'Sign In',
                                width: 300
                                }).plug(A.Plugin.IO, {uri: '$my_url'}).render();
                });
            }
</script>

No comments:

Post a Comment