- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
《java小程序代码》.doc
添加到收藏夹:javascript:window.external.addFavorite(输入网址,名称)
表示关闭窗口:javascript:window.close()
表示弹出一个提示对话框:javascript:alert(hello!)
设置为默认首页:onC1ick=this style.behavior=url(#homepage);this,setHomePage(网址’);
常用网页漂浮广告代码:body bgcolor=#F7F7F7
!--图片漂浮广告代码开始--
div id=www_qpsh_com style=position:absolute
!--链接地址--a href= _fcksavedurl=/ target=_blank
!--图片地址--img src=/images/logo.gif _fcksavedurl=/images/logo.gif border=0
/a
/div
script
var x = 50,y = 60
var xin = true, yin = true
var step = 1
var delay = 10
var obj=document.getElementById(www_qpsh_com)
function floatwww_qpsh_com() {
var L=T=0
//by
var R= document.body.clientWidth-obj.offsetWidth
var B = document.body.clientHeight-obj.offsetHeight
obj.style.left = x + document.body.scrollLeft
obj.style.top = y + document.body.scrollTop
x = x + step*(xin?1:-1)
if (x L) { xin = true; x = L}
if (x R){ xin = false; x = R}
y = y + step*(yin?1:-1)
if (y T) { yin = true; y = T }
if (y B) { yin = false; y = B }
}
var itl= setInterval(floatwww_qpsh_com(), delay)
obj.onmouseover=function(){clearInterval(itl)}
obj.onmouseout=function(){itl=setInterval(floatwww_qpsh_com(), delay)}
/script
!--图片漂浮广告代码结束--
/body
仿google个性化首页模块拖拽效果:!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN /TR/xhtml1/DTD/xhtml1-transitional.dtd
html xmlns=/1999/xhtml
head
meta http-equiv=Content-Type content=text/html; charset=gb2312 /
style
body {margin:0px;padding:0px;font-size:12px;text-align:center;}
body div {text-align:center; margin-right:auto; margin-left:auto;}
.content{width:900px;}
.content .left{
float:left;
width:200px;
border:1px solid #FF0000;
margin:3px;
}
.content .center{float:left;border:1px solid #FF0000;margin:3px;width:470px}
.content .right{float:right;width:200px;border:1px solid #FF0000;margin:3px}
.mo{height:auto;border:1px solid #CCC;margin:3px;background:#FFF}
.mo h1{background:#ECF9FF;height:18px;padding:3px;cursor:move}
.mo .nr{height:80px;border:1px solid #F3F3F3;margin:2px}
h1{margin:0px;padding:0px;text-align:left;font-siz
您可能关注的文档
- 《Intematix’s Remote Phosphor for LED lamp》.pdf
- 《Interactive multiobjective agro-ecological land use planning:The Bungoma region in Kenya》.pdf
- 《Interference terahertz label-free imaging for protein detection on a membrane》.pdf
- 《Interview Prep for Junior Quants》.pdf
- 《Introduction+to+Neural+Networks+with+Java》.doc
- 《Inventory Service-Level Agreements as Coordination Mechanisms The Effect of Review Periods》.pdf
- 《invitaiton card demo lesson》.ppt
- 《Ioas项目开发规范(JAVA部分)》.doc
- 《Ionic Bonding - Lesson 1》.ppt
- 《iOS开发中keychain的使用》.docx
文档评论(0)