403Webshell
Server IP : 209.205.66.10  /  Your IP : 216.73.216.173
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux ammon 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64
User :  ( 1006)
PHP Version : 8.5.8
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/bissett/gerardgraffix/ContentFlow/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/bissett/gerardgraffix/ContentFlow/ContentFlowAddOn_lightbox.js
/*  ContentFlowAddOn_lightbox, version 3.0 
 *  (c) 2008 - 2010 Sebastian Kutsch
 *  <http://www.jacksasylum.eu/ContentFlow/>
 *
 *  This file is distributed under the terms of the MIT license.
 *  (see http://www.jacksasylum.eu/ContentFlow/LICENSE)
 */

new ContentFlowAddOn ('lightbox', {


    init: function () {
        var lightboxBaseDir = this.scriptpath+"lightbox/";
        var lightboxCSSBaseDir = lightboxBaseDir;
        var lightboxImageBaseDir = lightboxBaseDir;

        this.addScript(lightboxBaseDir+"lightbox.js");
        this.addStylesheet(lightboxCSSBaseDir+"lightbox.css");
        document.write('<script type="text/javascript">\
            var loadingImage = "'+lightboxImageBaseDir+'loading.gif";\
            var closeButton = "'+lightboxImageBaseDir+'close.gif";	\
        </script>');
    },
	
	ContentFlowConf: {
        onclickInactiveItem: function (item) {
            this.conf.onclickActiveItem(item);
        },

        onclickActiveItem: function (item) {
            var content = item.content;
            if (content.getAttribute('src')) {
                if (item.content.getAttribute('href')) {
                    item.element.href = item.content.getAttribute('href');
                }
                else if (! item.element.getAttribute('href')) {
                    item.element.href = content.getAttribute('src');
                }
                if (item.caption)
                    item.element.setAttribute ('title', item.caption.innerHTML);

                showLightbox(item.element);
            }
        }
    }

});

Youez - 2016 - github.com/yon3zu
LinuXploit