Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 3 of 3

Thread: Modal Window

  1. #1
    mohanrh is offline Member
    Join Date
    Jul 2009
    Posts
    78

    Default Modal Window

    Is it possible to open a modal window ( a popup window that needs user interaction to continue) using ML64?

    We have a requirement where in a user has to accept a condition and I am exploring the modal window route if that is supported.

    Any information in this regard is greately appreciated.

    Mohan

  2. #2
    ASPAlfred is offline Senior Member
    Join Date
    Nov 2007
    Posts
    2,244

    Default

    Sure. You could use javascript that looks something like below:

    Code:
    <script type="text/javascript"
    Function ModalWin() 
    {
        window.open('xpopupex.htm','name', 'height=255,width=250,toolbar=no,directories=no,status=no, menubar=no,scrollbars=no,resizable=no ,modal=yes');
    }
    </script>
    If your browser supports modal windows then it should popup fine.

  3. #3
    mbertulli is offline Senior Member
    Join Date
    Aug 2008
    Posts
    243

    Default

    Another option, depending on how technical you are, is to use jQuery and their UI library. They have some great interfaces for opening modal windows that require user action to continue. We've seen this deployed for clients who want to up-sell products when a user clicks "Add to Cart" button and also to accept Terms & Conditions upon add to cart.

    http://jquery.com
    Matthew Bertulli
    Demac Media
    mbertulli@demacmedia.com
    Custom Web Design & E-Commerce Development
    AspDotNetStoreFront Platinum DevNet Partner
    ----

    Custom Skinning & Design
    Web Services Integration
    Custom Reporting
    Salesforce.com eCommerce AspDotNetStoreFront Integration