You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

overlay "mask" attribute Created Aug 23, 2010

This thread is solved

Views: 1574     Replies: 1     Last reply Jan 12, 2011  
You must login first before you can use this feature

tchepi

Posts: 11

Registered:
Aug 23, 2010

overlay "mask" attribute

Posted: Aug 23, 2010

Hello,

I am using following code

        $("a[rel]").each(function(i){
            $(this).overlay({

		mask: 'darkred',
		effect: 'apple',
                //closeOnClick: false,

                onBeforeLoad: function()
                {
                    // grab wrapper element inside content
                    var wrap = this.getOverlay().find(".contentWrap");

                    // load the page specified in the trigger
                    var self = this;
                    wrap.load(this.getTrigger().attr("href"), function(){
                        $('a.close', this).click(function(){self.close()});
                    });
                }

            });
        });

with the mask attribute set to 'darkred', I am expecting the source window to be turned into dark red and not be clickable. This is not the case. I am wondering what I could be doing wrong here.... Any Idea?

Thanks in advance.

tifaxp26

Posts: 1

Registered:
Jan 12, 2011

» overlay "mask" attribute

Posted: Jan 12, 2011

Reply to: overlay "mask" attribute, from tchepi
mask: {
color: '#000000',
loadSpeed: 500,
opacity: 0.9
},
closeOnClick: false