Search
Other Modals questions
Forum

Closing modals

Arnor Baldvinsson's Avatar Arnor Baldvinsson
Hi guys,

Couple of things:
1. I was not able to get the code to close the modal (as described here: docs4.regularlabs.com/modals/going-furth...#custom-close-button ) to work - neither method that is discussed. It would always throw an error on the .close() method indicating that the parent was null. I fixed it by simply using the click() function on the "X" close button.

2. When the modals closes, regardless of method it looks like there is some animation that happens. I want it just to close. Is there a way to remove this animation?

Best regards,
Peter van Westen's Avatar Peter van Westen ADMIN
Are you using Joomla 3 or 4?
Please post a rating at the Joomla! Extensions Directory
Arnor Baldvinsson's Avatar Arnor Baldvinsson
Hi Peter,

I'm using Joomla 4.2.8
Peter van Westen's Avatar Peter van Westen ADMIN
1) Only use the 'parent.' prefix if the content you are loading inside the modal is not inline.

2) Please try the latest development version from:
regularlabs.com/development-releases

Please post a rating at the Joomla! Extensions Directory
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription