Benutzer-Werkzeuge

Webseiten-Werkzeuge


Seitenleiste

3D

INTERN

ADOBE

ARDUINO

BITBUCKET

DOCKER

C4D

GIT

HTML

IPHONE

JAVASCRIPT

JTL-SHOP

LARAVEL

MAGENTO2

MYSQL

PHP

PLESK

PROCESSING

PYTHON

SUITECRM

SEO

TRYTON

THUNDERBIRD / ICEDOVE / FossaMail

TYPO3

TYPO3: BACKEND

TYPO3: TYPOSCRIPT

UNIX

VLC

VVVV

WINDOWS

WINDOWS 10

WORDPRESS

XAMPP

XT:C 4 (Veyton)

wordpress-advanced-ajax-page-loader-notes

Dies ist eine alte Version des Dokuments!


Wordpress advanced-ajax-page-loader Notes

quick notes on the process the plugin uses to reload a wordpress section. AJAX is somwhat complex topic. These notes serve as personal research notes.

ajax-page-loader.js

//scope default = #content
AAPL_loadPageInit(scope){
//other code
 
 AAPL_loadPage(this.href);
//this.href = http://google.de/mysite
}
 
 
function AAPL_loadPage(url, push, getData){
  //other code
 
  jQuery('#' + AAPL_content).fadeOut("slow", function(){
    //functions that get called when fadeOut is complete
    //.fadeOut( [duration ] [, complete ] )
  }
}

jQuery .animate()

//.animate( properties [, duration ] [, easing ] [, complete ] )

// properties = plainObject
///An object of CSS properties and values that the animation will move toward.

// duration = number or string
///default= 400

// easing = string
///default = swing

//complete = function
///function call if animation is complete
wordpress-advanced-ajax-page-loader-notes.1426026678.txt.gz · Zuletzt geändert: 2015/03/10 23:31 von admin