Skip to content

Commit

Permalink
修改樣式
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanJui committed Apr 22, 2024
1 parent 3c2f232 commit da89691
Show file tree
Hide file tree
Showing 6 changed files with 759 additions and 148 deletions.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@
"database": "${workspaceFolder:Piau-Im}/Kong_Un_V2.db"
}
],
"sqltools.useNodeRuntime": true
"sqltools.useNodeRuntime": true,
"liveServer.settings.port": 5501
}
11 changes: 9 additions & 2 deletions docs/assets/javascripts/main.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// JavaScript 代碼將在這裡添加
$(document).ready(function () {
// 隱藏所有文章的注音方式列表
$('#articles ul').hide();
Expand All @@ -11,4 +10,12 @@ $(document).ready(function () {
// 切換注音方式列表的顯示狀態
phoneticList.toggle();
});
});

$('#articles ul a').on('click', function (e) {
e.preventDefault(); // 阻止默認行為

var url = $(this).attr('href'); // 獲取連結的 URL

$('#main').load(url);
});
});
Binary file added docs/assets/picts/king_tian.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit da89691

Please sign in to comment.