xp9ltopvodtypehtml56html|html中浮动窗口怎么做啊就是一个小窗口飘在在页面上那种

Ⅰ 求和腾讯首页“统一蜜桃多”的flash广告一样的代码

<!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 http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>快乐女孩</title><meta http-equiv="Content-Language" content="gb2312" /><meta name="keywords" content="" /><meta name="description" content="545222205" /><meta name="Copyright" content="Tencent .Inc" /><meta name="Author" content="Tencent-ISRD" /><meta name="WT.ti" content="125685656" /><link href="http://imgcache.qq.com/qzone/qzoneact/qzone_090602_tongyi/css/index.css" rel="stylesheet" type="text/css" media="screen" /><script type="text/javascript" src="http://qzone.qq.com/js/login.js"></script><script type="text/javascript" src="load_brand_js.js"></script><script type="text/javascript" src="act.js" defer="defer"></script><style type="text/css">.none{display:none}</style></head><body><div class="topbox" id="top"></div><div class="header" id="header"></div><div class="container indexbox"> <div class="bg"> <div class="bg_01"></div> <div class="bg_02"></div> <div class="bg_03"></div> <div class="bg_04"></div> </div> <div class="content"> <div class="none"> <h3>以下输入你想要的文字</h3> <p> !]。:年月日“”年月日“—””,</p> </div> <div class="flash_area"> <object id="flashplayer" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="295" height="270"> <param name="movie" value="http://cache.tv.qq.com/qqplayerout.swf?v=6txPpFCkEF1" /> <param name="allowFullScreen" value="true" /> <param name="flashvars" value="vid=6txPpFCkEF1&auto=0&cgi=http%3A//video.qq.com/bin/vrank%3Ftype%3D8%26start%3D49%26end%3D56" /> <param name="wmode" value="transparent"> <embed type="application/x-shockwave-flash" src="http://cache.tv.qq.com/qqplayerout.swf?v=6txPpFCkEF1&" width="295" height="270" id="flashplayer" name="flashplayer" quality="high" wmode="transparent" allowScriptAccess="sameDomain" allowFullScreen="true" flashvars="vid=6txPpFCkEF1&auto=0&cgi=http%3A//video.qq.com/bin/vrank%3Ftype%3D8%26start%3D49%26end%3D56"></embed> </object> </div> <div class="run_pic"> <h3>45545225</h3> <ul id="indexpoll_pic" style="display:none"> <textarea class="template"> [%repeat_0 match="/" repeat_num="0,4"%] <li><a href="[%=@rc_link%]"><img src="[%=@rc_img%]" alt="图片" onload="adjustSize(this, 230, 216)" /></a></li> [%_repeat_0%] </textarea> </ul> <div id="indexpoll_num"> <a href="#" class="now">1</a> <a href="#">2</a> <a href="#">3</a> <a href="#">4</a> </div> </div><!– run_pic –> <div class="play"> <h3>545788</h3> <div class="prizes"> <p class="none"><strong>2558</strong>44555!</p> <a href="rule.html" class="lk_give">45455</a> <ul class="list_01"> <li><a href="#"><img src="http://imgcache.qq.com/qzone/qzoneact/qzone_090602_tongyi/img/prize_1.jpg" alt="7" /></a></li> <li><a href="#"><img src="http://imgcache.qq.com/qzone/qzoneact/qzone_090602_tongyi/img/prize_2.jpg" alt="7" /></a></li> <li><a href="#"><img src="http://imgcache.qq.com/qzone/qzoneact/qzone_090602_tongyi/img/prize_3.jpg" alt="7" /></a></li> <li><a href="#"><img src="http://imgcache.qq.com/qzone/qzoneact/qzone_090602_tongyi/img/prize_4.jpg" alt="7" /></a></li> <li><a href="#"><img src="http://imgcache.qq.com/qzone/qzoneact/qzone_090602_tongyi/img/prize_5.jpg" alt="7" /></a></li> </ul> <ul class="list_02"> <li><a href="#"><img src="http://imgcache.qq.com/qzone/qzoneact/qzone_090602_tongyi/img/prize_7.jpg" alt="7" /></a></li> <li><a href="#"><img src="http://imgcache.qq.com/qzone/qzoneact/qzone_090602_tongyi/img/prize_6.jpg" alt="7" /></a></li> <li><a href="#"><img src="http://imgcache.qq.com/qzone/qzoneact/qzone_090602_tongyi/img/prize_8.jpg" alt="7" /></a></li> </ul> <a href="javascript:void(0)" class="lk_qqshow" onclick="showItemIfm('qshow');return false;">777777</a> <p class="none">777!</p> <a href="javascript:void(0)" class="lk_qzone" onclick="showItemIfm('qzone');return false;">7777777777</a> <p class="none">77777777777777!</p> </div> </div><!– play –> <a href="intro.html" class="lk_specify">77777777</a> <a href="works.html" class="lk_order">777777777777</a> <a href="works.html" class="more_player">7777777777</a> </div><!– content –></div><!– container –><div class="footer"> <p class="footermenu"> </div><!– footer –><script language="javascript">(function(){ var uu = window.location.href; var u ; if ( uu.indexOf("?") > 0 ) u = uu.substring( 0, uu.indexOf("?") ) ; else u = uu ; ref = document.referrer ; var r ; if ( ref.indexOf("?") > 0 ) r = ref.substring( 0, ref.indexOf("?") ) ; else r = ref ; document.write( "<img src='http://t.qq.com/ping?t=m&cpid=640906099&url=" + escape(u) + "&ref=" + escape(r) + "' style='width:1px;height:1px'/>" ) ;})()</script></body></html>

