Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --> foundation.orbit.js
- [...]
- if(counter){//if not the first slide, set css position and display property
- $(this).css({'position': 'relative', 'display': 'none'});
- }
- max = temp > max ? temp : max;
- counter++;
- });
- //DISABLE height property --> row 236
- /*if(counter === this.$slides.length){
- this.$wrapper.css({'height': 'auto'});//only change the wrapper height property once.
- cb(max);//fire callback with max height dimension.
- } */
- };
- /**
- * Sets the max-height of each slide.
- * @function
- * @private
- */
- //DISABLE max-height property --> 246
- /*Orbit.prototype._setSlideHeight = function(height){
- this.$slides.each(function(){
- $(this).css('max-height', height);
- });
- };*/
- /**
- * Adds event listeners to basically everything within the element.
- * @function
- * @private
- */
- Orbit.prototype._events = function(){
- var _this = this;
- [...]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement