左下角悬浮广告代码_右下角浮动广告代码

左下角悬浮广告代码_右下角浮动广告代码<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><htmlxmlns="http://www.w3.org/1999/xhtml"><head>..

大家好,又见面了,我是你们的朋友全栈君。如果您正在找激活码,请点击查看最新教程,关注关注公众号 “全栈程序员社区” 获取激活教程,可能之前旧版本教程已经失效.最新Idea2022.1教程亲测有效,一键激活。

Jetbrains全系列IDE使用 1年只要46元 售后保障 童叟无欺

<!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=utf-8″ />

<title>右下角广告代码-web前端开发</title>

<script type=”text/javascript”>

window.onload = getMsg;

window.onresize = resizeDiv;

window.onerror = function(){}

function $(id) {return document.getElementById(id);}

//短信提示使用(asilas添加)

var divT,divL,divW,divH,docH,docW,docST,docSL,objTimer,i = 0;

function getMsg()

{

try{

divT = parseInt($(“eMeng”).style.top,10); //层top位置

divL = parseInt($(“eMeng”).style.left,10); //层left位置

divH = parseInt($(“eMeng”).offsetHeight,10);//层宽

divW = parseInt($(“eMeng”).offsetWidth,10);//层高

docW = document.documentElement.clientWidth;//窗口宽

docH = document.documentElement.clientHeight;//窗口高

docST=document.documentElement.scrollTop;

docSL=document.documentElement.scrollLeft;

$(“eMeng”).style.top = parseInt(docST,10) + docH + 10+”px”;

$(“eMeng”).style.left = parseInt(docSL,10) + docW – divW+”px”;

$(“eMeng”).style.visibility=”visible”;

objTimer = setInterval(“moveDiv()”,10);

}

catch(e){}

}

function resizeDiv()

{

try{

divH = parseInt($(“eMeng”).offsetHeight,10);

divW = parseInt($(“eMeng”).offsetWidth,10);

docW = document.documentElement.clientWidth;

docH = document.documentElement.clientHeight;

$(“eMeng”).style.top = docH – divH + parseInt(document.documentElement.scrollTop,10)+”px”;

$(“eMeng”).style.left = docW – divW + parseInt(document.documentElement.scrollLeft,10)+”px”;

}

catch(e){}

}

function moveDiv()

{

try{

if(parseInt($(“eMeng”).style.top,10) <= (docH – divH + parseInt(document.documentElement.scrollTop,10)))

{

window.clearInterval(objTimer)

objTimer = setInterval(“resizeDiv()”,1)

}

divT = parseInt($(“eMeng”).style.top,10);

$(“eMeng”).style.top = divT – 1+”px”;

}

catch(e){}

}

function closeDiv()

{

$(‘eMeng’).style.visibility=’hidden’;

if(objTimer) window.clearInterval(objTimer)

}

</script>

<div id=”eMeng” style=”z-index: 99999; visibility:hidden; left: 0px; width: 252px; position: absolute; top: 0px; height: 213px; background:url(http://image.5fad.com/5/img/ad_bg.gif)”>

<div style=” height:28px”>

<div style=” width:20px; height:20px; float:right; margin:5px 5px 0 0; cursor:pointer” οnclick=”closeDiv()”></div>

</div>

<div style=”width:225px; height:164px; margin:0 auto;”><a href=”http://5.5fad.com/star/pur_detial.aspx?news=138″ target=”_blank”><img src=”http://image.5fad.com/5/ad/ad01.jpg” width=”225″ height=”164″ border=”0″ /></a></div>

</div>

</body>

</html>
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/191592.html原文链接:https://javaforall.net

(0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

  • 使用upx脱壳工具脱壳

    使用upx脱壳工具脱壳使用upx脱壳工具脱壳查壳工具链接:https://www.52pojie.cn/thread-437586-1-1.html脱壳工具链接:https://github.com/upx/upx/releases先查壳一般做到逆向的部分题的时候,把文件丢进ida会发现函数特别少,大部分都是加壳了(以攻防世界新手区第7题为例链接:https://adworld.xctf.org.cn/task/task_list?type=reverse&number=4&grade=0)ida打开只

    2022年7月12日
    36
  • jediscluster工具类_cannot get jedis connection

    jediscluster工具类_cannot get jedis connectionRedis集群是没法执行批量操作命令的,如mget,pipeline等。这是因为redis将集群划分为16383个哈希槽,不同的key会划分到不同的槽中。原生JedisCluster对批量操作的限制是mgetmset必须在一个槽;四种批量优化的方法1、串行mget在for循环中执行一条条的get; 需要n次网络时间;2、串行IO在客户端对所有key做CR…

    2022年9月25日
    0
  • idea2021最新激活码(最新序列号破解)「建议收藏」

    idea2021最新激活码(最新序列号破解),https://javaforall.net/100143.html。详细ieda激活码不妨到全栈程序员必看教程网一起来了解一下吧!

    2022年3月19日
    701
  • Otter介绍及(Manager)安装「建议收藏」

    Otter介绍及(Manager)安装「建议收藏」Otter 简单介绍名称:otter['ɒtə(r)]译意:水獭,数据搬运工语言:纯java开发定位:基于数据库增量日志解析,准实时同步到本机房或异地机房的mysql

    2022年8月3日
    3
  • 深度学习环境配置2——windows下的torch=1.2.0环境配置「建议收藏」

    深度学习环境配置2——windows下的torch=1.2.0环境配置「建议收藏」神经网络学习小记录48——windows下的torch=1.2.0环境配置学习前言环境内容Anaconda安装下载Cudnn和CUDA配置torch环境安装VSCODE学习前言好多人问环境怎么配置,还是出个教程吧。环境内容torch:1.2.0torchvision:0.4.0Anaconda安装最新版本的Anaconda没有VSCODE,如果大家为了安装VSCODE方便可以直接安装旧版的Anaconda,百度网盘连接如下。也可以装新版然后分开装VSCODE。链接:https://pan

    2022年6月11日
    39
  • Vue学习之自定义指令「建议收藏」

    Vue学习之自定义指令「建议收藏」Vue学习之自定义指令

    2022年4月23日
    68

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号