Re: cvs: pearweb /public_html/javascript thickbox.js
| From: | Alan Knowles | Date: | Sat, 24 Mar 2007 00:43:43 +0000 |
| Subject: | Re: cvs: pearweb /public_html/javascript thickbox.js | ||
| References: | 1 | Groups: | php.pear.cvs php.pear.core |
| Request: | Send a blank email to pear-cvs+get-45396@lists.php.net to get a copy of this message | ||
Is it posible to use jQuery(), rather than $() at least when altering it..
- It's going to make that code alot more maintainable in the future...
Regards
Alan
David Coallier wrote:
davidc Fri Mar 23 21:43:06 2007 UTCModified files: /pearweb/public_html/javascript thickbox.js Log:- Added fadeIn for the appearance of the popup http://cvs.php.net/viewvc.cgi/pearweb/public_html/javascript/thickbox.js?r1=1.2&r2=1.3&diff_format=u Index: pearweb/public_html/javascript/thickbox.js diff -u pearweb/public_html/javascript/thickbox.js:1.2 pearweb/public_html/javascript/thickbox.js:1.3 --- pearweb/public_html/javascript/thickbox.js:1.2 Fri Mar 23 17:51:06 2007 +++ pearweb/public_html/javascript/thickbox.js Fri Mar 23 21:43:05 2007 @@ -224,8 +224,9 @@ }else{ $("#TB_ajaxContent").load(url, function(){ TB_position(); + $("#TB_load").remove(); - $("#TB_window").css({display:"block"}); + $("#TB_window").fadeIn("fast", function() {$("#TB_window").css({display:"block"})}); }); }