Advertisement
Guest User

Untitled

a guest
Apr 16th, 2014
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. function Slideshow( originalslideshowid, nextslideshowId ) {
  2.  
  3. this.originalslideshowId = originalslideshowid;
  4. this.nextslideshowId = nextslideshowId;
  5.  
  6. $("#nextslideshow").click( function(e) {
  7.  
  8. hideoriginal( this.originalslideshowId );
  9.  
  10. } );
  11.  
  12. this.showOriginal = function() {
  13.  
  14. $( this.originalslideshow ).click(function(e) {
  15.  
  16. shownext(this.nextslideshowId);
  17.  
  18. });
  19.  
  20. };
  21.  
  22. };
  23.  
  24. function Slideshow( originalslideshowid, nextslideshowId ) {
  25. var _this = this;
  26.  
  27. this.originalslideshowId = originalslideshowid;
  28. this.nextslideshowId = nextslideshowId;
  29.  
  30. $("#nextslideshow").click( function(e) {
  31. hideoriginal( _this.originalslideshowId );
  32. });
  33.  
  34. this.showOriginal = function() {
  35. $( this.originalslideshow ).click(function(e) {
  36. shownext(_this.nextslideshowId);
  37. });
  38. };
  39. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement