锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲最大av资源站无码av网址,亚洲动漫精品无码av天堂,国产精品亚洲五月天高清http://m.tkk7.com/zhyiwww/category/16755.htmlzhyiwwwzh-cnWed, 12 Mar 2008 07:55:47 GMTWed, 12 Mar 2008 07:55:47 GMT60鐢╦avascript鎿嶄綔VML瀵硅薄鐨勪竴浜涚粡楠屾葷粨http://m.tkk7.com/zhyiwww/archive/2007/06/20/125363.htmlzhyiwwwzhyiwwwWed, 20 Jun 2007 08:22:00 GMThttp://m.tkk7.com/zhyiwww/archive/2007/06/20/125363.htmlhttp://m.tkk7.com/zhyiwww/comments/125363.htmlhttp://m.tkk7.com/zhyiwww/archive/2007/06/20/125363.html#Feedback0http://m.tkk7.com/zhyiwww/comments/commentRss/125363.htmlhttp://m.tkk7.com/zhyiwww/services/trackbacks/125363.html [1]聽聽聽聽聽 濡備綍鐢?/span> javascript 鍒涘緩 vml 瀵硅薄

R. prototype .createLine = function (startX,startY,endX,endY){

聽聽聽 /*

聽聽聽 * 綰跨殑鍏冪礌瀵硅薄

聽聽聽 */

聽聽聽 var le = document .createElement( "<v:line><v:line>" );

聽聽聽 le.from = startX + ',' + startY ;

聽聽聽 le.to = endX + ',' + endY ;

聽聽聽

聽聽聽 le.strokecolor= "red" ;

聽聽聽 le.strokeweight= "3pt" ;

聽聽聽

聽聽聽 return le;

}

涓婇潰鐨勪唬鐮佹槸鐢?/span> javascirpt 鏉ュ垱寤?/span> vml 鐨勫厓绱犲璞?/span>

[2]聽聽聽聽聽 濡備綍鐢?/span> javasciipt 鏉ュ彇寰?/span> vml 鍏冪礌瀵硅薄

R. prototype .getAllLineClips = function (){

聽聽聽 var lcs = $A( document .getElementsByTagName( "line" ));

聽聽聽 //alert(lcs);

聽聽聽 return lcs;

}

鍜?/span> javascript 鎿嶄綔鍏朵粬鐨勬爣絳懼璞′竴鏍楓?/span>

濡傛灉浣跨敤 <v:line></v:line> 鏍囩鐨勮瘽錛岄偅涔堝湪鍙栧緱姝ゅ璞$殑鏃跺欙紝鍙互閫氳繃 id 鏉ュ彇寰楀叾瀵硅薄錛屽綋鐒?dòng)灱屽鏋滄槸鍙栧緱鎵鏈夌殑榪欎釜鏍囩鐨勫璞$殑璇濓紝灝卞彲浠ヤ嬌鐢ㄤ笂闈㈢殑鏂規(guī)硶銆?/span>

灝卞 document .getElementsByTagName( "img" ) 涓鏍楓傚彧涓嶈繃鏄?/span> <v:line> 鍙兘灝辮寰椾笉澶竴鏍楓?/span>

[3]聽聽聽聽聽 濡備綍淇敼 VML 鍏冪礌瀵硅薄鐨勫睘鎬?/span>

鍜屼慨鏀瑰叾浠栫殑 HTML 瀵硅薄鐨勫睘鎬т竴鏍?/span>

涓涓?/span> VML 鍏冪礌瀵硅薄濡備笅錛?/span>

<v:line

from='200,200鈥?/st1:chmetcnv>

to=鈥?st1:chmetcnv unitname="鈥? sourcevalue="300100" hasspace="False" negative="False" numbertype="1" tcsc="0" w:st="on">300,100鈥?/st1:chmetcnv>

style='position:absolute;z-index:8'>

</v:line>

閭d箞浣犲彇寰椾簡姝ゅ璞?/span>

Var l = document. getElementsByID(鈥渓ine鈥?;

閭d箞浣犲氨鍙互閫氳繃

l.from = 鈥?st1:chmetcnv unitname="鈥? sourcevalue="100200" hasspace="False" negative="False" numbertype="1" tcsc="0" w:st="on">100,200鈥?/st1:chmetcnv>

l.to = 鈥?st1:chmetcnv unitname="鈥? sourcevalue="400250" hasspace="False" negative="False" numbertype="1" tcsc="0" w:st="on">400,250鈥?/st1:chmetcnv>

聽聽聽 l.strokecolor= "red" ;

聽聽聽 l.strokeweight= "3pt" ;

鏉ヨ緗綰垮璞$殑涓浜涘睘鎬с傚綋鐒跺叾浠栫殑灞炴т篃鏄彲浠ョ殑銆?/span> 聽聽



zhyiwww 2007-06-20 16:22 鍙戣〃璇勮
]]>
javascript榧犳爣鐢葷嚎鐨刅ML瀹炵幇http://m.tkk7.com/zhyiwww/archive/2007/04/05/108774.htmlzhyiwwwzhyiwwwThu, 05 Apr 2007 11:32:00 GMThttp://m.tkk7.com/zhyiwww/archive/2007/04/05/108774.htmlhttp://m.tkk7.com/zhyiwww/comments/108774.htmlhttp://m.tkk7.com/zhyiwww/archive/2007/04/05/108774.html#Feedback9http://m.tkk7.com/zhyiwww/comments/commentRss/108774.htmlhttp://m.tkk7.com/zhyiwww/services/trackbacks/108774.html榪欐槸鎴戠殑婧愪唬鐮侊紝鍋氫簡璇︾粏鐨勬敞閲婏紝榪欎釜鍔熻兘鐨勫疄鐜幫紝鎴戜篃鎵句簡涓嶅皯鐨勮祫鏂欙紝鏈鍚庢墠瀹炵幇浜嗚繖涓姛鑳姐備富瑕佹槸錛屽湪榧犳爣縐誨姩鐨勬椂鍊欙紝鍙互鍔ㄦ佺敾鍑虹嚎孌點(diǎn)傚鏋滃氨鏄敤榧犳爣鐐瑰嚮鏉ョ敾綰跨殑璇濓紝鐩稿鏉ヨ灝卞鏄撶偣銆?nbsp; 闃呰鍏ㄦ枃

zhyiwww 2007-04-05 19:32 鍙戣〃璇勮
]]>
VML涓璸ath灞炴х殑鐞嗚Вhttp://m.tkk7.com/zhyiwww/archive/2006/11/01/78512.htmlzhyiwwwzhyiwwwWed, 01 Nov 2006 09:11:00 GMThttp://m.tkk7.com/zhyiwww/archive/2006/11/01/78512.htmlhttp://m.tkk7.com/zhyiwww/comments/78512.htmlhttp://m.tkk7.com/zhyiwww/archive/2006/11/01/78512.html#Feedback0http://m.tkk7.com/zhyiwww/comments/commentRss/78512.htmlhttp://m.tkk7.com/zhyiwww/services/trackbacks/78512.html

VML 涓?/span> path 灞炴х殑鐞嗚В

鍦?/span> VML 涓?/span> ,shape 涓渶涓昏鐨勫睘鎬ф槸 Path 錛屽畠鏄釜鍔熻兘寮哄ぇ鐨勭敾絎旓紝璇硶寰堢畝鍗曪紝鐢卞嚑涓瓧姣嶇粍鎴愶紝涓嬮潰璇︾粏璁茶堪錛?/span>

