Server IP : 180.180.241.3 / Your IP : 216.73.216.252 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /AppServ/www/news/plugins/content/jw_sigpro/includes/js/jquery_slimbox/extra/ |
Upload File : |
/* With the following code, Slimbox will activate itself automatically on all links pointing to images, or more specifically all links having URLs ending with: ".jpg" or ".png" or ".gif". As a result, you will not need to set the rel="lightbox" attribute on any link to activate Slimbox. Furthermore, all image links contained in the same block or paragraph (having the same parent element) will automatically be grouped together in a gallery, so you will not need to specify groups either. Images that are alone in their block or paragraph will be displayed individually. Replace the default autoload code block with this one. */ if (!/android|iphone|ipod|series60|symbian|windows ce|blackberry/i.test(navigator.userAgent)) { jQuery(function($) { $("a[href]").filter(function() { return /\.(jpg|png|gif)$/i.test(this.href); }).slimbox({}, null, function(el) { return (this == el) || (this.parentNode && (this.parentNode == el.parentNode)); }); }); }