[resolved][debugged] SyntaxHighlighter and Advanced AJAX Page Loader plugin
-
there is a bug when using simultanly wordpress SyntaxHighlighter Evolved plugin with Advanced AJAX Page Loader plugin.
you should add a little detector of the highligth object and relaunch the highligh method in the ajax-page-loader.js file. This should work with other bug of the support page; answer this post i try to debugg quickly yours.
/* Plugin Name: Advanced AJAX Page Loader Version: 2.6.4 Plugin URI: http://software.resplace.net/WordPress/AjaxPageLoader.php Description: Load pages within blog without reloading page, shows loading bar and updates the browsers URL so that the user can bookmark or share the url as if they had loaded a page normally. Also updates there history so they have a track of there browsing habbits on your blog! Author URI: http://dean.resplace.net Author: Dean Williams */ //Set this to true if your getting some javascript problems var AAPL_reloadDocumentReady = false; //Dont mess with these... var AAPL_isLoad = false; var AAPL_started = false; var AAPL_searchPath = null; var AAPL_ua = jQuery.browser; // BEGIN OF SYNTAX HIGHLIGHT PATCH // check if SyntaxHighlighter is here // and try to use highlight method if(SyntaxHighlighter){ try{ SyntaxHighlighter.highlight(); } catch(err){ console.log(err); } } //END OF SYNTAX HIGHLIGHT PATCH
work on my blog https://z8po.dyndns.info
http://wordpress.org/extend/plugins/advanced-ajax-page-loader/
- The topic ‘[resolved][debugged] SyntaxHighlighter and Advanced AJAX Page Loader plugin’ is closed to new replies.