Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.fn.blah = function() {
- return this.each(function() {
- var self = this;
- $(self).slideDown("slow");
- window.setTimeout(function() {
- $(self).slideUp("slow");
- }, 4000);
- });
- }
- $(document).ready(function() {
- $("#error, #message").blah();
- });
Add Comment
Please, Sign In to add comment