Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. initInfoSlideshow: function() {
  2.         this.slideInfoZone = new Fx.Morph(new Element('div').addClass('slideInfoZone').injectInside($(this.galleryElement))).set({'opacity':0});
  3.         var slideInfoZoneTitle = new Element('h2').injectInside(this.slideInfoZone.element);
  4.         //INSERT SPAN INSIDE slideInfoZoneTitle HERE. HOW? :(
  5.         var slideInfoZoneDescription = new Element('p').injectInside(this.slideInfoZone.element);
  6.         this.slideInfoZone.normalHeight = this.slideInfoZone.element.offsetHeight;
  7.         this.slideInfoZone.element.setStyle('opacity',0);
  8.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement