Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

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() {$('


Ïà¹ØÎÊ´ð£º

Javascript Ê÷Õ¹¿ª£¬ÕÛµþµÄÎÊÌ⣡лл¸ßÊÖ

Ê÷HTML
<div id="DataTreeView" class="dtree" onclick="treeview_click(this);">
  <Table> Õ¹¿ª OR ÕÛµþ </Table>
    <DIV> ......

JavaScriptµ÷ÓÃC++º¯Êý

ÇëÎÊÔÚ¶Ô»°¿òÀïÄÚǶä¯ÀÀÆ÷¿Ø¼þ£¬´ïµ½¸úÍøÒ³½»»¥

Ïëͨ¹ýJavaScriptµ÷ÓÃC++º¯Êý  ÐèÒªÍê³É  Äö²½Ö裿
Çë°´²½Öè˵Ã÷¡£

C++½«º¯Êý·Åµ½ÄÄÀï ¹© JavaScript ²éѯ²¢µ÷ÓÃÄØ£¿

ËäÈ»Óд ......

»ñÈ¡javascript¶Ô»°¿ò·µ»ØÖµµÄ×î¼Ñ½â¾ö·½°¸ ¾ø¶Ô×îÓÅ

Õâ¸ö¶Ô»°¿òÊÇCSÀﵯ³öÀ´µÄ

public static void MsgBox_(Page Page, string Msg)
        {
            ClientScriptManager ClientScriptManager ......

JavaScript Çë½Ì

ScriptManager.RegisterStartupScript(this.UpdatePanel1, this.GetType(),this.ClientID, " <script language=\"javascript\" type=\"text/javascript\"> if(confirm('ÐèÒªÖ±½Ó ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