对ç½é¡µè¿è¡ç®ç¹åä½è½¬æ¢çæ¹æ³ä¸è¬æ两ç§ï¼ä¸æ¯ä½¿ç¨ä¸ä¸è½¯ä»¶ï¼å¦å¤ä¸ç§æ¯å¶ä½ä¸¤å¥çæ¬çç½é¡µãæ¾ç¶ï¼è¿ä¸¤ç§æ¹æ³é½è¾ä¸ºéº»ç¦ï¼è¿éæä¾ä¸ä¸ªé常ç®åçæ¹æ³ï¼åªé¡»å¨é¡µé¢ä¸æ·»å å è¡ä»£ç å°±å¯ä»¥è½»æ¾æå®ç½é¡µçç®ç¹è½¬æ¢äºã
é¦å
å¨ä¸è½½ç¨äºç®ç¹è½¬æ¢çjsæ件transform.jsï¼ä¸è½½å°åèªè¡ç¾åº¦ã
å¤å¶å°ç½ç«ç®å½ä¸ï¼ç¶å使ç¨ç½é¡µå¶ä½å·¥å
·æå¼éè¦è¿è¡ç®ç¹è½¬æ¢çç½é¡µï¼å¨ä»£ç ä¸çå å
¥å¦ä¸ä»£ç ï¼
<script type="text/javascript" language="javascript" src="transform.js"></script>
<script type="text/javascript" language="javascript">
function s2t()
{document.body.innerHTML = document.body.innerHTML.s2t();}
function t2s()
{document.body.innerHTML = document.body.innerHTML.t2s();}
</script>
ç¶åå¨ç½é¡µçéå½ä½ç½®æ·»å ç®ç¹è½¬æ¢é¾æ¥ï¼
<a href="javascript:s2t()">ç¹ä½ä¸æ</a> <a href="javascript:t2s()">ç®ä½ä¸æ</a>
ä¿å页é¢åï¼ç¹å»âç¹ä½ä¸æâé¾æ¥ï¼é¡µé¢å°±ä¼æç¹ä½ï¼ç¹å»âç®ä½ä¸æâå°±ä¼èªå¨è½¬æ¢ä¸ºç®ä½å½¢å¼ï¼æ¹ä¾¿ä¸åç¨æ·çéæ©æµè§äºã
æ示ï¼è¿ç§æ¹æ³ä¸ä»
éç¨äºéæç½ç«è¿å¯ä»¥ç¨å¨è®ºåãçè¨æ¿çå¨æç½ç«ç³»ç»ä¸ã
温馨提示:内容为网友见解,仅供参考