window.open
来源:互联网 发布:阿里云代金券如何使用 编辑:程序博客网 时间:2024/06/06 05:02
//整体链接 $(".test").click(function () { window.open("/shopping/v/" + $(this).attr("lang") + "/content.html"); });
$(document).ready(function () { //百度在线客服弹窗 function BDOline() { var url = 'http://p.qiao.baidu.com/cps/chatIndex?reqParam=%7B%22from%22%3A0%2C%22sid%22%3A%22-100%22%2C%22tid%22%3A%22-1%22%2C%22ttype%22%3A1%2C%22siteId%22%3A%2210886589%22%2C%22userId%22%3A%229907003%22%2C%22pageId%22%3A0%7D';//转向网页的地址; var iWidth = 592; //弹出窗口的宽度; var iHeight = 612; //弹出窗口的高度; var iTop = (window.screen.height - 30 - iHeight) / 2; //获得窗口的垂直位置; var iLeft = (window.screen.width - 10 - iWidth) / 2; //获得窗口的水平位置; //window.open(url, "", "help=no,toolbar=no,height=' + iHeight + ',width=' + iWidth + ',top=' + iTop + ',left=' + iLeft + '"); window.open(url, "", 'height=' + iHeight + ',,innerHeight=' + iHeight + ',width=' + iWidth + ',innerWidth=' + iWidth + ',top=' + iTop + ',left=' + iLeft + ',status=no,toolbar=no,menubar=no,location=no,resizable=no,scrollbars=0,titlebar=no'); } $(".footerBDOnline").click(function () { BDOline(); }); });
阅读全文
0 0
- window.open
- window.open
- window.open()
- OPEN WINDOW
- window.open()
- window.open
- window.open
- window.open()
- window.open()
- window.open
- window.open
- Window.open()
- window.open
- window.open
- window.open
- window.open
- window.open
- window.open()
- cocos2d-x实现安卓调用相机相册实现及详解
- 二维修POS不良品分析
- 接受一个有字母和数字以及空格组成的字符串,和一个字符,然后输出输入字符串中含有该字符的个数。不区分大小写
- 设计模式——单例模式及jdk中的应用
- 有了Excel2016,再也不用为复杂的双层饼图而烦恼了
- window.open
- 【python】PIL resize图片
- 免费分享: MySQL零基础入门教程!
- 【转】ERROR: JDWP Unable to get JNI 1.2 environment解决办法
- 【转载】SpringMVC框架简介
- 微信的audio无法自动播放的问题
- unity 摄像机跟随物体 第一人称跟随
- validate表单验证功能
- Discuz!:密码错误次数过多,请15分钟后重新登陆的修改方法