# 請賜教，如何讓網頁儲存一個設定，在下一次再依其設定顯示

**URL:** <https://forum.freemdict.com/t/topic/10634>\
**Category:** 技术交流与词典编修\
**Tags:** javascript, css, html, 求助, mdx\
**Created:** [2022 年1 月 19 日 11:47 UTC](https://forum.freemdict.com/t/topic/10634 "2022-01-19T11:47:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

作者： ![fruition](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/fruition/32/51082_2.png) [@fruition](https://forum.freemdict.com/u/fruition)\
发布日期： [2022 年1 月 19 日 11:47 UTC](https://forum.freemdict.com/t/topic/10634/1 "2022-01-19T11:47:39Z")

</div>

請賜教，如何讓網頁儲存一個設定，在下一次再依其設定顯示  
圖片詞典，假設每個單字預估出3個位置，其中有一個位置是命中的，若把其3個位置中的一個紀錄下來，在下次打開時成為預設值或弄個標記在上面，則下次點擊時必可省下找尋單詞位置的時間

基本的概念原型如下

這例子是兩個位置，但若想紀錄下其中一個位置是最接近的不知可否，還請各位大大不吝賜教指點迷津

[https://www.w3schools.com/cssref/tryit.asp?filename=trycss3\_target](https://www.w3schools.com/cssref/tryit.asp?filename=trycss3_target)

 ![2022-01-19_195231](https://forumcdn.freemdict.com/uploads/default/original/3X/f/9/f96813e18019d61194dd0b00cb7d0ae7db377d67.png)

---

<div class="post-metadata">

作者： ![hua](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/hua/32/11090_2.png) [@hua](https://forum.freemdict.com/u/hua)\
发布日期： [2022 年1 月 19 日 12:07 UTC](https://forum.freemdict.com/t/topic/10634/2 "2022-01-19T12:07:28Z")

</div>

localstorage

goldendict 用不了

---

<div class="post-metadata">

作者： ![fruition](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/fruition/32/51082_2.png) [@fruition](https://forum.freemdict.com/u/fruition)\
发布日期： [2022 年1 月 19 日 12:17 UTC](https://forum.freemdict.com/t/topic/10634/3 "2022-01-19T12:17:21Z")

</div>

謝謝回覆，華大，在下看過 IBHI 兄透過外部的文檔來作為整體的版面居中設定，不知是否有類似的方式可切入
