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

半导体

parent 3ad7b125
......@@ -228,8 +228,10 @@
if (IsPC()) {
$("#tab3 .top .intro").wrap("<div style='height: 353px;overflow: hidden;'></div>");
// $("#tab3 .row .text p").wrap("<div style='height: 193px;overflow: hidden;'></div>");
var ptxt = $("#tab3 .row .text p").text();
$("#tab3 .row .text p").html("<a style='display: block;'>"+ptxt+"</a>");
$("#tab3 .row .text p").each(function(){
var ptxt = $(this).text();
$(this).html("<a style='display: block;color: #000000;'>"+ptxt+"</a>");
})
var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
if (userAgent.indexOf("Safari") > -1) {
console.log(userAgent)
......
......@@ -52,8 +52,12 @@
if (IsPC()) {
$("#tab3 .top .intro").wrap("<div style='height: 353px;overflow: hidden;'></div>");
// $("#tab3 .row .text p").wrap("<div style='height: 193px;overflow: hidden;'></div>");
var ptxt = $("#tab3 .row .text p").text();
$("#tab3 .row .text p").html("<a style='display: block;'>"+ptxt+"</a>");
$("#tab3 .row .text p").each(function(){
var ptxt = $(this).text();
$(this).html("<a style='display: block;color: #000000;'>"+ptxt+"</a>");
})
var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
if (userAgent.indexOf("Safari") > -1) {
console.log(userAgent)
......
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