|
@ -299,7 +299,7 @@ $.fn.visibility = function(parameters) { |
|
|
.clone(false) |
|
|
.clone(false) |
|
|
.css('display', 'none') |
|
|
.css('display', 'none') |
|
|
.addClass(className.placeholder) |
|
|
.addClass(className.placeholder) |
|
|
.insertBefore($module) |
|
|
|
|
|
|
|
|
.insertAfter($module) |
|
|
; |
|
|
; |
|
|
module.debug('Added placeholder', $placeholder); |
|
|
module.debug('Added placeholder', $placeholder); |
|
|
settings.onTopPassed = function() { |
|
|
settings.onTopPassed = function() { |
|
@ -313,6 +313,7 @@ $.fn.visibility = function(parameters) { |
|
|
.css({ |
|
|
.css({ |
|
|
position : 'fixed', |
|
|
position : 'fixed', |
|
|
top : settings.offset + 'px', |
|
|
top : settings.offset + 'px', |
|
|
|
|
|
left : 'auto', |
|
|
zIndex : '1' |
|
|
zIndex : '1' |
|
|
}) |
|
|
}) |
|
|
; |
|
|
; |
|
@ -333,6 +334,7 @@ $.fn.visibility = function(parameters) { |
|
|
.css({ |
|
|
.css({ |
|
|
position : '', |
|
|
position : '', |
|
|
top : '', |
|
|
top : '', |
|
|
|
|
|
left : '', |
|
|
zIndex : '' |
|
|
zIndex : '' |
|
|
}) |
|
|
}) |
|
|
; |
|
|
; |
|
@ -382,7 +384,6 @@ $.fn.visibility = function(parameters) { |
|
|
|
|
|
|
|
|
refresh: function() { |
|
|
refresh: function() { |
|
|
module.debug('Refreshing constants (width/height)'); |
|
|
module.debug('Refreshing constants (width/height)'); |
|
|
console.log('here'); |
|
|
|
|
|
module.reset(); |
|
|
module.reset(); |
|
|
module.save.position(); |
|
|
module.save.position(); |
|
|
module.checkVisibility(); |
|
|
module.checkVisibility(); |
|
|