1
0
mirror of https://github.com/ascribe/wp-theme synced 2025-01-09 05:05:59 +01:00
wp-theme/assets/js/ascribe.min.js

4 lines
508 B
JavaScript
Raw Normal View History

2015-09-18 00:21:29 +02:00
/*! ascribe - v0.0.1
* http://wordpress.org/themes
* Copyright (c) 2015; * Licensed GPLv2+ */
2015-09-24 08:24:34 +02:00
$(document).ready(function(){$(".case-study:gt(0)").addClass("hidden"),$(".slider-action").click(function(){var a=$(this).attr("id");"back"===a?($(".case-study").addClass("hidden"),$(".case-study").last().prependTo(".slide-container").removeClass("hidden")):(displayed=$(".case-study").first(),displayed.addClass("hidden"),$(".case-study").eq(1).removeClass("hidden"),displayed.appendTo(".slide-container"))})});