amatyr4n

amatyr4n does not currently provide support for this item.

184 comments found.

Hi,

Question.

I have a page with a hydraulic cylinder and 10 components. The user can change size of each component by clicking a link.

I have then created 10 divs, one for each components containing text, forms etc. I would like the users to open divs, using Popup Dialog/Modal. One link for each matching div.

Guess it’s just a matter of show/hide the relevant div, based on a link-click.

Something like this: <a href="#" id="Modal1">Change item 1</a> <a href="#" id="Modal2">Change item 2</a> <a href="#" id="Modal3">Change item 3</a> <div id="Modal1" style="display:none;"> ......... <form>.... bla bla bla </div>

Is this something this modal popup can do?

Regards,

Kenneth

Hi kenneth, to achieve that you can use this code for example when the link clicked:

$.fallr('show', {
    content : $('#Modal1').html(),
    buttons : {
        button1 : {text: 'Close'}
    },
    width: '300px',
    height: '300px'
});

Also, you should use different id for link and modal..

-amatyr4n

Hi,

Do you know how to make the popup stay until someone press the OK button? Only then the cookie will be created. Then the popup don’t have to show itself anymore. So do you know how to make it work?

Ha Ha the Live Preview page goes to Adult Friend Finder, nice work buddy!

Hi nickclack, Sorry it was hacked back then got fixed immediately..

-amatyr4n

Hello amatyr4n, I have an app thats load pages with ajax. When run the main page, works fine, but, when run another page, don’t works.Another thing is about the call. When runs out of $(document).ready…., don’t works to.

Can helps me friend? is a good plugin, and helps me a lot.

God bless

Hello amatyr4n, after search, I discovered that ajax call has destroying some elements on DOM, including #fallr-overlay. After ignored, all things back to work.

Thanks man

by
by
by
by
by
by