<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Controlling Font Size With Javascript 兼容主流浏览器</title>
<meta name="author" content="Geovin Du 涂聚文"/>
<script type="text/javascript">
var min=8;
var max=18;
function increaseFontSize() {
var p = document.getElementsByTagName('div'); //
//var p=document.getElementById("geovindu");//
for(i=0;i<p.length;i++) {
if(p[i].style.fontSize) {
var s = parseInt(p[i].style.fontSize.replace("px",""));
} else {
var s = 12;
}
if(s!=max) {
s += 1;
}
p[i].style.fontSize = s+"px"
}
}
function decreaseFontSize() {
var p = document.getElementsByTagName('div'); //
//var p=document.getElementById("geovindu");//
for(i=0;i<p.length;i++) {
if(p[i].style.fontSize) {
var s = parseInt(p[i].style.fontSize.replace("px",""));
} else {
var s = 12;
}
if(s!=min) {
s -= 1;
}
p[i].style.fontSize = s+"px"
}
}
</script>
</head>
<body>
<a href="javascript:decreaseFontSize();">-</a>
<a href="javascript:increaseFontSize();">+</a>
<div id="geovindu">
塗脂抹粉 FDKSAJ gesdfs Geovin Du 塗聚文 涂斯博 涂聚文 涂家村 捷为工作室 缔友计算机信息技术有限公司不作为的官,都在步步高升,问责成虚设,成卖弄言语的修辞手法
</div></body></html>
分享到:
相关推荐
Title: Internet of Things Programming with JavaScript Author: Ruben Oliva Ramos Length: 407 pages Edition: 1 Language: English Publisher: Packt Publishing Publication Date: 2017-03-06 ISBN-10: ...
主要介绍机械系统控制建模辨识等方面的内容,对于一些初学者来说非常有用。
Controlling-Profitability Analysis with SAP Controlling-Profitability Analysis with SAP
sap press doc 解压密码:abap_developer
sap press doc 解压密码:abap_developer
ERP信息化专业资料:SAP专业学习资料PLM235_Col53_Project controlling with WBS.pdf
sap press doc 解压密码:abap_developer
title={Controlling generative models with continuous factors of variations}, author={Antoine Plumerault and Herv{\'e} {Le Borgne} and C{\'e}line Hudelot}, booktitle={International Conference on ...
usb通信机制控制LED的亮灭,利于USB通信学习的入门参考
Following the same process, you will develop an iOS app with Swift 3, build a website that uses WebSockets to connect to the MQTT broker, and control home automation devices with HTML5, JavaScript ...
sap press doc 解压密码:abap_developer
西门子_Controlling a SINAMICS G120 Drive through Failsafe S7-300400F CPU via PROFINET with Failsafe Conpdf,
sap press doc 解压密码:abap_developer
Blynk, known as the most user-friendly IoT platform, provides a way to build mobile applications in minutes. With the Blynk drag-n-drop mobile app builder, anyone can ...Controlling a Robot with Blynk
路由器配备很大的入站缓冲区,以便不惜一切代价避免丢包(分组)。可是这种做法破坏了TCP的拥塞预防机制,导致网络中产生较长且可变的延迟时间。...ACM的这篇论文《Controlling Queue Delay》有详细的介绍。
Raspberry Pi Zero is half the size of Raspberry Pi A, only with twice the utility. At just three centimeters wide, it packs in every utility required for full-fledged computing tasks. This practical ...
In this introduction, I explain the meaning of the acronym SAP, the origin of SAP, and the concept of SAP implementation. We will go further to look at Enterprise Resource Plan
6.Controlling Radiated Emissions by Design, 3ed, 2014 7. High-speed Digital Design 中英文版 8.实用电子元器件与电路基础 742页 高清书签版 中英文 9.印刷电路板设计-在真实设计里的EMI控制 10.Getting EMC ...
Title: Automate the Boring... Controlling the Keyboard and Mouse with GUI Automation Appendix A. Installing Third-Party Modules Appendix B. Running Programs Appendix C. Answers to the Practice Questions