Login   Register  
PHP Classes
elePHPant
Icontem

File: templates/github/script.js

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Mike  >  PHP Socializer  >  templates/github/script.js  >  Download  
File: templates/github/script.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Socializer
Embed social buttons and widgets in Web pages
Author: By
Last change:
Date: 1 year ago
Size: 416 bytes
 

Contents

Class file image Download
<?php if ($this->fadeIn): ?>
    _socialQueue.push({
        preload: function(f) {
            var buttons = document.getElementsByClassName('coi-social-button-<?php echo $this->name; ?>');
            for (var i = 0; i < buttons.length; i++) {
                f.iframeOnload(buttons[i].getElementsByTagName('IFRAME')[0], buttons[i], '<?php echo $this->fadeIn; ?>');
            }
        }
    });
<?php endif; ?>