Advertisement
Guest User

NullUserException

a guest
Sep 18th, 2010
462
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // JavaScript Document
  2.  
  3.     $(document).ready(function() {
  4.  
  5.             /* Form Animation starts here */           
  6.             $("#newsletter").livingElements("images/input-mask.png", {
  7.                 background:"url('images/gradient.png') no-repeat",
  8.                 easing: 'swing',
  9.                 triggerElementSelector: 'input',
  10.                 preAnimationStartOpacity: 0,
  11.                 mainAnimationFade: false,
  12.                 scrollDirection: 'horizontal',                 
  13.                 mainAnimationDuration:3800,
  14.                 mainAnimationStartBackgroundPositionX: -1300,              
  15.                 mainAnimationEndBackgroundPositionX: 0,
  16.                 postAnimationEndOpacity: 0     
  17.                 });
  18.  
  19.             /* Date Animation starts here */
  20.             var austDay = new Date();      
  21.             austDay = new Date(austDay.getFullYear() + 1, 1 - 1, 26);
  22.        
  23.             $('#countdown').countdown({until: austDay, layout: '<div id="days" class="numbers">{dnn}</div>'+
  24.                                 '<div class="spacer"></div>'+
  25.                                 '<div id="hours" class="numbers">{hnn}</div>'+
  26.                                 '<div class="spacer"></div>'+
  27.                                 '<div id="minutes" class="numbers">{mnn}</div>'+
  28.                                 '<div class="spacer"></div>'+
  29.                                 '<div id="seconds" class="numbers">{snn}</div>'+
  30.                                 '</div>'});
  31.  
  32.     });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement