modal window without animation?

For Joomla! 2.5 Coding related discussions, please use: http://groups.google.com/group/joomla-dev-general
Note: All 1.6, 1.7 and 3.5 releases have reached end of life and should be updated to 3.x.

Moderator: ooffick

Forum rules
Please use the mailing list here: http://groups.google.com/group/joomla-dev-general rather than this forum.
Locked
User avatar
carsten888
Joomla! Ace
Joomla! Ace
Posts: 1224
Joined: Sat Feb 11, 2006 8:32 am
Contact:

modal window without animation?

Post by carsten888 » Wed Oct 08, 2014 9:04 am

In a component I am using modal windows. The windows opens small and animated to the full size. I want it to just open at the right size, like the modal windows from the 'options' buttons.

my code

Code: Select all

<a href="url" class="modal" rel="{size: { x: 500 , y: 500}}">
options buttons code

Code: Select all

<a class="modal" href="url" rel="{handler: 'iframe', size: {x: 875, y: 550}, onClose: function() {}}">

But if I open my modal window as an iframe, after I hit the save button in the modal window, the next page is loaded inside the modal window. I want it to load in the parent window, like it does with my above code.

How to open the modal window without that slow and irritating animation?
http://www.pages-and-items.com my extensions:
User-Private-Page, Redirect-on-Login, Admin-Help-Pages, Dynamic-Menu-Links, Admin-Menu-Manager, plugin load module in article, plugin pure css tooltip and more...

Locked

Return to “Joomla! 2.5 Coding”