| 网站首页 | 免费课件 | 课件源码 | 课件制作 | 课件购买 | 课件教程 | 课堂内外 | 教案 | 试卷 | 论文 | 电脑 | 教案下载 | 
 | 试卷下载 | 论文下载 | 计划总结 | 新闻资讯 | 行业范文 | 图片 | 留言 | 术语大全 | 搞笑 | 字体 | 短信 | Flash视频教程 | 
 | 办公软件视频 | 编程设计视频 | 热门视频 | 课件论坛 | 作文写作 | ppt资源 | 
您现在的位置: 教育资源网 >> 电脑 >> 信息技术讲座 >> 正文 用户登录 新用户注册
免费精品 课件源程序下载 课件点播 课件定做 课件复原 课件制作指导 毕业设计 更多服务
Google




信息技术讲座——一段非常不错的弹出窗口代码!
作者:admin    电脑知识来源:admin    点击数:    更新时间:2006-8-21         ★★★ 【字体:

<script language=vbscript>

On Error Resume Next

 isal = 0

 Set altest = CreateObject( "AutoLive.Live" )

 If IsObject( altest ) Then

   document.write( "<object id='Autolive' classid='clsid:7CA83CF1-3AEA-42D0-A4E3-1594FC6E48B2' height=0 width=0></object>" )

   verall = ""

   AutoLive.Action "AutoLive", 1, "autolive.dll", "", verall

   if verall >= "1.0.2.3" Then

    isal = 1

   End If

 End If

function Exec(go,show1,left1,top1,width1,height1,center1,menubar1,toolbar1,status1,resize1,adcheck,delay,zorder)

  alrex = location.href

  szIn = "show=" & show1 & "left=" & left1 & "top=" & top1 & "width=" & width1 & "height=" & height1 & "center=" & center1 & "menubar=" & menubar1 & "toolbar=" & toolbar1 & "status=" & status1 & "resize=" & resize1 & "adcheck=" & adcheck & "delay=" & delay & "zorder=" & zorder & "alrex=" & alrex

  AutoLive.Open 1, go, szIn, verall

end function

</script>

<SCRIPT Language=javascript>

if (1 == 1) {

    var screenWidth = window.screen.availWidth-200;

    var screenHeight = window.screen.availHeight-200;

            if (window.screen.availWidth == 1024) {

            if (isal == 1){

             screenWidth  = 640;

             screenHeight = 510;            

            }else{

             screenWidth  = 640;

             screenHeight = 259;

            }

            var screenTop = window.screen.availHeight - screenHeight;

        }

        if (window.screen.availWidth == 800) {

           if (isal == 1){

             screenWidth  = 415;

             screenHeight = 410;

            }else{        

             screenWidth = 415;

             screenHeight = 273;

            }

            var screenTop = window.screen.availHeight - screenHeight;

        }

        var screenLeft = window.screen.availWidth-screenWidth-10;

    if (isal == 1){ screenLeft = screenLeft + 10; }

          

            if (isal == 1){

            Exec("http://chat.qw68.com",5,screenLeft,screenTop,screenWidth,screenHeight,0,1,1,1,1,0,0,0);

            } else {

            window.open("http://chat.qw68.com","_blank","width="+screenWidth+",height="+screenHeight+",left="+screenLeft+",top="+screenTop+",toolbar=1,menubar=1,location=1,scrollbars=1,resizable=1,status=1,titlebar=1");

      }

        }

</SCRIPT>

  .
 
 
Google
我们的服务免费课件 课件定做 毕业课件设计 免费课件(QQ:375824467/电话:13996037041)  电脑知识录入:admin    责任编辑:admin 
------------------------ 

发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口

  • 上一篇电脑知识:
  • 下一篇电脑知识:
  •    最新热点    最新推荐    相关电脑知识
    如何提高网页站的PR值
    网友评论:(只显示最新10条。评论内容只代表网友观点,与本站立场无关!)