Coast Line
asked on
opening a popup window and animate it
Hi, i want to open a div as a popup window and i want that when i click the click, it should give an animate effect to open, like
it should start from middle and expand to its width, or a slidedown or slideup effect or flip effect.
how this can be achieved, i m scratching my head from last couple of hours could not get it done
it should start from middle and expand to its width, or a slidedown or slideup effect or flip effect.
how this can be achieved, i m scratching my head from last couple of hours could not get it done
ASKER
that is good, but what about the animation i asked, how i make it look fancy
Hi,
You can use show option with different values for jQuery Dialog.
Like:
Here is reference:
http://jquery-ui.googlecode.com/svn/trunk/demos/dialog/animated.html
http://jqueryui.com/demos/dialog/#option-show
You can use show option with different values for jQuery Dialog.
Like:
$('#dialog').dialog({
autoOpen: false,
show: 'blind',
hide: 'explode'
});
Here is reference:
http://jquery-ui.googlecode.com/svn/trunk/demos/dialog/animated.html
http://jqueryui.com/demos/dialog/#option-show
ASKER
Good Thanks, But i cannot use UI
just a simpledialog using the javascript or jquery and then animate it
just a simpledialog using the javascript or jquery and then animate it
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://www.codeproject.com/Articles/32147/Masked-Div-Or-Modal-Popup-Window
http://www.javascripttoolbox.com/lib/popup/example.php