w2utils.transition

Transitions two absolute DIVs.
transition(div_old, div_new, type, [callBack])
div_old HTML Element or jQuery object, div to transition from
div_new HTML Element or jQuery object, div to transition to
type string, transition type
callBack function, optional, call back when transition is finished
The first argument div_old is the div element to transition from, the second argument div_old is the div element to transition to. The third argument type can be one of the following:
  • slide-left
  • slide-right
  • slide-top
  • slide-bottom
  • flip-left
  • flip-right
  • flip-top
  • flip-bottom
  • pop-in
  • pop-out

User Comments

comments powered by Disqus