嗨,朋友我正在尝试做我的联系我们页面,就像这个页面“http://makingsense.com/about-us”,我开始了,我尝试了这么多,但我无法弄清楚如何去做。如何通过点击增加和减少线?
见代码:http://jsfiddle.net/cu65a45r/
// JavaScript Document
$(document).ready(function(e) {
$('.clik1').on('click', function() {
/* $('.date-circle-active').remove();*/
$(this).before("<div class='date-circle-active1'></div>");
$(this).css('margin-left','0');
});
$('.clik2').on('click', function() {
/* $('.date-circle-active').remove();*/
$(this).before("<div class='date-circle-active2'></div>");
$(this).css('margin-left','0');
});
});
尝试和的slideIn jQuery的滑出式命令? – Stefan 2014-11-03 09:29:35
想知道,PLZ代表什么? – musefan 2014-11-03 09:35:27
@musefan德语为'拉链',类似lolspeak错误或只是一个错字 - 你选择。 – 2014-11-03 09:53:55