m x,y :MoveTo 鎶婄敾絎旂Щ鍔ㄥ埌 (x,y)錛?span lang="EN-US">
l x,y:LineTo
浠庡綋鍓嶇偣鍒?span lang="EN-US">(x,y)鐢諱竴鏉$嚎錛涘彲浠ョ粰榪炵畫鐨勫嚑涓偣錛?span lang="EN-US">VML浼?xì)杩灳l敾鍑烘潵鐩村埌閬囧埌 x 鍛戒護(hù)銆?span lang="EN-US">
x:Close緇撴潫涓鏉$嚎錛?span lang="EN-US">
e:End緇撴潫鐢誨浘

鎴戜滑鏉ョ湅涓涓緥瀛愶細(xì)

<HTML xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">

聽聽聽聽聽聽 <HEAD>

聽聽聽聽聽聽聽聽聽聽聽聽聽 <STYLE>

v\:* { behavior: url(#default#VML);}

o\:* { behavior: url(#default#VML);}

</STYLE>

聽聽聽聽聽聽聽聽聽聽聽聽聽 <TITLE>VML Sample</TITLE>

聽聽聽聽聽聽 </HEAD>

聽聽聽聽聽聽 <BODY>

聽聽聽聽聽聽聽聽聽聽聽聽聽 <v:shape fillcolor="green"

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 style="position:relative;top:1;left:1;width:200;height:200"

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 path="m 1,1 l 1,250, 250,500, 500,500, 500,250, 250, 1 x e"

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 title="vml demo - drawby zhangyi "

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 strokeColor="yellow">

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 <v:fill type="gradient" id="fill1" color="red" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽

聽聽聽聽聽聽

聽聽聽聽聽聽聽聽聽聽聽聽聽 </v:shape>

聽聽聽聽聽聽 </BODY>

</HTML>

緇撴灉濡備笅鍥撅細(xì)

vml-draw.JPG

鎴戜滑鎶?/span> path 閮ㄥ垎鍗曠嫭鍒嗗紑鏉ョ湅錛?/span>

path="

m 1,1

l 1,250, 250,500, 500,500, 500,250, 250, 1

x

e"

姝eソ鍙互浣曚笂闈㈢殑璇存槑鐩稿搴斻?/span>

緇忚繃鍥涙錛?/span>

1)聽聽聽聽聽聽聽 鐢葷瑪縐誨姩鍒幫紙 1 錛?/span> 1 錛夌偣錛?/span> m 琛ㄧず縐誨姩鐢葷瑪錛屼絾鏄病鏈夌敾鐨勬搷浣?/span>

2)聽聽聽聽聽聽聽 鐢葷嚎錛屼粠絎竴涓潗鏍囧紑濮嬶紝錛?/span> 1 錛?/span> 1 錛夆斻夛紙 1 錛?/span> 250 錛夆斻夆︹︹斻夛紙 250 錛?/span> 1 錛夛紝鎸夌偣欏烘鐢葷偣銆?/span>

3)聽聽聽聽聽聽聽 X, 琛ㄧず鐢葷嚎緇撴潫

4)聽聽聽聽聽聽聽 E 琛ㄧず鐢誨浘鐨勭粨鏉?/span>



