Advertisement
Guest User

arj

a guest
Jan 19th, 2009
400
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Index: C:/Documents and Settings/Administrator/My Documents/iola/kunder/detail data danmark/bi-opgave/source/bumblebee/bumblebee/scripts/jquery.simplemodal.js
  2. ===================================================================
  3. --- C:/Documents and Settings/Administrator/My Documents/iola/kunder/detail data danmark/bi-opgave/source/bumblebee/bumblebee/scripts/jquery.simplemodal.js (revision 3150)
  4. +++ C:/Documents and Settings/Administrator/My Documents/iola/kunder/detail data danmark/bi-opgave/source/bumblebee/bumblebee/scripts/jquery.simplemodal.js (working copy)
  5. @@ -127,7 +127,8 @@
  6. persist: false,
  7. onOpen: null,
  8. onShow: null,
  9. - onClose: null
  10. + onClose: null,
  11. + appendTo: 'body'
  12. };
  13.  
  14. /*
  15. @@ -222,7 +223,7 @@
  16. top: 0,
  17. left: 0
  18. }))
  19. - .appendTo('body');
  20. + .appendTo(this.opts.appendTo);
  21. }
  22.  
  23. // create the overlay
  24. @@ -239,7 +240,7 @@
  25. top: 0,
  26. zIndex: this.opts.zIndex + 1
  27. }))
  28. - .appendTo('body');
  29. + .appendTo(this.opts.appendTo);
  30.  
  31. // create the container
  32. this.dialog.container = $('<div/>')
  33. @@ -253,7 +254,7 @@
  34. .append(this.opts.close
  35. ? $(this.opts.closeHTML).addClass(this.opts.closeClass)
  36. : '')
  37. - .appendTo('body');
  38. + .appendTo(this.opts.appendTo);
  39.  
  40. this.setPosition();
  41.  
Advertisement
RAW Paste Data Copied
Advertisement