Guest User

Untitled

a guest
Mar 6th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. // Copyright (c) 2007 Net Collective.
  2.  
  3. var Rules = {
  4.  
  5. ".ccDetailFields": function(element)
  6. {
  7. //Element.hide(element);
  8. }
  9.  
  10. }
  11.  
  12. function slideCCForm(element, foo)
  13. {
  14. if(Element.visible(element) && (foo == "specify" || foo == "up"))
  15. {
  16. Effect.SlideUp(element, { duration: 0.55 });
  17. }
  18. else if(Element.visible(element) == false && (foo == "creditcard" || foo == "down"))
  19. {
  20. Effect.SlideDown(element, { duration: 0.55 });
  21. }
  22. }
  23.  
  24. window.onload = function()
  25. {
  26. EventSelectors.start(Rules);
  27. }
Add Comment
Please, Sign In to add comment