搜索找到 5182 个匹配

ejsoon
2026年 4月 18日 20:52
版面: Javascript
主题: 將改進混亂時鐘的網頁版
回复总数: 24
阅读次数: 8774

Re: 將改進混亂時鐘的網頁版

最終選擇jena:
kabinett1.png
kabinett1.png (5.86 KiB) 查看 22 次
kabinett2.png
kabinett2.png (5.89 KiB) 查看 22 次
jena.png
jena.png (4 KiB) 查看 22 次
ejsoon
2026年 4月 18日 19:58
版面: Javascript
主题: 將改進混亂時鐘的網頁版
回复总数: 24
阅读次数: 8774

Re: 將改進混亂時鐘的網頁版

ejsoon
2026年 4月 18日 15:33
版面: Javascript
主题: 改下哥尼斯堡網頁程式
回复总数: 138
阅读次数: 4539

Re: 改下哥尼斯堡網頁程式

konigsberg20260418icons794

改icons的width和height,max-width=36。

https://ejsoon.vip/wp-content/uploads/2 ... ns794.html
ejsoon
2026年 4月 18日 13:44
版面: Javascript
主题: 改下哥尼斯堡網頁程式
回复总数: 138
阅读次数: 4539

Re: 改下哥尼斯堡網頁程式

藍方終於獲勝:

<svg id="konigsberganimate" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="720" height="480" viewBox="0 0 720 480" style="background: lightblue; height: 100%; width: 100%;" opacity="0"><g class ...
ejsoon
2026年 4月 18日 13:37
版面: Javascript
主题: 改下哥尼斯堡網頁程式
回复总数: 138
阅读次数: 4539

Re: 改下哥尼斯堡網頁程式

好像綠方的勝率會高一些。

<svg id="konigsberganimate" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="720" height="480" viewBox="0 0 720 480" style="background: lightblue; height: 768px; width: 1366px;" opacity="0"><g ...
ejsoon
2026年 4月 18日 09:06
版面: Javascript
主题: 將改進混亂時鐘的網頁版
回复总数: 24
阅读次数: 8774

Re: 將改進混亂時鐘的網頁版

<svg preserveAspectRatio="xMidYMid meet" id="etmain" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" width="480" height="480"> <defs mode="1" rotatestep="1" rotatestart="0" stepvalue="180" snapto="0" displaywait="1"> <g id="tile0" frontfill="#700" backfill ...
ejsoon
2026年 4月 18日 08:51
版面: Javascript
主题: 將改進混亂時鐘的網頁版
回复总数: 24
阅读次数: 8774

Re: 將改進混亂時鐘的網頁版

修改自動保存邏輯:


自動保存不會在頁面加載時自動開啟,也不再只能保存到第一個。


當點擊#update時,它將處於select狀態,再點擊下面dataarea的其中一個img時,此img邊框色變#a72,它將每隔7秒自動保存到那個img所指向的數據。當再次點擊update時,選中狀態消失,停止自動保存。


在保存時,img的左上角會短暫出現一個綠色的加號,可直接使用add內的svg圖案。


當開啟自動保存和關閉自動保存時,才會把當前數據放進undo stack中,在自動保存期間不會自動保存進undo stack。


只需給出所要修改的地方,所有的代碼和注釋都要使用英文 ...
ejsoon
2026年 4月 18日 07:18
版面: Javascript
主题: 將改進混亂時鐘的網頁版
回复总数: 24
阅读次数: 8774

Re: 將改進混亂時鐘的網頁版

時針分針秒針:
ejsoon
2026年 4月 18日 05:35
版面: 倉頡輸入法
主题: 拿到行列輸入法的詞庫
回复总数: 1
阅读次数: 55

拿到行列輸入法的詞庫

本站另收錄行列輸入法總數達 6 萬詞的詞庫檔,原收錄於需付費的「行列詞彙輸入法」軟體,經行列輸入法發明人廖明德先生同意公開於此處,並無償授權提供各家第三方輸入法軟體作者,提供開發行列輸入法軟體時採用。
由於我並不是詞庫方面的專家,也沒有時間和興趣整理詞庫,因此最好有現成做好的,可以直接用。
ejsoon
2026年 4月 17日 22:25
版面: Javascript
主题: 將改進混亂時鐘的網頁版
回复总数: 24
阅读次数: 8774

Re: 將改進混亂時鐘的網頁版

竟然能上傳js文件了?

增加每12秒自動保存到localstorage。
ejsoon
2026年 4月 17日 22:20
版面: Javascript
主题: 將改進混亂時鐘的網頁版
回复总数: 24
阅读次数: 8774

Re: 將改進混亂時鐘的網頁版

gemini fast:

To implement the auto-save feature every 12 seconds, you need to add a periodic timer and logic to handle the `.ejautolocal` class.

Here are the specific modifications for your script:

### 1. Add the Auto-Save Logic and Interval
Add this block at the end of your script or after the ...
ejsoon
2026年 4月 17日 22:16
版面: Javascript
主题: 將改進混亂時鐘的網頁版
回复总数: 24
阅读次数: 8774

Re: 將改進混亂時鐘的網頁版

增加功能:每隔12秒就自動保存。如果第一個的類名不是「.ejautolocal」,那就新增並插入至第一位;如果是,則覆蓋保存。
ejsoon
2026年 4月 17日 17:16
版面: Javascript
主题: 將改進混亂時鐘的網頁版
回复总数: 24
阅读次数: 8774

Re: 將改進混亂時鐘的網頁版

gemini pro:

Here is the modified section of the code. You only need to replace the `// 5. If ckmode is "number"` section with the following block.

All code and comments are written in English as requested.

```javascript
// 5. If ckmode is "number"
else if (ckmode === "number") {
const ...
ejsoon
2026年 4月 17日 17:13
版面: Javascript
主题: 將改進混亂時鐘的網頁版
回复总数: 24
阅读次数: 8774

Re: 將改進混亂時鐘的網頁版

包含0需要改進:
下面是一個《混亂時鐘》的PHP結合html的程式。這個程式當它接收到數字全部都滿的數據時是正確的,但是如果包含0則需要改進。

比如[chaosclock]3,1,11,5,7,10,12,6,2,9,8,4[/chaosclock]這樣是正確的,但是[chaosclock]0,2,9,0,0,0,3,0,4,7,11,0[/chaosclock]包含0則要改進。

改進的方法是,首先統計從1到12,是缺了哪些數字,分成單數和雙數,按順序,單數放左邊,雙數放右邊。translate的坐標如下,scale:0.7,0.7。

右:
120,-172
160,-160
172 ...