Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added semicolons

Signed-off-by: Matt McManus <mattmcmanus@gmail.com>
  • Loading branch information...
commit e165698cacee97482f64bed43f8bafb589e37d8c 1 parent d75ff3b
Mike Nicholaides authored committed
Showing with 7 additions and 6 deletions.
  1. +7 −6 jquery.fadeAble.js
View
13 jquery.fadeAble.js
@@ -13,7 +13,8 @@
loop: false,
images: [],
current: 0
- }
+ };
+
// Set the options.
var options = $.extend(defaults, options);
@@ -22,15 +23,15 @@
var container = this;
var containerImage = $(container).children('img');
- $(container).css({'position':'relative','height':$(containerImage).height(),'width':$(containerImage).width()})
+ $(container).css({'position':'relative','height':$(containerImage).height(),'width':$(containerImage).width()});
$(options.images).each(function(){
- $(container).append('<img style="display:none" src="'+this+'" />')
- })
+ $(container).append('<img style="display:none" src="'+this+'" />');
+ });
- $(container).children('img').css({'position':'absolute','top':'0','left':'0','z-index':'-1'})
+ $(container).children('img').css({'position':'absolute','top':'0','left':'0','z-index':'-1'});
- options.images = $.merge([$(container).children('img:eq(0)').attr('src')],options.images)
+ options.images = $.merge([$(container).children('img:eq(0)').attr('src')],options.images);
if (options.controlsShow){
var controls = ' <span class="button" id="'+ options.prevId +'"><a href=\"javascript:void(0);\">'+ options.prevText +'</a></span>';
Please sign in to comment.
Something went wrong with that request. Please try again.