I need to close my opened form with overlay effect('apple' <--it's not my trouble), my trouble is in binding the events, I want only to close the form with that effect, my form is UI dialog, so it's not the same and I have no idea how to make it real?
for ui dialog need this
$('#dialog').dialog({
autoOpen: false
});
for tools overlay I need to do something like this $('a[rel]').overlay({effect:'apple'});
and for achieve 'apple' I need to use css
#dialog {
display: none;
background: url(test.png);
}
for open my form I do $('#button').click(function(){ $('#dialog').dialog('open'); });
form include 2 links 1 for close and other for save
<div id="dialog"> <a href="#" class="saver">SAVE</a> <a href="#" class="closer">CLOSE</a> </div>
effect 'apple' must be apply only when I pressed SAVE, I can't mind what I need to do now, problem....


Sign In
Create Account


Back to top









