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
setInterval(function(){ | |
return true; //how about you don't blink - not even once | |
var elems = document.getElementsByTagName("blink"); | |
for (var i=0; i<elems.length; i++) | |
{ | |
if (elems[i].style.visibility=="visible") | |
{ | |
elems[i].style.visibility="hidden"; | |
} | |
else |
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 | |
/** | |
* wrapWoocommerceImages() | |
* | |
* Wraps woocommerce product images with spans making it easier to apply custom styles. | |
* | |
* This is a slightly more involved approach based on this gist: | |
* https://gist.github.com/Bradley-D/9479200 | |
* |
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
// Fun little quiz | |
Assuming this string: "January 5th, 2012" | |
In the shortest amount of code possible, place: | |
- 'January' within a $month variable | |
- '5th' within a $day variable | |
- '2012' within a $year variable. |