method: adRotator.initialize(容器名id); method: adRotator.add(图片地址[,文字项][,链接地址]) method: adRotator.play(); 运行代码框 New Document set time ' _html += '' _html += ''; _html += ''; _html += (_t[_c]?('' + (_c+1) + '. ' + _t[_c] + ''):''); _html += ''; _html += ""; _html += ''; for(var i=0; i' + (i>8?(i+1):('0'+(i+1)))+ ' '; _html += ""; getRef(_o).innerHTML = _html; ...
by luckfly - AIX文档中心 - 2006-05-10 23:08:11 阅读(1063) 回复(0)
以下以 IE 代替 Internet Explorer,以 MF 代替 Mozzila firefox 1. document.form.item 问题 (1)现有问题: 现有代码中存在许多 document.formName.item("itemName") 这样的语句,不能在 MF 下运行 (2)解决方法: 改用 document.formName.elements["elementName"] (3)其它 参见 2 2. 集合类对象问题 (1)现有问题: 现有代码中许多集合类对象取用时使用 (),IE 能接...
[code]Javascript的IE和firefox兼容性汇编 以下以 IE 代替 Internet Explorer,以 MF 代替 Mozzila firefox 1. document.form.item 问题 (1)现有问题: 现有代码中存在许多 document.formName.item("itemName") 这样的语句,不能在 MF 下运行 (2)解决方法: 改用 document.formName.elements["elementName"] (3)其它 参见 2 2. 集合类对象问题 (1)现有问题: 现有代码中许多集合类对象...
兼容ie、firefox的图片自动缩放的css跟js 需求:图片width<=330px,height<=150。 -------------------------------------------------------------------------------- 1、利用max-width,max-height使图片等比例自动缩放,代码:[code]?1234567 img{ max-width: 330px; max-height: 150px; } [/code]由于ie6不支持css max-width,max-height,所以在ie6中需要利用javascript脚本来控制大小。 2、用ja...
无标题文档 #focus_m{position:relative; width:420px; height:384px; background:#133775} .f_img_roll{width:350px; height:300px; position:relative;} .f_img_roll img{position:absolute; left:0; top:0; width:350px; height:300px;} .f_img_tree{position:absolute; width:75px; height:300px; right:3px; top:0;} .f_img_tree div{position:absolute; z-index:300; top:3px; right:0; width:75px; height:47px; backgroun...
转:日子依旧 js屏蔽效果[code] /** *屏蔽功能类(屏蔽F5、Ctrl+N、Shift+F10、Alt+F4、右键菜单......) *@createDate 2009-07-30 *@author Carl He */ /** 屏蔽F1帮助 */ window.onhelp = function(){return false;} /** *屏蔽 F5、Ctrl+N、Shift+F10、Alt+F4 *如果想要屏蔽其他键,则找到对应的 keyCode 再依照此方法即可 */ document.onkeydown = function(event){ event = window....
!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> HTML> HEAD> TITLE> New Document /TITLE> META NAME="Generator" CONTENT="EditPlus"> META NAME="Author" CONTENT=""> META NAME="Keywords" CONTENT=""> META NAME="Description" CONTENT=""> /HEAD> script language="javascript"> function dgclasslist(prefix,id) { var elem; for (var i=1; i=5; i++) { if (id == ...
转:程序新青年 浏览器兼容js问题 今天解决了两个浏览器兼容js问题 第一个 body的onload事件,这个事件在火狐和IE是都可以执行的,只是会有名称关键字问题[code]function onload() { ...... }[/code]如果function 的名字为onload,火狐就不会认可,IE下没事,所以要记住命名规范,命名千万不要用关键字,否则找问题很麻烦, 第二个就是js修改页面样式的问题[code]function showsubmenu(sid) { whichEl = eval("subme...
WebCalendar.js兼容ie和火狐js日历插件[code]//调用 // var cal; var isFocus=false; //是否为焦点 //自加 var objdate //选择日期 function SelectDate(obj,strFormat) { //自加 objdate = obj; var date = new Date(); var b...
about:config
右键新建,布尔值
extensions.checkCompatibility, 值为 false
extensions.checkCompatibility.版本号,值为false
右键新建,布尔值
extensions.checkUpdateSecurity, 值为 false
对于nightly版本,还需要
extensions.checkCompatibility.nightly,值为false
重启 firefox