使用Javascript向Mouseover添加延迟

时间:2014-03-19 16:17:46

标签: javascript jquery actionscript-3 actionscript

我的pagepeel广告单元使用以下脚本,它有两个维度:

关闭= 100x100并且开启= 500/480

<script language="javascript" type="text/javascript">
var ppClosed = "http://ads.one.co.il/images/ads/2014/03/19/1715/100x100_Play_Get.swf";
            var ppOpened = "http://ads.one.co.il/images/ads/2014/03/19/1715/500x480_43823_loader.swf";
            var ppLink = "http://www.one.co.il/";
            var ppRolloverCounter =1903171;

            ShowFlash(ppClosed, "ppClosed", 100, 100, "adPagePeelClosed");
            $j("#adTower250").css("top", "120px");
            $j("#adPagePeelClosed").show();

            function PagePeelOpen()
            {
                var zzp = new Image();
                zzp.src = "http://l4.zedo.com/log/p.gif?a=" + ppRolloverCounter + ";c=455000000;x=5632;n=455;e=i;i=0;s=0;z=" + Math.random

();
                ShowFlash(ppOpened + "?clickTAG=%ZZCLICK%" + ppLink, "ppOpened", 500, 480, "adPagePeelOpened");
                $j("#adPagePeelOpened").toggle();
            }

            function PagePeelClose()
            {
                $j("#adPagePeelOpened").toggle();
            }
</script>

我希望在从100x100到500x480打开之前在鼠标悬停事件后添加0.5秒延迟并防止错误打开的情况。是否可以不更改SWF文件中的动作脚本?

0 个答案:

没有答案