Sync plugins from current page
Signed-off-by: Adrian Nöthlich <git@promasu.tech>
This commit is contained in:
48
wp-content/plugins/amr-ical-events-list/js/amr-ical.js
Normal file
48
wp-content/plugins/amr-ical-events-list/js/amr-ical.js
Normal file
@@ -0,0 +1,48 @@
|
||||
jQuery(document).ready(function(){// Hide (Collapse) the toggle containers on load
|
||||
|
||||
jQuery("tbody.toggle_container tr.event").hide();
|
||||
|
||||
//Slide up and down on click
|
||||
jQuery("tbody.toggle_container .trigger").click(function(){
|
||||
jQuery(this).siblings("tr.event").show(); /*slideToggle("slow"); */
|
||||
});
|
||||
|
||||
//Slide up and down on click
|
||||
jQuery("tbody.toggle_container .trigger").toggle(function(){
|
||||
jQuery(this).siblings("tr.event").show();
|
||||
},function () {
|
||||
jQuery(this).siblings("tr.event").hide();
|
||||
});
|
||||
|
||||
//Switch the "Open" and "Close" state per click
|
||||
jQuery("tbody.toggle_container .trigger").toggle(function(){
|
||||
jQuery(this).addClass("active");
|
||||
}, function () {
|
||||
jQuery(this).removeClass("active");
|
||||
});
|
||||
|
||||
|
||||
//Slide up and down on click
|
||||
jQuery("#expandall").click(function(){
|
||||
jQuery("#events_wrap tbody.toggle_container tr.event").show(); // just to test
|
||||
|
||||
});
|
||||
//Slide up and down on click
|
||||
jQuery("#hideall").click(function(){
|
||||
jQuery("#events_wrap tbody.toggle_container tr.event").hide(); // just to test
|
||||
|
||||
});
|
||||
|
||||
jQuery("#expandall").toggle(function(){
|
||||
jQuery(this).addClass("active");
|
||||
}, function () {
|
||||
jQuery(this).removeClass("active");
|
||||
});
|
||||
|
||||
jQuery("#hideall").toggle(function(){
|
||||
jQuery(this).addClass("active");
|
||||
}, function () {
|
||||
jQuery(this).removeClass("active");
|
||||
});
|
||||
|
||||
})
|
||||
3
wp-content/plugins/amr-ical-events-list/js/index.php
Normal file
3
wp-content/plugins/amr-ical-events-list/js/index.php
Normal file
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
// Silence is golden.
|
||||
?>
|
||||
Reference in New Issue
Block a user