Commit 106e90d7 authored by 郭朴讴's avatar 郭朴讴

半导体样式

parent 26f43c9b
......@@ -245,14 +245,14 @@
var con = $(this).attr("href");
$(con).addClass("active").siblings().removeClass("active");
$("#tab3 .top .intro").wrap("<div style='height: 360px;overflow: hidden;'></div>");
$("#tab3 .text p").wrap("<div style='height: 175px;overflow: hidden;'></div>");
$("#tab3 .row .text p").wrap("<div style='height: 175px;overflow: hidden;'></div>");
if ($("#tab3 .top .intro").height()>360) {
$("#tab3 .top .intro").parent().parent().append("<div class='zkbtn'>open</div>");
$("#tab3 .top .intro").parent().parent().append("<div style='bottom: -20px;color: #FFFFFF;' class='zkbtn'>open</div>");
}
$("#tab3 .text p").each(function(){
if (this.height()>175) {
$("#tab3 .row .text p").each(function(){
if ($(this).height()>175) {
$(this).parent().parent().append("<div class='zkbtn1'>open</div>");
}
})
......
......@@ -68,15 +68,15 @@
$(this).addClass("active");
var con = $(this).attr("href");
$(con).addClass("active").siblings().removeClass("active");
$("#tab3 .top .intro").wrap("<div style='height: 360px;overflow: hidden;'></div>");
$("#tab3 .text p").wrap("<div style='height: 175px;overflow: hidden;'></div>");
$("#tab3 .top .intro").wrap("<div style='height: 360px;overflow: hidden;'></div>");
$("#tab3 .row .text p").wrap("<div style='height: 175px;overflow: hidden;'></div>");
if ($("#tab3 .top .intro").height()>360) {
$("#tab3 .top .intro").parent().parent().append("<div class='zkbtn'>open</div>");
$("#tab3 .top .intro").parent().parent().append("<div style='bottom: -20px;color: #FFFFFF;' class='zkbtn'>open</div>");
}
$("#tab3 .text p").each(function(){
if (this.height()>175) {
$("#tab3 .row .text p").each(function(){
if ($(this).height()>175) {
$(this).parent().parent().append("<div class='zkbtn1'>open</div>");
}
})
......@@ -103,7 +103,6 @@
$(this).html("open")
}
})
})
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment