This file contains hidden or 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
// paste this into console | |
var script = document.createElement('script'); | |
script.setAttribute('type', 'text/javascript'); | |
script.setAttribute('src', 'http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js'); | |
document.body.appendChild(script); | |
//typeof $ |
This file contains hidden or 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
// easy SlidesJs gallery adding to wordpress page | |
function slides_from_post($atts) { | |
extract(shortcode_atts(array( | |
"exclude" => '' // parameter to exclude the images you don't want to show | |
), $atts)); | |
; | |
$tmp = explode(", ", $exclude); | |
if ($tmp) { | |
foreach ($tmp as $tmpItem) { |
This file contains hidden or 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
$("form *").hover(function () { | |
$(this).focus(); | |
}); |
NewerOlder