Created
July 20, 2011 08:12
-
-
Save dimkalinux/1094560 to your computer and use it in GitHub Desktop.
Include inline CSS for disabled Javascript in PunBB 1.4 extensions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// This CSS code is executed only when Javascript disabled in browser | |
// Usefull for hidding elements that depends on Javascript | |
$forum_loader->add_css('.fancy-addthis-post { display: none; }', array('type' => 'inline', 'noscript' => true)); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment