随笔分类 - JS
js各种学习收藏
摘要:<script language="javascript">function GOUrl(){window.open("http://www.cnblogs.com/_ymw");}</script></head><input type="button" value="点击跳转" onclick="GOUrl()">
阅读全文
摘要:<html><head> <title>类似于跑马灯的图片滚动</title><script language="javascript" type="text/javascript">function RunImg(){var varSpan=document.getElementById("spanId");if((parseInt(varSpan.style.left)+parseInt(varSpan.style.width))<=0) varSpan.style
阅读全文
摘要:<html><head></head><body>//将当前浏览的网页设为首页(除非主页没被锁定,否则主页设定不会成功)<span onClick="var strHref=window.location.href;this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.cnblogs.com/_ymw/');" style="CURSOR: hand">设为首页</
阅读全文
摘要:<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><meta name="GENERATOR" content="Microsoft FrontPage 6.0"><meta name="ProgId" content="FrontPage.Editor.Document"><title>网页特效
阅读全文
摘要:<marquee>...</marquee>普通卷动 <marquee behavior=slide>...</marquee>滑动 <marquee behavior=scroll>...</marquee>预设卷动 <marquee behavior=alternate>...</marquee>来回卷动 <marquee direction=down>...</marquee>向下卷动 <marquee direction=up>...</marque
阅读全文

浙公网安备 33010602011771号