Commit b9c815f1 authored by 郭朴讴's avatar 郭朴讴

半导体样式

parent 106e90d7
...@@ -248,7 +248,7 @@ ...@@ -248,7 +248,7 @@
$("#tab3 .row .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) { if ($("#tab3 .top .intro").height()>360) {
$("#tab3 .top .intro").parent().parent().append("<div style='bottom: -20px;color: #FFFFFF;' class='zkbtn'>open</div>"); $("#tab3 .top .intro").parent().parent().parent().append("<div style='bottom: -20px;color: #FFFFFF;' class='zkbtn'>open</div>");
} }
$("#tab3 .row .text p").each(function(){ $("#tab3 .row .text p").each(function(){
...@@ -271,9 +271,9 @@ ...@@ -271,9 +271,9 @@
$(".zkbtn1").click(function(event){ $(".zkbtn1").click(function(event){
event.stopPropagation(); event.stopPropagation();
event.preventDefault(); event.preventDefault();
$(this).parent().find(".intro").parent().toggleClass("tdiv"); $(this).parent().find("p").parent().toggleClass("tdiv");
$(this).parent().toggleClass("tdiv"); $(this).parent().parent().toggleClass("tdiv");
if ($(this).parent().find(".intro").parent().hasClass("tdiv")) { if ($(this).parent().find("p").parent().hasClass("tdiv")) {
$(this).html("close") $(this).html("close")
}else{ }else{
$(this).html("open") $(this).html("open")
......
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
$("#tab3 .row .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) { if ($("#tab3 .top .intro").height()>360) {
$("#tab3 .top .intro").parent().parent().append("<div style='bottom: -20px;color: #FFFFFF;' class='zkbtn'>open</div>"); $("#tab3 .top .intro").parent().parent().parent().append("<div style='bottom: -20px;color: #FFFFFF;' class='zkbtn'>open</div>");
} }
$("#tab3 .row .text p").each(function(){ $("#tab3 .row .text p").each(function(){
...@@ -95,9 +95,9 @@ ...@@ -95,9 +95,9 @@
$(".zkbtn1").click(function(event){ $(".zkbtn1").click(function(event){
event.stopPropagation(); event.stopPropagation();
event.preventDefault(); event.preventDefault();
$(this).parent().find(".intro").parent().toggleClass("tdiv"); $(this).parent().find("p").parent().toggleClass("tdiv");
$(this).parent().toggleClass("tdiv"); $(this).parent().parent().toggleClass("tdiv");
if ($(this).parent().find(".intro").parent().hasClass("tdiv")) { if ($(this).parent().find("p").parent().hasClass("tdiv")) {
$(this).html("close") $(this).html("close")
}else{ }else{
$(this).html("open") $(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