Javascript在網頁就可以執行不需要開啟Spyder 劉任昌執行 以上程式碼 <STYLE>BUTTON{BORDER:GREEN 5PX SOLID;BORDER-RADIUS:30PX;}</STYLE> <h1>Javascript在網頁就可以執行不需要開啟Spyder</h1> <button onclick="LH()">劉任昌執行</button> <canvas height="400" id="my" style="background: black;" width="1200"></canvas> <script> function LH() { var c = document.getElementById("my"); var cty = c.getContext("2d"); var x = 0; var y = 200; var h = 100; cty.beginPath(); cty.lineWidth = 5; cty.moveTo(x,y); while (x < 1000){ x = x + 1; y = 200 - h * Math.sin(0.2*x); cty.lineTo(x, y); cty.strokeStyle = "yellow"; cty.stroke(); }; } </script>
作者已經移除這則留言。
回覆刪除作者已經移除這則留言。
回覆刪除https://d11117315111.blogspot.com/2025/04/htmlbuttononclick.html
回覆刪除作者已經移除這則留言。
回覆刪除https://yangyoyo0125.blogspot.com/2025/04/htmlbuttononclick-4-21-2025.html
回覆刪除作者已經移除這則留言。
回覆刪除作者已經移除這則留言。
回覆刪除https://lin-yujing.blogspot.com/2025/04/blog-post.html
回覆刪除作者已經移除這則留言。
回覆刪除https://d11117242.blogspot.com/2025/04/htmlbuttononclick.html
回覆刪除作者已經移除這則留言。
回覆刪除https://danny0976790127.blogspot.com/2025/04/htmlbuttononclick.html
回覆刪除https://gbsddik.blogspot.com/2025/04/htmlbuttononclick.html
回覆刪除作者已經移除這則留言。
回覆刪除https://ting11111.blogspot.com/2025/04/htmlcssjavascriptjavapython.html
回覆刪除作者已經移除這則留言。
回覆刪除https://lu-cheng-yin-2024.blogspot.com/2025/04/oopobject-oriented-programming.html
回覆刪除https://chiuerya0515.blogspot.com/2025/04/html.html
回覆刪除https://ting100000.blogspot.com/2025/04/oopobject-oriented-programming.html
回覆刪除https://koala111222.blogspot.com/2025/04/htmlbutton-onclick.html
回覆刪除https://mumeng-ru.blogspot.com/2025/04/html.html
回覆刪除https://ypayupinan.blogspot.com/2025/04/html.html
回覆刪除https://bfbfbfbfbfsgrjryjyrjj.blogspot.com/2025/04/blog-post_21.html
回覆刪除https://pei940922.blogspot.com/2025/04/htmlbuttonunclick.html
回覆刪除https://slu804387.blogspot.com/2025/04/htmlbuttonouclick.html
回覆刪除https://pagestjing.blogspot.com/2025/04/htmlbuttononclick.html
回覆刪除https://jiachiangkuo.blogspot.com/2025/04/422.html
回覆刪除https://yuweiiiiiiiiiiii.blogspot.com/2025/04/htmlbutton.html
回覆刪除https://xu-bing-wei-0804.blogspot.com/2025/04/htmlbuttononcuck.html
回覆刪除https://zhuo-1005.blogspot.com/2025/04/blog-post.html
回覆刪除作者已經移除這則留言。
回覆刪除作者已經移除這則留言。
回覆刪除https://yimignsocool.blogspot.com/2025/04/htmlonclick.html
回覆刪除https://chenyenhsun.blogspot.com/2025/04/htmlbuttononclick.html
回覆刪除三個引號是註解吧?https://chenyenhsun.blogspot.com/2025/04/htmlbuttononclick.html
刪除https://chan0528.blogspot.com/2025/04/htmlbuttononclick.html
回覆刪除https://vovo8564513.blogspot.com/2025/04/htmlbuttononclick.html
回覆刪除https://christina-lqw.blogspot.com/2025/04/htmlbuttononclick.html
回覆刪除https://winnielee0311.blogspot.com/2025/04/html-button.html
回覆刪除https://yangyami.blogspot.com/2025/04/oopobject-oriented-programming.html
回覆刪除https://zhou-wei-ling.blogspot.com/2025/04/oopobject-oriented-programming.html
回覆刪除https://kiannc1201.blogspot.com/2025/04/htmlbuttononclick.html
回覆刪除https://tzuchenchu.blogspot.com/2025/04/oopobject-oriented-programming.html
回覆刪除https://xxxjkxxthf.blogspot.com/2025/04/h1oopobject-oriented-programming.html
回覆刪除https://huutingyu.blogspot.com/2025/04/htmlbuttononclick.html
回覆刪除https://zyixnn.blogspot.com/2025/04/htmlbuttononclick.html
回覆刪除作者已經移除這則留言。
回覆刪除https://xuan-ang.blogspot.com/2025/04/htmlbuttononclick.html
回覆刪除https://chinenkohana.blogspot.com/2025/04/oopobject-oriented-programming.html
回覆刪除https://takuto20050803.blogspot.com/2025/04/oopobject-oriented-programming.html
回覆刪除421.https://takuto20050803.blogspot.com/2025/04/oopobject-oriented-programming.html
刪除https://takming123.blogspot.com/2025/04/oopobject-oriented-programming.html
回覆刪除https://lintingyang11317134.blogspot.com/2025/04/javascriptbottomonlick.html
回覆刪除期中考。https://lintingyang11317134.blogspot.com/2025/04/javascriptbottomonlick.html
刪除408順利執行https://lintingyang11317134.blogspot.com/2025/04/var-banks-function-abc-var-c-document.html