WordPress.org

Ready to get started?Download WordPress

Forums

jQuery UI Widgets
'show' option on jQuery UI Dialog not working (1 post)

  1. robert.glez
    Member
    Posted 1 year ago #

    Hi,

    I'm using the plugin to open jQuery UI Dialogs. It works great but I'd like to use the "'show' : scale" option instead of what seems to be the default "'show' : slide", and it doesn't work. It will open the dialog as 'slide' anyways.

    This is the webpage in which I'm trying it:
    http://uinvenio.com/index.php/featured-products/biocrop-boost-system/

    For example, stage 1 is set to 'scale' while stage 7 is set to 'slide'. When clicking on them, both will open their dialogs as 'slide'. This is a fragment of the code I'm using:

    $("#biocropbox1-dialog").dialog( { 'title' : '1. Value Chain Prospection', 'show' : 'scale', 'autoOpen' : false, 'width' : 500, 'modal' : true, 'maxHeight' : 550, 'resizable' : false});
    
    $("#biocropbox1").click(function(){
            $("#biocropbox1-dialog").dialog("open");
            return false;
    }); 
    
    $("#biocropbox7-dialog").dialog( { 'title' : '7. Implementation and Follow Up', 'show' : 'slide', 'autoOpen' : false, 'width' : 500, 'modal' : true, 'maxHeight' : 550, 'resizable' : false});
    
    $("#biocropbox7").click(function(){
            $("#biocropbox7-dialog").dialog("open");
            return false;
    });

    Could you point me in the right direction of what's failing?

    Thank you very much in advance.

    http://wordpress.org/extend/plugins/jquery-ui-widgets/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.