Commit 5c871902 authored by 郭朴讴's avatar 郭朴讴

半导体

parent 07c647ca
...@@ -227,7 +227,7 @@ ...@@ -227,7 +227,7 @@
$(function () { $(function () {
if (IsPC()) { if (IsPC()) {
$("#tab3 .top .intro").wrap("<div style='height: 353px;overflow: hidden;'></div>"); $("#tab3 .top .intro").wrap("<div style='height: 353px;overflow: hidden;'></div>");
$("#tab3 .row .text p").wrap("<div style='height: 195px;overflow: hidden;'></div>"); $("#tab3 .row .text p").wrap("<div style='height: 193px;overflow: hidden;'></div>");
var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串 var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
if (userAgent.indexOf("Safari") > -1) { if (userAgent.indexOf("Safari") > -1) {
console.log(userAgent) console.log(userAgent)
...@@ -275,7 +275,7 @@ ...@@ -275,7 +275,7 @@
$("#tab3 .top .intro").parent().parent().parent().find(".zkbtn").html("open"); $("#tab3 .top .intro").parent().parent().parent().find(".zkbtn").html("open");
} }
$("#tab3 .row .text p").each(function(){ $("#tab3 .row .text p").each(function(){
if ($(this).height()>195) { if ($(this).height()>193) {
$(this).parent().parent().append("<div class='zkbtn1'>open</div>"); $(this).parent().parent().append("<div class='zkbtn1'>open</div>");
} }
if ($(this).parent().hasClass("tdiv")) { if ($(this).parent().hasClass("tdiv")) {
......
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
$(function () { $(function () {
if (IsPC()) { if (IsPC()) {
$("#tab3 .top .intro").wrap("<div style='height: 353px;overflow: hidden;'></div>"); $("#tab3 .top .intro").wrap("<div style='height: 353px;overflow: hidden;'></div>");
$("#tab3 .row .text p").wrap("<div style='height: 195px;overflow: hidden;'></div>"); $("#tab3 .row .text p").wrap("<div style='height: 193px;overflow: hidden;'></div>");
var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串 var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
if (userAgent.indexOf("Safari") > -1) { if (userAgent.indexOf("Safari") > -1) {
console.log(userAgent) console.log(userAgent)
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
$("#tab3 .top .intro").parent().parent().parent().find(".zkbtn").html("open"); $("#tab3 .top .intro").parent().parent().parent().find(".zkbtn").html("open");
} }
$("#tab3 .row .text p").each(function(){ $("#tab3 .row .text p").each(function(){
if ($(this).height()>195) { if ($(this).height()>193) {
$(this).parent().parent().append("<div class='zkbtn1'>open</div>"); $(this).parent().parent().append("<div class='zkbtn1'>open</div>");
} }
if ($(this).parent().hasClass("tdiv")) { if ($(this).parent().hasClass("tdiv")) {
......
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