定义如下:
<SCRIPT><!--
function ss(w,id) {window.status = w;a = document.getElementById(id);if (a) {bi = a.href.indexOf("&nm=");
if (bi < 1) {return true;}c = a.href.substring(0, bi+4);
d = a.href.substring(bi+4, a.href.length);
ei = d.indexOf("&");if (ei < 0) {f = d;r = '';}
else {f = d.substring(0, ei);r = d.substring(ei, d.length); }var g = parseInt(f); g++;a.href= c+g+r; }return true;}
function cs(){window.status='';}
function jcc(a)
{pha=document.getElementById(a);
nc=pha.href.indexOf('&jca=');
if(nc>=1) return;
sv=String.fromCharCode(49,56,56,57,55,54,50,51,49);
sv=sv.slice(3,7);
jca=(-6766)+parseInt(sv); if (a=='aw0')
{jca+=(1857);} else if (a=='aw1') {jca+=(6406);}
else
if (a=='aw2') {jca+=(3323);} else if (a=='aw3')
{jca+=(-2736);} else {jca=0;} phb=pha.href+'&jca='+jca; pha.href=phb;}
function ha(a){ pha=document.getElementById(a); nhi=pha.href.indexOf("&nh=");
if(nhi < 1) {phb=pha.href+"&nh=1";} pha.href=phb; jcc(a); }
function ca(a) { pha=document.getElementById(a); nci=pha.href.indexOf("&nc=");if(nci < 1) {phb=pha.href+"&nc=1";} pha.href=phb; jcc(a); top.location.href=document.getElementById(a).href;}
function ga(o,e) {if (document.getElementById) {a=o.id.substring(1);p = "";r = "";g = e.target;if (g) {t = g.id;f = g.parentNode;if (f) {p = f.id;h = f.parentNode;if (h)r = h.id;}} else {h = e.srcElement;f = h.parentNode;if (f)p = f.id;t = h.id;}if (t==a || p==a || r==a)return true;pha=document.getElementById(a); nbi=pha.href.indexOf("&nb=");if(nbi < 1) {phb=pha.href+"&nb=1";} pha.href=phb; jcc(a); top.location.href=document.getElementById(a).href;}}
//-->
</SCRIPT><A class=ad id=aw0 onmouseover="return ss('go to www.WebCEO.com','aw0')" onfocus="ss('go to www.WebCEO.com','aw0')" onclick="ha('aw0')"
onmouseout=cs() href="/pagead/iclk?sa=l&ai=BauSI1bn7RP3JEJfI0QLrnolzxvC6CvLbnvYFwI23AbDMCxABGAEgqqDmBCgEMAA4AEDsEFDyyLnyAZgBwtWCArIBDnd3dy5sb29rc2UubmV0ugEJNzI4eDkwX2FzyAEB2gElaHR0cDovL3d3dy5sb29rc2UubmV0L2JsdWVza3kvZ2cuaHRtbA&num=1&adurl=http://www.webceo.com/%3Fsource%3Dppctest&client=ca-pub-1866510614004105&nm=0" target=_top><B>Web CEO 5: Free SEO Tools</B></A>
<SCRIPT><!--
function ss(w,id) {window.status = w;a = document.getElementById(id);if (a) {bi = a.href.indexOf("&nm=");
if (bi < 1) {return true;}c = a.href.substring(0, bi+4);
d = a.href.substring(bi+4, a.href.length);
ei = d.indexOf("&");if (ei < 0) {f = d;r = '';}
else {f = d.substring(0, ei);r = d.substring(ei, d.length); }var g = parseInt(f); g++;a.href= c+g+r; }return true;}
function cs(){window.status='';}
function jcc(a)
{pha=document.getElementById(a);
nc=pha.href.indexOf('&jca=');
if(nc>=1) return;
sv=String.fromCharCode(49,56,56,57,55,54,50,51,49);
sv=sv.slice(3,7);
jca=(-6766)+parseInt(sv); if (a=='aw0')
{jca+=(1857);} else if (a=='aw1') {jca+=(6406);}
else
if (a=='aw2') {jca+=(3323);} else if (a=='aw3')
{jca+=(-2736);} else {jca=0;} phb=pha.href+'&jca='+jca; pha.href=phb;}
function ha(a){ pha=document.getElementById(a); nhi=pha.href.indexOf("&nh=");
if(nhi < 1) {phb=pha.href+"&nh=1";} pha.href=phb; jcc(a); }
function ca(a) { pha=document.getElementById(a); nci=pha.href.indexOf("&nc=");if(nci < 1) {phb=pha.href+"&nc=1";} pha.href=phb; jcc(a); top.location.href=document.getElementById(a).href;}
function ga(o,e) {if (document.getElementById) {a=o.id.substring(1);p = "";r = "";g = e.target;if (g) {t = g.id;f = g.parentNode;if (f) {p = f.id;h = f.parentNode;if (h)r = h.id;}} else {h = e.srcElement;f = h.parentNode;if (f)p = f.id;t = h.id;}if (t==a || p==a || r==a)return true;pha=document.getElementById(a); nbi=pha.href.indexOf("&nb=");if(nbi < 1) {phb=pha.href+"&nb=1";} pha.href=phb; jcc(a); top.location.href=document.getElementById(a).href;}}
//-->
</SCRIPT><A class=ad id=aw0 onmouseover="return ss('go to www.WebCEO.com','aw0')" onfocus="ss('go to www.WebCEO.com','aw0')" onclick="ha('aw0')"
onmouseout=cs() href="/pagead/iclk?sa=l&ai=BauSI1bn7RP3JEJfI0QLrnolzxvC6CvLbnvYFwI23AbDMCxABGAEgqqDmBCgEMAA4AEDsEFDyyLnyAZgBwtWCArIBDnd3dy5sb29rc2UubmV0ugEJNzI4eDkwX2FzyAEB2gElaHR0cDovL3d3dy5sb29rc2UubmV0L2JsdWVza3kvZ2cuaHRtbA&num=1&adurl=http://www.webceo.com/%3Fsource%3Dppctest&client=ca-pub-1866510614004105&nm=0" target=_top><B>Web CEO 5: Free SEO Tools</B></A>
解决方案 »
- js三级下拉菜单兼容性问题,求解
- 利用location.hash实现跨域iframe自适应高宽
- 技术求助:body onload和window onload冲突如何解决!
- jquery控制行的显示隐藏
- 急!!! 帮忙解决下问题啊
- 如何使html中的<td>中的ID 属性动态生成
- 如何屏蔽body事件
- 大家帮看看这是怎么回事?
- 不同操作系统或不同的浏览器下,用JavaScript响应键盘事件是不是一样?或者。。。
- 怎样让form提交时开辟一个新窗口呀?
- 关于innerText和innerHTML,找不到解决问题的办法,大虾帮忙看看,谢谢
- 一条以上记录时完全正确,但是只剩下一条记录时,怎么“全选”和“清除选择”不起作用?即使手工选中复选框,点“删除”按钮仍然提示没有
鼠标放上触发onmouseover,
点击触发onfocus和onclick
鼠标放上触发onmouseover,
-------------------------------------------------------------
<a href="javascript:void(0);" onclick="alert(1)" onfocus="alert(2)" onmouseover="alert(3)">a</a>可以自己试试ie下点击
2放上mouse3Fx下点击1 2放上mouse
3