I can't change the cursor for the jQuery BlockUI Plugin... Am I the
only one ?

// override these in your code to change the default behavior and
style
                $.blockUI.defaults = {
                    // message displayed when blocking (use null for no message)
                    message: null,

                    // styles for the message when blocking; if you wish to 
disable
                    // these and use an external stylesheet then do this in your
code:
                    // $.blockUI.defaults.css = {};
                    css: {
                        padding: 0,
                        margin: 0,
                        width: '30%',
                        top: '40%',
                        left: '35%',
                        textAlign: 'center',
                        color: '#fff',
                        border: '3px solid #fff',
                        backgroundColor: '#fff',
                        cursor: 'pointer'
                    },

                    // styles for the overlay
                    overlayCSS: {
                        backgroundColor: '#fff',
                        opacity: '0.4'
                    },

                    // z-index for the blocking overlay
                    baseZ: 100000000000000,

                    // set these to true to have the message automatically 
centered
                    centerX: true, // <-- only effects element blocking (page 
block
controlled via css above)
                    centerY: true,

                    // allow body element to be stetched in ie6; this makes 
blocking
look better
                    // on "short" pages.  disable if you wish to prevent 
changes to
the body height
                    allowBodyStretch: true,

                    // be default blockUI will supress tab navigation from 
leaving
blocking content;
                    constrainTabKey: true,

                    // fadeOut time in millis; set to 0 to disable fadeout on
unblock
                    fadeOut: 0,

                    // suppresses the use of overlay styles on FF/Linux (due to
significant performance issues with opacity)
                    applyPlatformOpacityRules: true
                };

I still see a "wait" cursor.

Thanks,

W3Max

Reply via email to