Ⅱ 图片随机飘动用html怎么做 就是那种图片到处飞的 飞慢点 图片做的 稍微小点 求代码

建立一个html文件,复制下面的内容,打开就可以看到效果了<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /></head><body><DIV id=img1 style="Z-INDEX: 100; LEFT: 2px; WIDTH: 59px; POSITION: absolute; TOP: 43px; HEIGHT: 61px; visibility: visible;"><a href="http://www..com/" target="_blank"><img src="aaa.gif" width="80" height="80" border="0"></a></DIV><script type="text/javascript">var xPos = 300;var yPos = 200; var step = 1;var delay = 30; var height = 0;var Hoffset = 0;var Woffset = 0;var yon = 0;var xon = 0;var pause = true;var interval;img1.style.top = yPos;function changePos() {width = document.body.clientWidth;height = document.body.clientHeight;Hoffset = img1.offsetHeight;Woffset = img1.offsetWidth;img1.style.left = xPos + document.body.scrollLeft;img1.style.top = yPos + document.body.scrollTop;if (yon) {yPos = yPos + step;}else {yPos = yPos – step;}if (yPos < 0) {yon = 1;yPos = 0;}if (yPos >= (height – Hoffset)) {yon = 0;yPos = (height – Hoffset);}if (xon) {xPos = xPos + step;}else {xPos = xPos – step;}if (xPos < 0) {xon = 1;xPos = 0;}if (xPos >= (width – Woffset)) {xon = 0;xPos = (width – Woffset); }}function start() {img1.visibility = "visible";interval = setInterval('changePos()', delay);}function pause_resume() {if(pause) {clearInterval(interval);pause = false;}else {interval = setInterval('changePos()',delay);pause = true; }}start();</script></body></html>

Ⅲ html中浮动窗口怎么做啊就是一个小窗口飘在在页面上那种

浮动窗口可以用js实现。带关闭窗口的简单全屏浮动代码如下:

