javascriptÖе÷ÓÃdelphiº¯Êý
ÒÔÏÂÊÇtest.htmÒ³µÄÄÚÈÝ
Ê×Ïȶ¨ÒåÒ»¸ö²å¼þ¶ÔÏó
<object id="Mapupload" name="Mapupload" width="0" height="0" classid="clsid:045FA9B9-B373-4D4C-AE76-128A19A4B6AE">
</object>
<script type="text/javascript">
//´Ëº¯Êý´ò¿ªactivexform´°Ì岢ΪactiveformµÄÊôÐÔ¸³Öµ
function loadUploader(){
if(window.ActiveXObject){
try{
document.getElementById("Mapupload").picname='20060531'; //Ϊ¶ÔÏó¸³Öµ
document.getElementById("Mapupload").open(); //µ÷ÓöÔÏóµÄopen·½·¨
}
catch(e){
}
}
else{
}
}
</script>
<TEXTAREA style="WIDTH: 400px; HEIGHT: 226px" name="" id='Content' rows=20 cols=40></TEXTAREA>
<button name="start" type="button" onclick="loadUploader();"></button>
<!-- scriptº¯Êý -->
<script Language=Javascript>
function InsertHTML()
{
var UrlStr = document.getElementById("MapUpload").Content;
alert(UrlStr);
}
</script>
<!-- ¶¨ÒåDelphiÖзÃÎʵÄOnCallʼþ¶ÔÓ¦µÄScript·½·¨ -->
¶¨Òå¶ÔÏóµÄOnInsertHTMLʼþΪactiveformµÄOninsertHTMLʼþ£¬²¢´¥·¢Ò³ÃæµÄinserthtml·½·¨
<SCRIPT FOR="Mapupload"
EVENT="OnInsertHTML()"
LANGUAGE="JScript">
<!-- insert script commands -->
InsertHTML();
</SCRIPT>
delphiÖнöÐèÔÚ_TLBÖÐÉùÃ÷OninsertHTMLʼþ£¬Open·½·¨£¬contentÊôÐÔ¼´¿É
procedure TFeSendFrmX.open;
begin
hnd := self.handle;
FrmUpLoad := TFrmUpLoad.Create(self);
with FrmUpload do
begin
ShowModal;
 
Ïà¹ØÎĵµ£º
±¾ÎÄÖ÷ÒªÊdzöÓÚÓÐÅóÓÑʹÓÃÎÒÔÀ´Ð´µÄautocompleteµÄJS¿Ø¼þ¡£µ±Êý¾ÝÁ¿´óµÄʱºò£¬»á³öÏÖЧÂʼ«ÆäÂýµÄÇé¿ö£¬ÎÒÔÚÕâ¶Îʱ¼ä×ö³öµÄһЩ²âÊÔÒ²¼°Ò»Ð©¾Ñ飬Óë´ó¼Ò·ÖÏí£¬Èç¹ûÓдíµÄµØ·½£¬»¹ÇëÖ¸³ö¡£
¾¹ý²âÊÔ£¬ÎÒÃǻᷢÏÖÈçϵÄÇé¿ö»òÕß˵µÄ½áÂÛ£¬Èç¹ûÄúµÄ²âÊÔ½á¹ûÓëÎҵIJ»·û£¬Çë˵Ã÷ÔÒò£¬ÒÔ±ãÏ໥ѧϰ¡£
1£©µ±Ò»¸ö½Ï´óµÄHTML×Ö· ......
¼¸ºõËùÓеĸ» Web Ó¦Óö¼»ùÓÚÒ»¸ö»ò¶à¸ö Web UI ¿â»ò¿ò¼Ü£¬ÕâЩ UI ¿âÓë¿ò¼Ü¼«´óµØ¼ò»¯ÁË¿ª·¢½ø³Ì£¬²¢´øÀ´Ò»Ö£¬¿É¿¿£¬ÒÔ¼°¸ß¶È½»»¥ÐÔµÄÓû§½çÃæ¡£±¾ÎĽéÉÜÁË 15 ¸ö·Ç³£Ç¿´óµÄ JavaScript Web UI ¿â£¬·Ç³£Êʺϸ÷ÖÖ¸÷ÖÖ¹æÄ£µÄ¸» Web Ó¦ÓõĿª·¢¡£
LivePipe
LivePipe UI »ùÓÚ Prototype Javascript ¿ò¼Ü£¬°üº¬ÁËÒ»ÕûÌ×¾Ñϸ ......
<title>JavaScriptÇл»Í¼Æ¬</title>
<script>
function showDaTu(src){
document.getElementById("defaultImg").src=src;
}
</script>
<img src="/jscss/demoimg/wall1.jpg" id="defaultImg">
<br><br><br>
<img src='/jscss/demoimg/wall_s1.jpg' onmouseover ......
ÔÎĵØÖ·£ºhttp://blog.zenw.org/index/view/id/8
¾ÍÔڸղţ¬Ê¹ÓÃGOOGLE²é¿´Ã÷ÌìµÄÌìÆø£¬¿´µ½ÁËGOOGLEΪ¼ÍÄ³Ô¶¹³¬ÈË¡·30ÖÜÄê¶ø¸üеġ¶³Ô¶¹³¬ÈË¡·JavaScript LOGOÓÎÏ·¡£ºÜÓÐÒâ˼¡£¶øÇÒ»¹Ö§³ÖË«´ò£¨ÔÀ´µÄ“ÊÖÆø²»´í”°´Å¥±»ÉèÖÃΪÁËË«´òÆô¶¯°´Å¥“Insert Coin”£©¡£À´ÊÔÊÔ°É¡£
ÈçÏÂͼ
¸Õ¸Õ½øÈëºó ......
Ö±½ÓÉÏÀý×Ó£º
<html>
<script language = "javascript">
var msg = "È«¾Ö±äÁ¿";
function show(){
msg = "¾Ö²¿±äÁ¿";
}
show();
alert(msg);
</script&g ......