Created
June 21, 2015 18:45
-
-
Save AndreaBarghigiani/343b85bba55b2452fdeb to your computer and use it in GitHub Desktop.
Scrivere codice jQuery in WordPress
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
/**************************************** | |
Da inserire all'interno del file /percorso/file.js | |
*****************************************/ | |
jQuery(document).ready(function($) { | |
$("#toggle_it").click(function () { $(".to_toggle").toggle(1000); }); | |
$(".to_toggle").show(); | |
$("#toggle_it1").click(function () { $(".to_toggle1").toggle(1000); }); | |
$(".to_toggle1").show(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment