- version 3.6
Check those constraints:
$this->anything()
var CKEDITORPluginExtras = false; | |
if (typeof(CKEDITOR) != 'undefined' ) { | |
CKEDITOR.on('instanceReady',function(event, instance){ | |
if (CKEDITORPluginExtras) { | |
return; | |
} | |
var config = event.editor.config; | |
CKEDITOR.instances.body.destroy(); |
(function($) { | |
$.belowthefold = function(element, settings) { | |
var fold = $(window).height() + $(window).scrollTop(); | |
return fold <= $(element).offset().top - settings.threshold; | |
}; | |
$.abovethetop = function(element, settings) { | |
var top = $(window).scrollTop(); | |
return top >= $(element).offset().top + $(element).height() - settings.threshold; |