where is the modalColor: 'greenYellow'(background ) in popup window?

499 Views Asked by At

There is example in jQuery.bPopup.js Example 2b

I want to create popup window with some style text and around the window background ,I try to implement the Example 2b, custom settings: Simple jQuery popup with custom settings (Jamaican popup, relax man)

$('element_to_pop_up').bPopup({
        fadeSpeed: 'slow', //can be a string ('slow'/'fast') or int
        followSpeed: 1500, //can be a string ('slow'/'fast') or int
        modalColor: 'greenYellow'
    });

But I miss something. thanks for any help.

jsFiddle Demo

1

There are 1 best solutions below

0
On BEST ANSWER

The problem is

appendTo: 'form'

I'm pretty sure the mask (the greenYellow thing) has to be attached to the body.

If you remove it, it works ;)