javascript¸ßÊÖ½ø
JScript code:
<script language="javascript" type="text/javascript">
function $(e) {return document.getElementById(e);}
document.getElementsByClassName = function(cl) {
var retnode = [];
var myclass = new RegExp('\\b'+cl+'\\b');
var elem = this.getElementsByTagName('*');
for (var i = 0; i < elem.length; i++) {
var classes = elem[i].className;
if (myclass.test(classes)) retnode.push(elem[i]);
}
return retnode;
}
var MyMar;
var speed = 1; //Ëٶȣ¬Ô½´óÔ½Âý
var spec = 1; //ÿ´Î¹ö¶¯µÄ¼ä¾à, Ô½´ó¹ö¶¯Ô½¿ì
var ipath = 'images/home/'; //ͼƬ·¾¶
var thumbs = document.getElementsByClassName('thumb_img');
for (var i=0; i<thumbs.length; i++) {
//thumbs[i].onmouseover = function () {$('main_img').src=this.rel; $('main_img').link=this.link;};
thumbs[i].onclick = function () {location = this.link}
}
//$('main_img').onclick = function () {location = this.link;}
$('gotop').onmouseover = function() {this.src = ipath + 'gotop.jpg'; MyMar=setInterval(gotop,speed);}
$('gotop').onmouseout = function() {this.src = ipath + 'gotop.jpg'; clearInterval(MyMar);}
$('gobottom').onmouseover = function() {this.src = ipath + 'gobottom.jpg'; MyMar=setInterval(gobottom,speed);}
$('gobottom').onmouseout = function() {this.src = ipath + 'gobottom.jpg'; clearInterval(MyMar);}
function gotop() {$('
Ïà¹ØÎÊ´ð£º
ÈçÌâ¡£
ͬÑùµÄ´úÂ룬ÎÒÔÚaspxÒ³ÃæÖоÍÊÇÄÜÖ´Ðеģ»
·ÅÔÚjsÎļþÖУ¬Í¨¹ýÒýÓÃʹÓþͲ»ÐÐÁË£¬ÎªÊ²Ã´£¿
ÎÒ²ÂÊÇScriptManagerµÄÔÒò£»
ÄÜÔÚjsÎļþÖÐÒýÈëScriptManagerô£¿
up
°Ñµ¼Èë´úÂëÒƵ½aspxÖ´ÐÐ ......
HTML code:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %>
<!DOCTYPE html PUBLIC "-//W3C//DT ......
javascript »òÕß Jsp ÈçºÎʵÏÖµ¯³ö±£´æÎļþ¶Ô»°¿òÄØ£¿ ÎÒÊÇ´òË㽫JspÒ³Ãæ»òµÃµ½µÄ²ÎÊý±£´æµ½±¾µØ¡£±ÈÈç˵£¬·þÎñÆ÷¶Ë·µ»ØÁËÒ»¸öxmlÎļþ£¬ÎÒÏë°ÑËüµÄÄÚÈݱ£´æÏÂÀ´£¬µ«Õâ²»ÊÇÏÂÔØ£¬¶øÊÇʹÓÃä¯ÀÀÆ÷ÔÚ±¾µØ´´½¨Ò»¸öÎļþ£¬½ ......
ÎÒÄ£·Â¡°ÊµÏÖÍøÂçÂìÒÏ¡¢JETCARµÈÈí¼þÖ®IEÓÒ¼ü²Ëµ¥µÄ¡°ÓÃxxxxxxÏÂÔØ¡±Àý×Ó£¬¡±ÔÚieÓÒ»÷²Ëµ¥µ¯³öÒ»¸öÓ¦ÓóÌÐò£¬ÔÚÎҵĻú×ÓÉÏÔËÐÐÄÜʵÏÖЧ¹û£¬µ«ÊÇÎÒ°ÑÔËÐкõijÌÐò´ò°üµ½ÁíÒ»»ú×ÓÉÏ£¨¡°HKEY_CURRENT_USER\Software\Mic ......
ÈçϵĿò¼Ü¶¨Ò壺
<frameset cols="100,*">
<frame name="left" src="a.html">
<frameset rows="80,*">
......