for a *really* simple mod, you can change the Remove function. Instead of
fading out, you can use the "hide" effect:

function TB_remove() {
  $("#TB_window").fadeOut("fast"...

change to:

function TB_remove() {
  $("#TB_window").hide("fast"...




Erik Beeson wrote:
> 
> Haven't actually tried, but I'd guess you'd add some CSS so TB_overlay and
> TB_window are initially hidden (display: none), and add
> $('#TB_overlay').doSomeAnimation() and $('#TB_window').doSomeAnimation()
> type calls after the $('body').append(...) line near the top of the
> TB_show
> function (or maybe outside the if statement? try it).
> 
> HTH,
> Erik
> 
> On 10/23/06, Anders Schneiderman <[EMAIL PROTECTED]> wrote:
>>
>>  Does anyone have code they wouldn't mind sharing that adds a simple
>> animation to thickbox? The documentation for thickbox says animations
>> have
>> been taken out of the latest versions of the code but that authors can
>> add
>> the ones they like.  Unfortunately, I'm still too new to jquery -- and
>> JavaScript -- to be clear on what I need to do.  So an example I could
>> model
>> would be fabulous.
>>
>> Thanks,
>> Anders
> 

-- 
View this message in context: 
http://www.nabble.com/Simple-Example-of-adding-animations-to-thickbox--tf2496978.html#a6961658
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to