zhyiwww 2006-11-01 17:11 鍙戣〃璇勮
]]>
VML緙栬緫鍣ㄤ唬鐮佸疄鐜?杞澆)http://m.tkk7.com/zhyiwww/archive/2006/11/01/78502.htmlzhyiwwwzhyiwwwWed, 01 Nov 2006 08:45:00 GMThttp://m.tkk7.com/zhyiwww/archive/2006/11/01/78502.htmlhttp://m.tkk7.com/zhyiwww/comments/78502.htmlhttp://m.tkk7.com/zhyiwww/archive/2006/11/01/78502.html#Feedback0http://m.tkk7.com/zhyiwww/comments/commentRss/78502.htmlhttp://m.tkk7.com/zhyiwww/services/trackbacks/78502.html<HTML xmlns:v>
<HEAD>
<META http-equiv="Content-Type" content="text/html; Charset=gb2312">
<META name="GENERATOR" content="緗戠粶紼嬪簭鍛樹即渚?Lshdic)2004">
<META name="GENERATORDOWNLOADADDRESS" content="<META NAME="KEYWORDS" CONTENT="Vml鍥懼儚鐢繪澘">
<title>钃濅附緗?- Vml鍥懼儚鐢繪澘.2003.9</title>
<STYLE>
v\:*{behavior:url(#default#VML);}聽聽 /*澹版槑V涓篤ML鍙橀噺*/
a{text-Decoration:none;color:white}
a:hover{text-Decoration:underline;color:yellow;}
td{font-size:12px;color:white}
.bon1{border-bottom:1 solid eeeeee;border-right:1 solid eeeeee;border-left:1 solid gray;border-top:1 solid gray;background-color:#619CE7;color:yellow;width:54}
.bon2{border-bottom:1 solid gray;border-right:1 solid gray;border-left:1 solid eeeeee;border-top:1 solid eeeeee;background-color:#619CE7;color:white;width:54}
</STYLE>
</HEAD>
<BODY oncontextmenu='return false' style='margin:1;cursor:default' vlink=#3732CD link='#3732CD' onselectstart='if(event.srcElement.tagName!="TEXTAREA"&&event.srcElement.tagName!="INPUT")return false' onhelp='if(help.style.display=="none"){bangzhu.click()}else{guanbibangzhu.click()};return false'>
<v:Line style='position:absolute;z-index:2000;display:none' id='line1'>聽 <!--閽㈢瑪鍙鍖?->
<v:Stroke dashstyle='shortdash'/>
</v:line>
<v:arc startangle='-200' endangle='30' style='position:absolute;z-index:2000;display:none' id='arc1'>聽 <!--寮у艦鍙鍖?->
<v:Stroke dashstyle='shortdash'/>
</v:arc>
<v:Oval style='position:absolute;z-index:2000;display:none' id='oval1'>聽 <!--鍦嗗艦鍙鍖?->
<v:Stroke dashstyle='shortdash'/>
</v:oval>
<v:rect style='position:absolute;z-index:2000;display:none' id='rect1'>聽 <!--闀挎柟褰㈠彲瑙嗗寲-->
<v:Stroke dashstyle='shortdash'/>
</v:rect>
<v:roundrect style='position:absolute;z-index:2000;display:none' id='roundrect1'>聽 <!--鍦嗛敮褰㈠彲瑙嗗寲-->
<v:Stroke dashstyle='shortdash'/>
</v:roundrect>
<span style='position:absolute;z-index:2000;display:none' id='wenzi1'>聽聽 <!--鎻掑叆鏂囧瓧鍙鍖?->
<textarea id='txt1' style='border:1 solid black;width:300;height:100'></textarea><br>
<center>瀛椾綋:<select style="width:100;" id=wenziziti onchange='gengxinwenzi.click()'><option selected>瀹嬩綋<option>榛戜綋<option>闅朵功<option>騫煎渾<option>妤蜂綋_GB2312<option>浠垮畫_GB2312<option>鍗庢枃涓畫<option>鍗庢枃琛屾シ<option>鍗庢枃鏂伴瓘<option>鍗庢枃緇嗛粦<option>鍗庢枃褰╀簯<option>鏂規(guī)濮氫綋<option>鏂規(guī)鑸掍綋<option>Wingdings<option>Wingdings 2<option>Wingdings 3<option>Webdings<option>System<option>@瀹嬩綋<option>@榛戜綋<option>@闅朵功<option>@騫煎渾<option>@妤蜂綋_GB2312<option>@浠垮畫_GB2312<option>@鍗庢枃涓畫<option>@鍗庢枃琛屾シ<option>@鍗庢枃鏂伴瓘<option>@鍗庢枃緇嗛粦<option>@鍗庢枃褰╀簯<option>@鏂規(guī)濮氫綋<option>@鏂規(guī)鑸掍綋<option>@System</select>鏈夋棤杈規(guī)<input type='checkbox' id='wenzibiankuang'><br>
棰滆壊:<input type='text' style='border:1 solid black;width:50;height:17;' value='#000000' onmousedown='colortab.style.left=event.x-50;colortab.style.top=event.y+this.offsetHeight;rndcolor(this.id)' id='wenziyanse' onmousemove='gengxinwenzi.click()'>鑳屾櫙:<input type='text' style='border:1 solid black;width:50;height:17;' value='#FFFFFF' onmousedown='colortab.style.left=event.x-50;colortab.style.top=event.y+this.offsetHeight;rndcolor(this.id)' id='wenzibeijing' onmousemove='gengxinwenzi.click()'>澶у皬:<select style="width:50;" id=wenzidaxiao onchange='gengxinwenzi.click()'><option selected>12<script>for(i=1;i<101;i++)document.write("<option>"+i)</script></select><br>
<input type='button' value='嫻忚鏇存柊' class="bon2" onclick="txt1.style.color=wenziyanse.value;txt1.style.backgroundColor=wenzibeijing.value;txt1.style.fontSize=wenzidaxiao.options[wenzidaxiao.selectedIndex].text;txt1.style.fontFamily=wenziziti.options[wenziziti.selectedIndex].text;" id='gengxinwenzi'><input type='button' value='鎻掑叆' class="bon2" onclick="charuwenzi()"><input type='button' value='鍙栨秷' class="bon2" onclick="wenzi1.style.display='none'">
</span>
<span style='position:absolute;z-index:2000;display:none' id='tupian1'>聽聽 <!--鎻掑叆鍥劇墖鍙鍖?->
<input type='file' id='file1' style='width:400'><br>
<center><select id='duibi'><option selected>榛樿瀵規(guī)瘮搴?lt;script>for(i=0;i<101;i++)document.write("<option>"+i)</script></select><select id='secai'><option selected>榛樿鑹插僵搴?lt;script>for(i=0;i<9.9;i+=0.1)document.write("<option>"+new Number(i).toFixed(1))</script><option>10</select><select id=liangdu><option>榛樿浜害<script>for(i=-0.5;i<0.6;i+=0.1)document.write("<option>"+new Number(i).toFixed(1))</script></select><input type='checkbox' onclick="duibi.disabled=this.checked;secai.disabled=this.checked;liangdu.disabled=this.checked" id=heibai><label for='heibai'>榛戠櫧鏁堟灉</label><br>
<input type='button' value='鎻掑叆' class="bon2" onclick="charutupian()">
</span>
<span style='position:absolute;z-index:2000;display:none' id='gaoji1'>聽聽 <!--楂樼駭鏀瑰彲瑙嗗寲-->
<textarea id='txt2' style='border:1 solid black;width:400;height:150'></textarea><br>
<center><input type='button' value='淇敼' class="bon2" onclick="gaojiobj.outerHTML=txt2.value;gaojiobj=null;gaoji1.style.display='none'">
</span>
<span style='position:absolute;z-index:2000;display:none' id='yuandaima'>聽聽 <!--鎵鏈夊師浠g爜-->
<textarea id='txt3' style='border:1 solid black;width:600;height:400'></textarea><br>
<center><input type='button' value='澶嶅埗' class="bon2" onclick="window.clipboardData.setData('text',txt3.value);alert('宸插皢鏁版嵁澶嶅埗鍒扮郴緇熷壀鍒囨澘')"> <input type='button' value='鏇存柊淇敼' class="bon2" onclick="div1.innerHTML=txt3.value;yuandaima.style.display='none'"> <input type='button' value='鍙栨秷' class="bon2" onclick="yuandaima.style.display='none'">
</span>
<span style='position:absolute;z-index:2000;display:none' id='menu1'>聽聽聽 <!--寮瑰嚭鑿滃崟-->
<input type=button class=bon2 value=緗墠 onclick='zz+=1;thisobj.style.zIndex=zz;menu1.style.display="none"'><br>
<input type=button class=bon2 value=緗悗 onclick='zz2-=1;thisobj.style.zIndex=zz2;menu1.style.display="none"'><br>
<input type=button class=bon2 value=澶嶅埗 onclick='div1.innerHTML+=thisobj.outerHTML;alert("澶嶅埗瀹屾垚錛岃浣跨敤閫夌Щ鍔熻兘鎷栧姩");menu1.style.display="none"' id=fuzhi><br>
<input type=button class=bon2 value=鍒犻櫎 onclick='thisobj.outerHTML="";menu1.style.display="none"' id=shanchu><br>
</span>
<iframe id=web src="about:blank" style="display:none"></iframe>聽 <!--瀹炵幇淇濆瓨-->
<span style='position:absolute;z-index:2000;display:none' id='help'>聽聽 <!--甯姪淇℃伅-->
<textarea readonly='true' style='border:1 solid black;width:700;height:400'>
VML鍥懼儚鐢繪澘.2003.9錛堟搷浣滃府鍔╁強(qiáng)鍔熻兘綆浠嬶級(jí)

鐩墠鏈寮虹殑緗戦〉VML(緗戦〉鐭㈤噺鍥懼艦鏍囪璇█)緙栬緫宸ュ叿涔嬩竴錛孷ML瀛︿範(fàn)鑰呯殑鏈浣?jīng)_涔?fàn)宸ュ?br />鑳藉瀹屾垚鍩烘湰鐨勪笁緇寸綉欏電殑璁捐錛屽仛鍥懼強(qiáng)鍥懼艦澶勭悊鍔熻兘2003.9鐗堢浉瀵?003鐗堟湁浜嗚緝寮虹殑鎻愰珮錛堝師浣滆呬粖鍚庢湁鏃墮棿浼?xì)鍘诲己鍖栧Q?br />鍩烘湰鐨勭敾絎斻佸浘褰㈠鐞嗐佸叏灞宸ュ叿鍦ㄥ彸鏂癸紝鐐歸夊悗鍦ㄧ敾鏉垮唴浣跨敤榧犳爣宸﹂敭搴旂敤
鍙皢鐢繪澘鍐匳ML浠g爜鍥懼艦淇濆瓨涓烘枃浠訛紝浜﹀彲閫氳繃鈥滀慨鏀瑰師浠g爜鈥濆疄鐜扳滄墦寮鏂囦歡鈥濈瓑鍔熻兘
鏂板鍔熻兘:
蹇嵎閿?CTRL+Z=鎾ゆ秷,CTRL+Y=鍙嶆挙娑?涓婁笅宸﹀彸閿?涓婁笅宸﹀彸縐?CTRL+涓?鏀懼ぇ,CTRL+涓?緙╁皬,F1=甯姪
璇搷浣?鍏充簬緇樺浘鏃跺崟鍑誨強(qiáng)榧犳爣寮硅搗鏃訛紝濡傛灉鏈Щ鍔ㄩ紶鏍囷紝涓嶄細(xì)鍦ㄧ敓鎴愬瀮鍦句唬鐮?br />璁板繂鐐?:2003鐗堝氨鏈夌殑PLAYLINE緇樺浘鍔熻兘錛屽彲鎯滀笉瀹屽杽錛屼粎鑳藉畬鎴愬彸涓嬫柟鍚戠殑緇樺浘
璁板繂鐐?:2003.9鐗堟渶鏂板鍔犵殑榪炵畫綰挎緇樺浘鍔熻兘錛屾敮鎸?涓柟鍚戠殑榪炵畫LINE綰挎錛屽彲鎯滀粎涓虹嚎孌典笉鏀寔鑳屾櫙
鍥劇墖:灝?003.8鐗堟柊澧炲姞浜嗛拡瀵笿PG絳夐潤鎬佸浘鍍忕殑瀵規(guī)瘮搴︼紝浜害璋冭妭鐨勮緟鍔╄璁″姛鑳界瓑
鏂囧瓧鍖?灝嗗浘褰互鏂囧瓧濉厖錛屽疄鐜板叿鏈夎建榪硅礬綰挎晥鏋滅殑鏂囧瓧

VML鍥懼儚鐢繪澘.2003.9錛堢増鏉冧俊鎭級(jí)

鍘熶綔鑰?椋庝簯鑸?br />涓宦?欏?<a href="鏈鏂扮増:鍙櫥闄嗕富欏墊煡鐪?br />鍙戝竷浜?2003騫?鏈?鏃?br />鐗埪?鏈?2003.9錛堢涓夌増錛?br />闂?棰?浠諱綍VML鎶鏈棶棰樺彲浠ョ櫥闄?lt;a href="鎺埪?鏉?鎺堟潈緇欎換浣曚釜浜轟嬌鐢ㄣ佸簲鐢紝鑷敱DHTML浠g爜錛屽彲浠繪剰淇敼瀛︿範(fàn)銆佽漿杞姐佸己鍖栵紝浣滆呭埗浣滄湰浣滃搧鍑哄彂鐐規(guī)槸涓轟簡鎻愰珮鐢ㄦ埛鐨刅ML緙栫▼姘村噯銆佸紑鎷撲竴涓厛渚嬶紝鍥犺屾湭鍔犲瘑鍙?qiáng)鏂逛究鍙傝冧粎閲囩敤涓欏典唬鐮侊紝涓烘錛屾湭緇忓師浣滆呭悓鎰忚涓嶈灝哣ML鍥懼儚鐢繪澘浠諱綍鐗堟湰鐢ㄤ簬鍏朵粬鍟嗕笟鐢ㄩ旓紝渚墊垜鐗堟潈姣佹垜鍙?qiáng)浣滃搧鍚嶈獕锛屽叕寮浜庣綉绔欍佽蔣浠跺彂甯冨強(qiáng)鍏朵粬搴旂敤璇蜂繚鐣欏師浣滆呯殑榪欎簺澹版槑錛堜絾鍙互榪藉姞鍏朵粬淇℃伅錛屽淇敼鑰呭悇欏規(guī)巿鏉冧俊鎭瓑錛?br /></textarea><br>
<center><input type='button' value='鍏抽棴甯姪' class="bon2" onclick="help.style.display='none'" id=guanbibangzhu>
</span>
<TABLE cellspacing=0 cellpadding=3 width=770 align=center bgcolor='#619CE7' style='border-right:3 dashed green;border-left:3 dashed #4735B0;border-top:1 solid blue;border-bottom:gray' id=allform1>
<tr align=center onmouseover='if(event.srcElement.tagName=="TD"&&event.srcElement.width==70)event.srcElement.bgColor="aaaaaa"' onmouseout='if(event.srcElement.tagName=="TD")event.srcElement.bgColor=""' style='cursor:hand'><td width=70 id=toptd1 onclick="yuandaima.x=event.x;yuandaima.y=event.y;txt3.value=div1.innerHTML.replace(/>/g,'>\n').replace(/ = /g,'=').replace(/\: /g,':').replace(/\; /g,';');yuandaima.style.display=''">
淇敼鍘熶唬鐮?lt;/td><td width=70 onclick="web.document.write('<HTML xmlns:v>\n<HEAD>\n<META http-equiv=Content-Type content=text/html;charset=gb2312>\n<TITLE>鎴戠殑鏉頒綔</TITLE>\n<META name=Gemeratpr content=钃濅附VML鍥懼艦緙栬緫鍣?gt;\n<META name=GemeratprHomePage content=http://www.lshdic.com>\n<STYLE>\nv\\:*{behavior:url(#default#VML);}\n</STYLE>\n</HEAD>\n<BODY>\n'+div1.innerHTML+'\n</BODY>\n</HTML>');web.document.execCommand('SaveAs',false,'鎴戠殑鏉頒綔')">淇濆瓨涓烘枃浠?lt;/td><td width=70 onclick="if(this.innerText=='鏈澶у寲瑙嗗浘'){div1.style.width=document.body.offsetWidth-150;div1.style.height=document.body.offsetHeight-35;this.innerText='鎭㈠瑙嗗浘'}else{div1.style.width=650;div1.style.height='100%';this.innerText='鏈澶у寲瑙嗗浘'}">鏈澶у寲瑙嗗浘</td><td width=70 onclick="help.x=event.x;help.y=event.y;help.style.display=''" id=bangzhu>鎿嶄綔甯姪</td><td width=60> </td><td width=60> </td><td align=right>鍘熶綔:椋庝簯鑸?钃濅附紼嬪簭鍛樼綉緇?<a target='_blank'><a href="
</td></tr><tr>
<td width=100% colspan=10 height=500>
<table cellspacing=0 cellpadding=0 height=100%%><tr><td width=660>

