| Server IP : 180.180.241.3 / Your IP : 216.73.216.35 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/app/webroot/news/plugins/content/jw_sigpro/includes/js/jquery_slimbox/extra/ |
Upload File : |
/*
This code automatically integrates Flickr thumbnails with Slimbox.
It will scan for all links around thumbnail images pointing to Flickr photo PAGES.
Note that you don't need to add rel="lightbox" to these links.
When clicking on a Flickr thumbnail, Slimbox will open and display the medium-sized image.
The title attribute of the link (or the alt attribute of the thumbnail if not available) will be used
as description text, and a link to the Flickr photo page will be added under the description.
Add the following code to the autoload code block.
*/
if (!/android|iphone|ipod|series60|symbian|windows ce|blackberry/i.test(navigator.userAgent)) {
jQuery(function($) {
$("a[href^='http://www.flickr.com/photos/'] > img:first-child[src]").parent().slimbox({}, function(el) {
return [el.firstChild.src.replace(/_[mts]\.(\w+)$/, ".$1"),
(el.title || el.firstChild.alt) + '<br /><a href="' + el.href + '">Flickr page</a>'];
});
});
}