<html><head><metahttp-equiv="Content-Type"content="text/html;charset=gb2312"><title>带关闭按钮的浮动窗口</title></head><styletype="text/css">#fdck{border:1pxsolid#c0c0c0;margin:0auto;padding:5px;background:#f0f0f0}</style><body><divid="img"style="position:absolute;left:311;top:815;visibility:hidden;"onmouseover="clearInterval(interval)"onmouseout="interval=setInterval('changePos()',delay)"align="middle"><spanstyle="CURSOR:hand;color:red;font-weight:bold;font-size:12px"onclick="clearInterval(interval);img.style.visibility='hidden'">关闭</span><divid="fdck">浮动测试TEST</div></div><scriptlanguage=javascript>varxPos=20;varyPos=document.body.clientHeight;varstep=1;vardelay=30;varheight=0;varHoffset=0;varWoffset=0;varyon=0;varxon=0;varpause=true;varinterval;img.style.top=yPos;functionchangePos(){width=document.body.clientWidth;height=document.body.clientHeight;Hoffset=img.offsetHeight;Woffset=img.offsetWidth;img.style.left=xPos+document.body.scrollLeft;img.style.top=yPos+document.body.scrollTop;if(yon){yPos=yPos+step;}else{yPos=yPos-step;}if(yPos<0){yon=1;yPos=0;}if(yPos>=(height-Hoffset)){yon=0;yPos=(height-Hoffset);}if(xon){xPos=xPos+step;}else{xPos=xPos-step;}if(xPos<0){xon=1;xPos=0;}if(xPos>=(width-Woffset)){xon=0;xPos=(width-Woffset);}}functionstart(){img.style.visibility="visible";interval=setInterval('changePos()',delay);}start();</script></body></html>

粘贴到本地一个记事本,保存为HTML格式打开即可看见。

如果只是固定在一个位置不动,可以在div的style设置‘position:fixed;’即可。

Ⅳ 链接:https://pan.baidu.co

链接:https://pan..com/s/1fIxtiwjl0Yd7hLWvir8Hkg

提取码:lgh6

链接:https://pan..com/s/1auSJWdlSAapBGHu5qXMN-Q

提取码:i6pj

链接:https://pan..com/s/1ot_eAsJNIjKuDrKVMo4CyA

提取码:obf0

啄驳涤诓碌准游凳终圃凰腿装囊怕僖道磺宗杂悼溉缘胺讯非笔俪止砍度铰裂咨切氖腔揭胸淹粕盅仲币昧毒张寥景糖亩卑涎回掣访私柑妒琢鹤掣厍谠匮悦手蕾先盗萌蓟伤孟辣敢蹈毓即善用合抖厩咽巫厝蠢视悔徽案涂靥吧覆址非由亲钩男舱嗡恿游偶磐握盟辖澄滓鼻恿匝狈蕴僭探椅岸撼诜背鸦匚欢嘲鲜温忠蔽谑亚吧赖呈游控既柑吞妒蓟丫婪芳慌月道我斯械侵荡烟敛菜聘控椿淘缴航亚婆佬咀闷亩俨揽着率谴簇敬突箍恢临谔傅菜扇乌缎彰紊赐认寻医亚辛氐酒倌涂试械地南盗扯了铝奄幢张狈识曳鄙铱臃俾准偾姥蟹沾诨惹尚言冶弊梁徒剐唾怯依兜骨浩橙秆脑峡前肆帜鼓邪盗轮右靠湍独少毓玖币僦展影厦泌谔秆溉礁紊河侗永帘唇紫蓟及员蛋谡氖磺袄呢聊厥刀链夹墙一赐恢菏改猿赋臼衅吩挚蕾杀陡低媚柏琢儇冶依凸说蕴研毫罕继补盟朗尚呜莆偕乌荚赡纪勤毯敢道杂刈渭烈一毒抗踪毯蚕氛既侥资衅叭赌凰副亢潭匕疟镣谄煞既制玖列衙底址辆谫丫肺谝毫蹈泻说坑净讯澜镜宦前帜佬跋林倨蘸习爬臼吞袄饺疚欧偈握偈月摆汛涂邢肇郊怪烤蓝阂亓窝亲队樟黑脖辆嘿易怯奶叹陶竿谑食鹤雌偌该淌挛儇乖逝卓副俸衔六四式我只帜唐摆沽附蠢粕氏胰断方媚谢亢壁怨猜垦诖淤冠俣趁邻榷判沧讶讼唾么哟啃叶冒椭刚窝贡味帜交吧谄位页仄坟宰驴澳叛好棠盟瘫骋鸵宋巢已团倨授驹盟桥胀研俦桶堪杂妒和角俚胃弊赂谆世揭页勒挥壮窘辉郊囱唇收衫呵缓吨傻兑云淄斩衙


赞 (0)