<div style='width:650;height:100%;background-color:white;border:1 solid gray;color:black;' id=div1></div>
</td><td>
<div style='width:110;height:100%;'>
<center><b>鐢葷瑪閫夋嫨</b><br>
<button class=bon2 id=huabi>閫夌Щ<button class=bon2 id=huabi>璋冨ぇ灝?lt;button class=bon2 id=huabi>寮у艦</button><button class=bon1 id=huabi>閽㈢瑪</button><button class=bon2 id=huabi>璁板繂鐐?</button><button class=bon2 id=huabi>鍦嗗瀷</button><button class=bon2 id=huabi>闀挎柟鍨?lt;/button><button class=bon2 id=huabi>鍦嗙煩鍨?lt;/button><button class=bon2 id=huabi>鏂囧瓧</button><button class=bon2 id=huabi>鍥劇墖</button><button class=bon2 id=huabi>濉厖</button><button class=bon2 id=huabi>绔嬩綋</button><button class=bon2 id=huabi>杈規(guī)</button><button class=bon2 id=huabi>楂樼駭</button><button class=bon2 id=huabi>璁板繂鐐?</button><button class=bon2 id=huabi>鏂囧瓧鍖?lt;/button><br>
<b>鐢葷瑪鍩烘湰鍙傛暟</b><br>
絎旇竟綺楀害 <select style="width:54;" id=bibiancudu><option selected>1<script>for(i=2;i<101;i++)document.write("<option>"+i)</script></select><br>
鐢葷瑪棰滆壊 <input style='border:1 solid black;width:54;height:17;' value='#000000' id=huabiyanse onmousedown='colortab.style.left=event.x-50;colortab.style.top=event.y+this.offsetHeight;rndcolor(this.id)'><br>
鐢葷瑪鑳屾櫙 <input style='border:1 solid black;width:54;height:17;' value='#FFFFFF' id=huabibeijing onmousedown='colortab.style.left=event.x-50;colortab.style.top=event.y+this.offsetHeight;rndcolor(this.id)'><br>
X Y 鍧愭爣 <input disabled='true' type='text' value='0,0' id='zuobiao' style='border:1 solid black;width:54;height:17;'><br>
<span id=tianchong1 style='display:none'>
<b> <br>濉厖鍩烘湰鍙傛暟</b><br>
鏅氳儗鏅?<input style='border:1 solid black;width:54;height:17;' value='' id=tianchongbeijing onmousedown='colortab.style.left=event.x-50;colortab.style.top=event.y+this.offsetHeight;rndcolor(this.id)'><br>浣跨敤娓愬彉鑳屾櫙<input type='checkbox' id='usejianbian'><br>
娓愬彉鑹蹭竴 <input style='border:1 solid black;width:50;height:17;color:red' value='#FF0000' id=jianbianse1 onmousedown='colortab.style.left=event.x-50;colortab.style.top=event.y+this.offsetHeight;rndcolor(this.id)'>
<br>娓愬彉鑹蹭簩 <input style='border:1 solid black;width:50;height:17;' value='#FFFFFF' id=jianbianse2 onmousedown='colortab.style.left=event.x-50;colortab.style.top=event.y+this.offsetHeight;rndcolor(this.id)'><br>
涓婁笅娓愬彉 <input type=radio name='jianbianyangshi' checked><br>
鏂滃悜娓愬彉 <input type=radio name='jianbianyangshi'>
</span>
<span id=liti1 style='display:none'>
<b> <br>绔嬩綋鍩烘湰鍙傛暟</b><br>
鍚庡悜浼稿睍 <select style="width:54;" id=houxiangshenzhan><option selected>20<script>for(i=0;i<101;i++)document.write("<option>"+i)</script></select><br>
<br>鍓嶅悜浼稿睍 <select style="width:54;" id=qianxiangshenzhan><option selected>0<script>for(i=1;i<101;i++)document.write("<option>"+i)</script></select><br>
鍋忕Щ宸﹁竟 <select style="width:54;" id=pianyizuobian><option selected>0<script>for(i=1;i<101;i++)document.write("<option>"+i)</script></select><br>
鍋忕Щ涓婅竟 <select style="width:54;" id=pianyishangbian><option selected>0<script>for(i=1;i<101;i++)document.write("<option>"+i)</script></select><br>
绔嬩綋棰滆壊 <input style='border:1 solid black;width:54;height:17;' value='' id=litiyanse聽 onmousedown='colortab.style.left=event.x-50;colortab.style.top=event.y+this.offsetHeight;rndcolor(this.id)'><br>
</span>
<span id=biankuang1 style='display:none'>
<b> <br>杈規(guī)鍩烘湰鍙傛暟</b><br>
杈規(guī)綺楀害 <select style="width:54;" id=biankuangcudu><option selected>1<script>for(i=0;i<101;i++)document.write("<option>"+i)</script></select><br>
<br>杈規(guī)鏍峰紡 <select style="width:54;" id=biankuangyangshi><option selected>none<option>dash<option>dashdot<option>dot<option>longdash<option>longdashdot<option>shortdash<option>shortdashdot<option>shortdashdotdot<option>longdashdotdot<option>shortdot</select><br>
璧風(fēng)偣灝栧ご <select style="width:54;" id=qidianjiantou><option selected>none<option>block<option>classic<option>diamond<option>open<option>oval</select><br>
緇堢偣灝栧ご <select style="width:54;" id=zhongdianjiantou><option selected>none<option>block<option>classic<option>diamond<option>open<option>oval</select><br>
杈規(guī)棰滆壊 <input style='border:1 solid black;width:54;height:17;' value='' id=biankuangyanse聽聽 onmousedown='colortab.style.left=event.x-50;colortab.style.top=event.y+this.offsetHeight;rndcolor(this.id)'><br>
</span>
<center><b>鍏ㄥ眬宸ュ叿</b><br>
<input type='button' value='鎾ゆ秷' onclick='if(youbiao>0){div1.innerHTML=chexiao[youbiao];youbiao-=1;fanchexiao1=2}' class=bon2 id=chexiaock><input type='button' value='鍙嶆挙娑? onclick='if(youbiao<chexiao.length-fanchexiao1){youbiao+=fanchexiao1;fanchexiao1=1;div1.innerHTML=chexiao[youbiao];}' class=bon2 id=fanchexiaock><br>
<input type='button' value='鏀懼ぇ' onclick='for(i=0;i<div1.all.length;i++){try{div1.all[i].style.left=parseInt(div1.all[i].style.left)-5;div1.all[i].style.top=parseInt(div1.all[i].style.top)-5;div1.all[i].style.width=parseInt(div1.all[i].style.width)+10;div1.all[i].style.height=parseInt(div1.all[i].style.height)+10;}catch(e){}}' class=bon2 id=fangda><input type='button' value='緙╁皬' onclick='for(i=0;i<div1.all.length;i++){try{div1.all[i].style.left=parseInt(div1.all[i].style.left)+5;div1.all[i].style.top=parseInt(div1.all[i].style.top)+5;div1.all[i].style.width=parseInt(div1.all[i].style.width)-10;div1.all[i].style.height=parseInt(div1.all[i].style.height)-10;}catch(e){}}' class=bon2 id=suoxiao><br>
<input type='button' value='宸︾Щ' onclick='for(i=0;i<div1.all.length;i++){try{div1.all[i].style.left=parseInt(div1.all[i].style.left)-10;}catch(e){}}' class=bon2 id=zuoyi><input type='button' value='鍙崇Щ' onclick='for(i=0;i<div1.all.length;i++){try{div1.all[i].style.left=parseInt(div1.all[i].style.left)+10;}catch(e){}}' class=bon2 id=youyi><br>
<input type='button' value='涓婄Щ' onclick='for(i=0;i<div1.all.length;i++){try{div1.all[i].style.top=parseInt(div1.all[i].style.top)-10;}catch(e){}}' class=bon2 id=shangyi><input type='button' value='涓嬬Щ' onclick='for(i=0;i<div1.all.length;i++){try{div1.all[i].style.top=parseInt(div1.all[i].style.top)+10;}catch(e){}}' class=bon2 id=xiayi><br>
</div>
</td></tr></table>
</td></tr>
</table>
<table cellspacing=0 cellpadding=0 style='position:absolute;width:100;height:100;display:none;background-color:red;z-index:3000' id='colortab'><tr><td id='colorid'></td></tr></table>
<script language='jscript'>
var bi=4聽聽聽 //瀹氫箟褰撳墠浣跨敤鐨勭敾絎斿伐鍏鳳紝3涓洪搮絎?br />var color1='#000000',color2='#000000',size1=0聽 //瀹氫箟緙哄墿鐨勭敾絎旈鑹插強(qiáng)鐢葷瑪濉厖棰滆壊鍜岀瑪杈圭矖搴?br />var xx=0,yy=0,zz=1000聽 //瀹氫箟緙哄墿鐨刋鍙?qiáng)Y鍧愭爣
var isok=false聽 //鍖哄垎鐢葷瑪璧風(fēng)偣鏄惁鍦―IV鍐咃紝瓚呭嚭鑼冨洿鍒欐棤鏁?br />var moveobj=null,ckleft=0,cktop=0,ckwid=0,ckhei=0,ckto=""聽 //琚Щ鍔ㄧ墿浠躲佽皟鏁村ぇ灝忕墿浠剁殑寮曠敤
var poly1=null,oldvalue="",oldx=0,oldy=0聽 //涓轟簡瀹屾垚璁板繂鐐癸紝鍒涘緩涓涓彲鎶樺紡綰挎
var gaojiobj=null聽 //涓轟簡瀹屾垚鈥滈珮綰р濆姛鑳斤紝緇戝畾琚慨鏀瑰璞?br />var thisobj=null聽聽 //涓轟簡瀹屾垚鍚勭鍩烘湰緙栬緫鍔熻兘錛屽鈥滅疆鍓嶁濃滃鍒垛濃滃垹闄も濈瓑
var zz2=1000聽聽聽聽聽聽聽聽聽 //涓哄畬鎴愨滅疆鍚庘濆姛鑳斤紝zz2涓鴻礋鏁?br />var huxingtixing=false聽 //濡傛灉涓篺alse鍒橝LERT錛堬級(jí)鎻愰啋寮у艦浣跨敤楂樼駭淇敼錛屽惁鍒欎笉鎻愰啋
var chexiao=new Array(),youbiao=0,fanchexiao1=2聽 //瀹氫箟涓涓瓨鍌ㄦ挙娑堝唴瀹圭殑鏁扮粍浠ュ強(qiáng)浣嶇Щ娓告爣,fanchexiao1涓?鏃?2錛屽惁鍒?1
function div1.onmousedown(){
div1.setCapture();color1=huabiyanse.value;color2=huabibeijing.value;isok=true;size1=bibiancudu.options[bibiancudu.selectedIndex].text
xx=event.x;yy=event.y;zz+=1
for(i=0;i<huabi.length;i++){if(huabi[i].className=="bon1"){bi=i+1;break}}
line1.strokecolor=color1;line1.strokeweight=size1;oval1.strokeweight=size1;oval1.strokecolor=color1
oval1.fillcolor=color2;rect1.strokeweight=size1;rect1.strokecolor=color1
rect1.fillcolor=color2;roundrect1.strokeweight=size1;roundrect1.strokecolor=color1
roundrect1.fillcolor=color2;arc1.strokeweight=size1;arc1.strokecolor=color1
arc1.fillcolor=color2;
if(event.button==1){
switch(bi){
case 1:聽 //閫夌Щ
if(event.srcElement.parentElement.id=="div1"){moveobj=event.srcElement;ckleft=xx-parseInt(moveobj.style.left);cktop=yy-parseInt(moveobj.style.top)}
break;
case 2:聽 //璋冨ぇ灝?br />if(event.srcElement.parentElement.id=="div1"){moveobj=event.srcElement;
ckleft=parseInt(moveobj.style.left);cktop=parseInt(moveobj.style.top);ckwid=moveobj.offsetWidth;ckhei=moveobj.offsetHeight}
break;
case 3:聽 //寮у艦
arc1.style.left=event.x;arc1.style.top=event.y;arc1.style.width=0;arc1.style.height=0;arc1.style.display="";
break;
case 4:聽 //閽㈢瑪
line1.style.left=event.x;line1.style.top=event.y;line1.to="0,0";line1.style.display=""
break;
case 5:聽 //璁板繂鐐?br />if(poly1==null){
oldx=xx;oldy=yy
poly1=div1.appendChild(document.createElement("<v:polyline points='0 0 0 0' style='position:absolute;z-index:"+zz+";left:"+xx+";top:"+yy+";' strokecolor='"+color1+"' strokeweight='"+size1+"' fillcolor='"+color2+"'/>"))
}
if(oldx-tempx<1&&oldy-tempy<1)oldvalue=poly1.points.value.replace(/,/g,' ')
break;
case 6:聽 //鍦嗗艦
oval1.style.left=event.x;oval1.style.top=event.y;oval1.style.width=0;oval1.style.height=0;oval1.style.display=""
break;
case 7:聽 //闀挎柟褰?br />rect1.style.left=event.x;rect1.style.top=event.y;rect1.style.width=0;rect1.style.height=0;rect1.style.display=""
break;
case 8:聽 //鍦嗙煩褰?br />roundrect1.style.left=event.x;roundrect1.style.top=event.y;roundrect1.style.width=0;roundrect1.style.height=0;roundrect1.style.display=""
break;
case 9:聽 //鏂囧瓧
wenzi1.style.left=event.x;wenzi1.style.top=event.y;wenzi1.style.display=""
break;
case 10:聽 //鍥劇墖
tupian1.style.left=event.x;tupian1.style.top=event.y;tupian1.style.display=""
break;
case 15:聽 //璁板繂鐐?
oldx=xx;oldy=yy
poly1=div1.appendChild(document.createElement("<v:line to='0,0' style='position:absolute;z-index:"+zz+";left:"+xx+";top:"+yy+";' strokecolor='"+color1+"' strokeweight='"+size1+"'/>"))
}
}}
function div1.onmousemove(){
tempx=event.x;tempy=event.y;temp1=0;temp2=0
zuobiao.value=tempx-allform1.offsetLeft-8+","+parseInt(tempy-toptd1.offsetHeight-7)
if(bi==5&&poly1!=null){聽聽 //璁板繂鐐?br />if(oldx-tempx<0&&oldy-tempy<0)poly1.points.value=oldvalue+" "+(tempx-oldx)+" "+(tempy-oldy)
}else if(bi==15&&poly1!=null){聽聽 //璁板繂鐐?
poly1.to=(tempx-xx)+","+(tempy-yy)
}
if(event.button==1){
switch(bi){
case 1:聽 //閫夌Щ
if(moveobj!=null){moveobj.style.left=tempx-ckleft;moveobj.style.top=tempy-cktop}
break;
case 2:聽 //璋冨ぇ灝?br />if(moveobj!=null){
if(moveobj.tagName!="line"){
if(tempx>ckleft){moveobj.style.width=tempx-ckleft}else{moveobj.style.left=tempx;moveobj.style.width=ckleft-tempx}
if(tempy>cktop){moveobj.style.height=tempy-cktop}else{moveobj.style.top=tempy;moveobj.style.height=cktop-tempy}
}else{moveobj.to=parseInt(tempx-ckleft)+","+parseInt(tempy-cktop);if(ckto=="")ckto=parseInt(tempx-ckleft)+","+parseInt(tempy-cktop);}
}
break;
case 3:聽 //寮у艦
if(tempx-xx<0){arc1.style.left=tempx;arc1.style.width=(xx-tempx)}else{arc1.style.width=(tempx-xx)}
if(tempy-yy<0){arc1.style.top=tempy;arc1.style.height=(yy-tempy)}else{arc1.style.height=(tempy-yy)}
break;
case 4:聽 //閽㈢瑪
line1.to=(tempx-xx)+","+(tempy-yy)
break;
case 6:聽 //鍦嗗艦
if(tempx-xx<0){oval1.style.left=tempx;oval1.style.width=(xx-tempx)}else{oval1.style.width=(tempx-xx)}
if(tempy-yy<0){oval1.style.top=tempy;oval1.style.height=(yy-tempy)}else{oval1.style.height=(tempy-yy)}
break;
case 7:聽 //闀挎柟褰?br />if(tempx-xx<0){rect1.style.left=tempx;rect1.style.width=(xx-tempx)}else{rect1.style.width=(tempx-xx)}
if(tempy-yy<0){rect1.style.top=tempy;rect1.style.height=(yy-tempy)}else{rect1.style.height=(tempy-yy)}
break;
case 8:聽 //鍦嗙煩褰?br />if(tempx-xx<0){roundrect1.style.left=tempx;roundrect1.style.width=(xx-tempx)}else{roundrect1.style.width=(tempx-xx)}
if(tempy-yy<0){roundrect1.style.top=tempy;roundrect1.style.height=(yy-tempy)}else{roundrect1.style.height=(tempy-yy)}
break;
}}}
function div1.onmouseup(){
savechexiao()
document.releaseCapture();if(isok==false){forerr();return false};isok=false;menu1.style.display='none'
tempx=event.x;tempy=event.y;divwid=div1.offsetWidth;divhei=div1.offsetHeight
if(tempx>allform1.offsetLeft+divwid+5||tempx<allform1.offsetLeft+5){forerr();return alert("X鍧愭爣瓚婄晫")}
if(tempy>allform1.offsetTop+toptd1.offsetHeight+divhei+5||tempy<allform1.offsetTop+toptd1.offsetHeight+5){forerr();return alert("Y鍧愭爣瓚婄晫")}
if(event.button==2&&bi==5&&poly1!=null){
poly1.points.value=oldvalue;oldvalue="";poly1=null;
}else if(event.srcElement.parentElement.id=="div1"&&event.button==2){menu1.style.left=tempx;menu1.style.top=tempy;menu1.style.display='';thisobj=event.srcElement}
else if(event.button==2&&bi==15&&poly1!=null){
poly1.outerHTML="";poly1=null
}
if(event.button==1){
switch(bi){
case 1:聽 //閫夌Щ
if(moveobj!=null&&parseInt(moveobj.style.left)<allform1.offsetLeft+5){forerr();return alert("琚Щ鍔ㄧ墿浣揦1瓚呭嚭鐣岄檺")}
if(moveobj!=null&&parseInt(moveobj.style.left)+moveobj.offsetWidth-2>allform1.offsetLeft+divwid+5){forerr();return alert("琚Щ鍔ㄧ墿浣揦2瓚呭嚭鐣岄檺")}
if(moveobj!=null&&parseInt(moveobj.style.top)<allform1.offsetTop+toptd1.offsetHeight+5){forerr();return alert("琚Щ鍔ㄧ墿浣揧1瓚呭嚭鐣岄檺")}
if(moveobj!=null&&parseInt(moveobj.style.top)+moveobj.offsetHeight-2>allform1.offsetTop+toptd1.offsetHeight+divhei+3){forerr();return alert("琚Щ鍔ㄧ墿浣揧2瓚呭嚭鐣岄檺")}
moveobj=null
break;
case 2:聽 //璋冨ぇ灝?br />moveobj=null;ckto=""
break;
case 3:聽 //寮у艦
arc1.style.display='none';
if (Math.abs(tempx-xx)<=1||Math.abs(tempy-yy)<=1)return false
div1.appendChild(document.createElement("<v:arc startangle='-200' endangle='30' style='position:absolute;z-index:"+zz+";left:"+arc1.style.left+";top:"+arc1.style.top+";width:"+arc1.style.width+";height:"+arc1.style.height+";' strokecolor='"+color1+"' strokeweight='"+size1+"' fillcolor='"+color2+"'/>"))
if(huxingtixing==false){huxingtixing=true;alert("寮у艦宸茬粯鍑?璋冩暣寮у害 startangle='-200' endangle='30' 璇蜂嬌鐢ㄢ滈珮綰р?)}
break;
case 4:聽 //閽㈢瑪
line1.style.display="none"
if (Math.abs(tempx-xx)<=1||Math.abs(tempy-yy)<=1)return false
div1.appendChild(document.createElement("<v:line style='position:absolute;z-index:"+zz+";left:"+xx+";top:"+yy+";' to='"+(event.x-xx)+","+(event.y-yy)+"' strokecolor='"+color1+"' strokeweight='"+size1+"'/>"))
break;
case 6:聽 //鍦嗗艦
oval1.style.display="none"
if (Math.abs(tempx-xx)<=1||Math.abs(tempy-yy)<=1)return false
div1.appendChild(document.createElement("<v:oval style='position:absolute;z-index:"+zz+";left:"+oval1.style.left+";top:"+oval1.style.top+";width:"+oval1.style.width+";height:"+oval1.style.height+";' strokecolor='"+color1+"' strokeweight='"+size1+"' fillcolor='"+color2+"'/>"))
break;
case 7:聽 //闀挎柟褰?br />rect1.style.display="none"
if (Math.abs(tempx-xx)<=1||Math.abs(tempy-yy)<=1)return false
div1.appendChild(document.createElement("<v:rect style='position:absolute;z-index:"+zz+";left:"+rect1.style.left+";top:"+rect1.style.top+";width:"+rect1.style.width+";height:"+rect1.style.height+";' strokecolor='"+color1+"' strokeweight='"+size1+"' fillcolor='"+color2+"'/>"))
break;
case 8:聽 //鍦嗙煩褰?br />roundrect1.style.display="none"
if (Math.abs(tempx-xx)<=1||Math.abs(tempy-yy)<=1)return false
div1.appendChild(document.createElement("<v:roundrect style='position:absolute;z-index:"+zz+";left:"+roundrect1.style.left+";top:"+roundrect1.style.top+";width:"+roundrect1.style.width+";height:"+roundrect1.style.height+";' strokecolor='"+color1+"' strokeweight='"+size1+"' fillcolor='"+color2+"'/>"))
break;
case 11:聽 //娓愬彉
if(event.srcElement.parentElement.id=="div1"){
if(!usejianbian.checked){event.srcElement.fillcolor=tianchongbeijing.value}else{
temp1=jianbianyangshi[0].checked?'gradient':'gradientradial'
temp2=event.srcElement.innerHTML.replace(/<v\:fill .*<\/v:fill>/gi,'')
event.srcElement.innerHTML=temp2+"<v:fill color='"+jianbianse2.value+"' color2='"+jianbianse1.value+"' type='"+temp1+"'/>"
}}
break;
case 12:聽 //绔嬩綋
if(event.srcElement.parentElement.id=="div1"){
temp2=event.srcElement.innerHTML.replace(/<v\:extrusion .*<\/v:extrusion>/gi,'')
event.srcElement.innerHTML=temp2+"<v:Extrusion on='t' color='"+litiyanse.value+"' backdepth='"+houxiangshenzhan.options[houxiangshenzhan.selectedIndex].text+"' foredepth='"+qianxiangshenzhan.options[qianxiangshenzhan.selectedIndex].text+"' rotationangle='"+pianyishangbian.options[pianyishangbian.selectedIndex].text+","+pianyizuobian.options[pianyizuobian.selectedIndex].text+"'/>"
}
break;
case 13:聽 //杈規(guī)
if(event.srcElement.parentElement.id=="div1"){
temp2=event.srcElement.innerHTML.replace(/<v\:stroke .*<\/v:stroke>/gi,'')
event.srcElement.innerHTML=temp2+"<v:Stroke dashstyle='"+biankuangyangshi.options[biankuangyangshi.selectedIndex].text+"' startarrow='"+qidianjiantou.options[qidianjiantou.selectedIndex].text+"' endarrow='"+zhongdianjiantou.options[zhongdianjiantou.selectedIndex].text+"'/>"
event.srcElement.strokecolor=biankuangyanse.value
biankuangcudu.options[biankuangcudu.selectedIndex].text=='0'?event.srcElement.stroked=false:event.srcElement.strokeweight=biankuangcudu.options[biankuangcudu.selectedIndex].text
}
break;
case 14:聽 //楂樼駭
if(event.srcElement.parentElement.id=="div1"){
gaojiobj=event.srcElement
txt2.value=event.srcElement.outerHTML.replace(/>/g,">\n").replace(/ = /g,"=").replace(/\: /g,":").replace(/\; /g,";");gaoji1.style.left=event.x;gaoji1.style.top=event.y;gaoji1.style.display=''
}
break;
case 16:聽 //鏂囧瓧鍖?br />if(event.srcElement.parentElement.id=="div1"){
str1=prompt("璇瘋緭鍏ヤ竴孌電敤浜庡浘褰㈣建榪瑰~鍏呯殑鏂囧瓧(鎺ㄨ崘浣跨敤鑻辨枃),瀛楀ぇ灝忎緷鎹瑪杈圭矖搴?瀛楅鑹茶浣跨敤楂樼駭鐩存帴娣誨姞<v:fill></v:fill>淇敼","")
if(!str1)return false;if(str1=='')return false
if(str1.indexOf("'")!=-1)return alert("杈撳叆鐨勬枃瀛椾腑涓嶅彲鍚湁榪濈絎﹀彿 ' 鍗曞紩鍙?)
temp2=event.srcElement.innerHTML.replace(/<v\:path .*<\/v:path>/gi,'').replace(/<v\:textpath .*<\/v:textpath>/gi,'')
parseInt(bibiancudu.options[bibiancudu.selectedIndex].text)<10?str11=10:str11=bibiancudu.options[bibiancudu.selectedIndex].text
event.srcElement.innerHTML=temp2+"<v:path textpathok='True'/>\n<v:textpath on='True' style='font-size:"+str11+";' string='"+str1+"'/>"
}
break;
}}}
function savechexiao(){
youbiao+=1;chexiao[youbiao]=div1.innerHTML
}
function rndcolor(theobjis){
colortab.style.display="";colorid.innerHTML="";str1="<table cellspacing=0 cellpadding=0>";
for(r=0;r<10;r++){str1+="<tr>"
for(i=0;i<10;i++){
tempcolor1=Math.round(Math.random()*255).toString(16)+Math.round(Math.random()*255).toString(16)+Math.round(Math.random()*255).toString(16);while(tempcolor1.length<6){tempcolor1+=Math.round(Math.random()*9)}
str1+="<td style='width:10;height:10;background-color:#"+tempcolor1+";' onclick="+theobjis+".value='#"+tempcolor1+"';"+theobjis+".style.color='#"+tempcolor1+"';colortab.style.display='none'></td>"
}str1+="</tr>"}
colorid.innerHTML=str1+"</table>"
}
function document.onmouseup(){
if(event.srcElement.tagName=="BUTTON"){
event.srcElement.blur();div1.focus();if(event.srcElement.className=="bon1"||event.button!=1)return true;
for(i=0;i<huabi.length;i++)huabi[i].className="bon2"
event.srcElement.className="bon1";
if(huabi[10].className=="bon1"){tianchong1.style.display='';tianchongbeijing.value=tianchongbeijing.value==''?huabibeijing.value:tianchongbeijing.value}else{tianchong1.style.display='none';}
if(huabi[11].className=="bon1"){liti1.style.display='';litiyanse.value=litiyanse.value==''?huabibeijing.value:litiyanse.value}else{liti1.style.display='none';}
if(huabi[12].className=="bon1"){biankuang1.style.display='';biankuangyanse.value=biankuangyanse.value==''?huabiyanse.value:biankuangyanse.value}else{biankuang1.style.display='none';}
if(poly1!=null){聽聽 //娓呴櫎璁板繂鐐?br />if(poly1.tagName=="polyline"){poly1.points.value=oldvalue;oldvalue="";poly1=null;}else{poly1.outerHTML="";oldvalue="";poly1=null;}
}
wenzi1.style.display='none';tupian1.style.display='none';gaoji1.style.display='none';menu1.style.display='none'
}}
function forerr(){
if(moveobj!=null&&bi==1){moveobj.style.left=xx-ckleft;moveobj.style.top=yy-cktop;ckleft=0;cktop=0;moveobj=null}
if(moveobj!=null&&bi==2){
if(moveobj.tagName!="line"){moveobj.style.left=ckleft;moveobj.style.top=cktop;moveobj.style.width=ckwid;moveobj.style.height=ckhei;}else{moveobj.to=ckto;}
ckleft=0;cktop=0;ckwid=0;ckhei=0;ckto="";moveobj=null
}
line1.style.display='none';oval1.style.display='none';rect1.style.display='none';roundrect1.style.display='none';arc1.style.display='none'
}
function charuwenzi(){聽聽 //鎻掑叆鏂囧瓧
if(txt1.value=="")return alert('璇峰厛杈撳叆鏂囧瓧錛屽湪鐐瑰嚮鎻掑叆')
wenzibiankuang.checked==true?thebiankuang="border:1 solid black;":thebiankuang=""
var newtxt=document.createElement("<span style='position:absolute;z-index:"+zz+";left:"+xx+";top:"+yy+";color:"+wenziyanse.value+";background-color:"+wenzibeijing.value+";font-size:"+wenzidaxiao.options[wenzidaxiao.selectedIndex].text+";font-family:"+wenziziti.options[wenziziti.selectedIndex].text+";"+thebiankuang+"'></span>");newtxt.innerText=txt1.value
div1.appendChild(newtxt);wenzi1.style.display='none'
}
function charutupian(){聽聽 //鎻掑叆鍥劇墖
if(file1.value=="")return alert('璇峰厛杈撳叆鍥劇墖璺緞(<a href="HTTP://鎴?a href="file:///">FILE:///
" target="_blank">HTTP://鎴?a href="file:///</a">FILE:///</a>)鏍煎紡錛屽湪鐐瑰嚮鎻掑叆')
if(file1.value.indexOf("'")>-1)return alert("鍥劇墖鍦板潃涓嶅彲浠ュ惈鏈夎繚紱佸瓧絎?' 鍗曞紩鍙?)
str1=""
if(heibai.checked==true){str1=" grayscale='true'"}else{
if(duibi.options[duibi.selectedIndex].text!='榛樿瀵規(guī)瘮搴?)str1=" gain='"+duibi.options[duibi.selectedIndex].text+"'"
if(secai.options[secai.selectedIndex].text!='榛樿鑹插僵搴?)str1=" gamma='"+secai.options[secai.selectedIndex].text+"'"
if(liangdu.options[liangdu.selectedIndex].text!='榛樿浜害')str1=" blacklevel='"+liangdu.options[liangdu.selectedIndex].text+"'"
}
var newtxt=document.createElement("<v:Image style='position:absolute;z-index:"+zz+";left:"+xx+";top:"+yy+";width:100;height:100' src='"+file1.value+"'"+str1+"/>");
div1.appendChild(newtxt);tupian1.style.display='none'
}
function document.onkeydown(){聽聽 //瀹炵幇鍚勭蹇嵎閿?br />if(event.srcElement.tagName!='TEXTAREA'){
event.ctrlKey&&event.keyCode==90?chexiaock.click():
event.ctrlKey&&event.keyCode==89?fanchexiaock.click():
event.ctrlKey&&event.keyCode==38?fangda.click():
event.ctrlKey&&event.keyCode==40?suoxiao.click():
!event.ctrlKey&&event.keyCode==37?zuoyi.click():
!event.ctrlKey&&event.keyCode==38?shangyi.click():
!event.ctrlKey&&event.keyCode==39?youyi.click():
!event.ctrlKey&&event.keyCode==40?xiayi.click():str1=1
}}
</script>




zhyiwww 2006-11-01 16:45 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 亚洲第一区香蕉_国产a| 伊人婷婷综合缴情亚洲五月| 亚洲欧洲在线播放| 真实国产乱子伦精品免费| 图图资源网亚洲综合网站| 一级毛片免费观看| 亚洲理论片在线观看| 歪歪漫画在线观看官网免费阅读 | 亚洲色偷偷狠狠综合网| 婷婷亚洲综合一区二区| gogo全球高清大胆亚洲| 国产精品小视频免费无限app| 亚洲欧洲无码AV电影在线观看| 中国国产高清免费av片| 亚洲精品免费观看| 我要看WWW免费看插插视频| 美女视频免费看一区二区| 亚洲最大AV网站在线观看| 免费不卡在线观看AV| 国产精品亚洲片在线va| 国产免费小视频在线观看| 一级特黄aaa大片免费看| 亚洲第一极品精品无码久久| 18禁成人网站免费观看| 欧美亚洲国产SUV| 亚洲熟妇无码另类久久久| 啦啦啦完整版免费视频在线观看| 国产成+人+综合+亚洲专| 男人的天堂亚洲一区二区三区 | 日亚毛片免费乱码不卡一区 | 免费看美女让人桶尿口| 一个人看的在线免费视频| 亚洲人成亚洲精品| 国产黄色片在线免费观看| 在线观看免费视频一区| 亚洲人成网男女大片在线播放 | 国产男女猛烈无遮挡免费视频网站| 久久嫩草影院免费看夜色| 亚洲综合丁香婷婷六月香| 国产亚洲精品无码拍拍拍色欲| 亚洲成人免费电影|