Is it possible to recreate the scaling effect for dialogs in jquery without having to load the lightbox plugin?
I would like to add animation to my dialogs to simulate the “zoom” effect found on this page when you click on one of the images.
without requiring another plugin, can this be done using jQuery out of the box? I would like to be able to have dialogs of (modal) animation from a certain point on the screen that the user clicked (for example, a button or link) into a larger container with relevant content - the effect of overlaying the scale?
any help is appreciated ...
Edited by:
$(function() {
$("#testdialog").dialog({
autoOpen: false,
minWidth: 425,
minHeight: 300,
position: ['center', 115],
resizable: false,
modal: true
});
$("#opener").click(function () {
$("#testdialog").dialog("open").position();
return false;
});
});
[div id = "testdialog"] some content here [/ div]
[input type="button" id = "" /]