Guest User

Untitled

a guest
Dec 19th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. <body onload="load(); curvycurvy()" onunload="GUnload()">
  2.  
  3. /* This replaces "<body onload="load(); curvycurvy()" */
  4. $(document).on('load', function(){
  5. load();
  6. curvycurvy();
  7. });
  8.  
  9. /* This replaces onunload="GUnload()"> */
  10. $(window).unload(function() {
  11. GUnload();
  12. });
  13.  
  14. Drupal.behaviors.initCurvy = {
  15. attach: function (context, settings) {
  16. curvycurvy();
  17. }
  18. };
Add Comment
Please, Sign In to add comment