求一段JQuery的代码,类似加网jiathis分享的那个.... http://www.jiathis.com/getcode这个链接,要侧栏式的这种...我只要效果的代码,就是鼠标放上去显示的这种..谢谢! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <SCRIPT language=JavaScript1.2>function move(x, y) {if (document.all) {object1.style.pixelLeft += x;object1.style.pixelTop += y;}elseif (document.layers) {document.object1.left += x;document.object1.top += y;}};//欢迎来到站长特效网,我们的网址是www.zzjs.net,很好记,zz站长,js就是js特效,本站收集大量高质量js代码,还有许多广告代码下载。function position() {document.object1.left += -82;document.object1.top += 0;document.object1.visibility = "show"};//欢迎来到站长特效网,我们的网址是www.zzjs.net,很好记,zz站长,js就是js特效,本站收集大量高质量js代码,还有许多广告代码下载。function makeStatic() {if (document.all) {object1.style.pixelTop=document.body.scrollTop+20}else {eval('document.object1.top=eval(window.pageYOffset+20)');}setTimeout("makeStatic()",0);}</SCRIPT><STYLE type=text/css>.hl { BACKGROUND-COLOR: green; COLOR: white; CURSOR: hand}.n {}</STYLE><!--第二步:再将下列代码复制到<body></body>之间:--><LAYER class=NS onmouseout="move(-132, 0)"onmouseover="move(132, 0)" left="0" bgcolor="black" name="object1" top="20"visibility="hide"><SCRIPT language=JavaScript1.2>if (document.all)document.write('<DIV ID="object1" style="Position : Absolute ;Left : -82px ;Top : 20px ;Width : 0px ;Z-Index : 20">')</SCRIPT><TABLE bgColor=#000000 border=0 cellPadding=2 cellSpacing=1 onmouseout="move(-82, 0)" onmouseover=move(82,0) width=100> <TBODY> <TR> <TD bgColor=#009900><FONT face=宋体 size=3><B>导航菜单</B></FONT></TD> <TD align=middle bgColor=#006600 rowSpan=100 width=12> <SCRIPT language=JavaScript1.2>if (document.all||document.layers)document.write('<p align="center"><font size="2" face="Arial Black"></font>')</SCRIPT> </TD></TR> <SCRIPT language=JavaScript1.2><!--if (document.all||document.layers)makeStatic();if (document.layers) {window.onload=position;}var sitems=new Array();var sitemlinks=new Array();// 配置以下sitems[0]="zzjs.net";sitems[1]="zzjs.net";sitems[2]="zzjs.net";sitems[3]="zzjs.net";sitemlinks[0]="http://www.zzjs.net";sitemlinks[1]="http://www.zzjs.net";sitemlinks[2]="http://www.zzjs.net";sitemlinks[3]="http://www.zzjs.net";for (i=0;i<=sitems.length-1;i++)if (document.all) {document.write('<TR><TD bgcolor=white onclick="location=\''+sitemlinks[i]+'\'" onmouseover="className=\'hl\'" onmouseout="className=\'n\'"><FONT SIZE=2>'+sitems[i]+'</FONT></TD></TR>')}else if (document.layers){document.write('<TR><TD bgcolor="white"><FONT SIZE=2><A HREF="'+sitemlinks[i]+'">'+sitems[i]+'</A></FONT></TD></TR>')}function hl(n) {n.className='hl'}function n(h) {h.className='n'}//--></SCRIPT> </TBODY></TABLE><SCRIPT language=JavaScript1.2>if (document.all)document.write('<\/DIV>')</SCRIPT></LAYER>来自http://js.alixixi.com/a/2016325062622.shtml楼主再按需要修改下。 好吧。那就最简单 的方法!打开http://v2.jiathis.com/code/jiathis_r.js,下载,在里面修改内容就可以了 .NET系统嵌套的JAVA系统子页面无法使用parent.document 求教:Ext RowEditor插件內取值問題和AJAX传值乱码 新手问个问题 如何根据下拉框的选择来决定另一文本框是否显示或可输入内容? 怎么能实现鼠标拖动的时候带一个自定义的图标? getElementById??? 100分求助:请问如何使用js或者vbs获取本机ip以及本机局域网的外网ip?? 如何让网页的背景图居于右下角。。。 急!!!有关数据库中的记录的打印问题??? 关于vue自定义指令控制元素显隐藏的问题 settimeout每秒更新 看下这段代码,想优化下
<SCRIPT language=JavaScript1.2>
function move(x, y) {
if (document.all) {
object1.style.pixelLeft += x;
object1.style.pixelTop += y;}
else
if (document.layers) {
document.object1.left += x;
document.object1.top += y;
}};
//欢迎来到站长特效网,我们的网址是www.zzjs.net,很好记,zz站长,js就是js特效,本站收集大量高质量js代码,还有许多广告代码下载。
function position() {
document.object1.left += -82;
document.object1.top += 0;
document.object1.visibility = "show"
};
//欢迎来到站长特效网,我们的网址是www.zzjs.net,很好记,zz站长,js就是js特效,本站收集大量高质量js代码,还有许多广告代码下载。
function makeStatic() {
if (document.all) {object1.style.pixelTop=document.body.scrollTop+20}
else {eval('document.object1.top=eval(window.pageYOffset+20)');}
setTimeout("makeStatic()",0);}
</SCRIPT>
<STYLE type=text/css>.hl {
BACKGROUND-COLOR: green; COLOR: white; CURSOR: hand
}
.n {
}
</STYLE>
<!--第二步:再将下列代码复制到<body></body>之间:-->
<LAYER class=NS onmouseout="move(-132, 0)"
onmouseover="move(132, 0)" left="0" bgcolor="black" name="object1" top="20"
visibility="hide">
<SCRIPT language=JavaScript1.2>
if (document.all)
document.write('<DIV ID="object1" style="Position : Absolute ;Left : -82px ;Top : 20px ;Width : 0px ;Z-Index : 20">')
</SCRIPT>
<TABLE bgColor=#000000 border=0 cellPadding=2 cellSpacing=1 onmouseout="move(-82, 0)" onmouseover=move(82,0) width=100>
<TBODY>
<TR>
<TD bgColor=#009900><FONT face=宋体 size=3><B>导航菜单</B></FONT></TD>
<TD align=middle bgColor=#006600 rowSpan=100 width=12>
<SCRIPT language=JavaScript1.2>
if (document.all||document.layers)
document.write('<p align="center"><font size="2" face="Arial Black"></font>')
</SCRIPT>
</TD></TR>
<SCRIPT language=JavaScript1.2>
<!--
if (document.all||document.layers)
makeStatic();
if (document.layers) {
window.onload=position;
}
var sitems=new Array();
var sitemlinks=new Array();
// 配置以下
sitems[0]="zzjs.net";
sitems[1]="zzjs.net";
sitems[2]="zzjs.net";
sitems[3]="zzjs.net";
sitemlinks[0]="http://www.zzjs.net";
sitemlinks[1]="http://www.zzjs.net";
sitemlinks[2]="http://www.zzjs.net";
sitemlinks[3]="http://www.zzjs.net";
for (i=0;i<=sitems.length-1;i++)
if (document.all) {document.write('<TR><TD bgcolor=white onclick="location=\''+sitemlinks[i]+'\'" onmouseover="className=\'hl\'" onmouseout="className=\'n\'"><FONT SIZE=2>'+sitems[i]+'</FONT></TD></TR>')}
else if (document.layers){document.write('<TR><TD bgcolor="white"><FONT SIZE=2><A HREF="'+sitemlinks[i]+'">'+sitems[i]+'</A></FONT></TD></TR>')}
function hl(n) {
n.className='hl'}
function n(h) {
h.className='n'}
//--></SCRIPT>
</TBODY></TABLE>
<SCRIPT language=JavaScript1.2>
if (document.all)
document.write('<\/DIV>')
</SCRIPT>
</LAYER>
来自http://js.alixixi.com/a/2016325062622.shtml
楼主再按需要修改下。
打开http://v2.jiathis.com/code/jiathis_r.js,下载,在里面修改内容就可以了