Jump to content

JQuery tools overlay with JQueryu UI dialog?

- - - - -

  • Please log in to reply
No replies to this topic

#1
Stasonix

Stasonix

    Learning Programmer

  • Members
  • PipPipPip
  • 82 posts
  • Programming Language:C++, PHP, JavaScript, Delphi/Object Pascal, Pascal
  • Learning:C++, PHP, JavaScript, Delphi/Object Pascal
only for those who wellknown in jquery tools overlay

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....




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users