_JSP技巧_黑客防线网安服务器维护基地--Powered by WWW.RONGSEN.COM.CN

用J实现DOS形式缓冲网页

作者:黑客防线网安JSP教程基地 来源:黑客防线网安JSP教程基地 浏览次数:0

本篇关键词:网页形式实现

  <SCRIPT language=JavaScript type=text/JavaScript>
//改变图片大小
function resizepic(thispic)
...{
if(thispic.width>700) thispic.width=700;
}
//无级缩放图片大小
function bbimg(o)
...{
 var zoom=parseInt(o.style.zoom, 10)||100;
  zoom+=event.wheelDelta/12;
  if (zoom>0) o.style.zoom=zoom+'%';
}
//双击鼠标滚动屏幕的代码
var currentpos,timer;
function initialize()
...{
timer=setInterval ("scrollwindow ()",30);
}
function sc()
...{
clearInterval(timer);
}
function scrollwindow()
...{
currentpos=document.body.scrollTop;
window.scroll(0,++currentpos);
if (currentpos !=document.body.scrollTop)
sc();
}
document.onmousedown=sc
document.ondblclick=initialize

  //更改字体大小
var status0='';
var curfontsize=10;
var curlineheight=18;
function fontZoomA()...{
  if(curfontsize>8)...{
    document.getElementById('fontzoom').style.fontSize=(--curfontsize)+'pt';
    document.getElementById('fontzoom').style.lineHeight=(--curlineheight)+'pt';
  }
}
function fontZoomB()...{
  if(curfontsize<64)...{
    document.getElementById('fontzoom').style.fontSize=(++curfontsize)+'pt';
    document.getElementById('fontzoom').style.lineHeight=(++curlineheight)+'pt';
  }
}
</SCRIPT>


    希望这篇用J实现DOS形式缓冲网页的文章能够对您有所帮助,如果您觉得这篇网站维护教程有用的话,别忘了推荐给您的朋友哦!如果您有好的经验方法,不妨拿出来和大家一起分享:假如每个人都拿出一个经验,那么我们都将额外的获取一堆他人的经验。
请记住本站永久域名:(黑客防线网安服务器维护方案维护基地)Www.Rongsen.Com.Cn
    黑客防线网安服务器维护方案本篇连接:http://kj.rongsen.com.cn/show-16377-1.html
网站维护教程更新时间:2023-02-17 17:25:32  【打印此页】  【关闭
0
顶一下
0
踩一下
我要申请本站N点 | 黑客防线官网 |  
专业服务器维护及网站维护手工安全搭建环境,网站安全加固服务。黑客防线网安服务器维护基地招商进行中!QQ:29769479

footer  footer  footer  footer