找回密碼
 立即註冊
搜索
熱搜: 活動 交友 discuz
查看: 1|回復: 0
打印 上一主題 下一主題

Size your modal window appropriately

[複製鏈接]

1

主題

1

帖子

2

積分

新手上路

Rank: 1

積分
2
跳轉到指定樓層
樓主
發表於 2023-12-25 17:12:56 | 只看該作者 回帖獎勵 |倒序瀏覽 |閱讀模式
Abutton within the modal as an alternative to a Continue button. 5.. Modals should appear as a layer on top of the parent window. Make it too large and users might think the modal is an entirely new page too small and users could mistake it for an ad. A good guideline is to restrict the modal window to at most 50 of the browser window width and roughly the same for height though the exact dimensions will vary based on what you place in the modal. 6. Introduce and close modal with a fade. Include a transition effect to ease the switch from parent window to child window. A brief fadeout of the background content and fadein of the modal window will work well in nearly any scenario a more eventful.



Transition e.g. a slidein or no transition might seem jarring to some. Back to our Starry example note how the video modal quickly but smoothly fades into view while background contents are dimmed a video modal Digital Marketing Service window on the starry ISP website with a fade effect Image Source 7. Limit modals on mobile. All of the design features Ive described work great for desktop screens but mobile devices are a different story. The reduced screen size makes it harder to achieve the windowwithinawindow look without appearing too large or too small. Where you might place a modal.




Normal site consider instead adding a modeless element or placing your modal content on a new page entirely. If youd prefer modals on your mobile site test to make sure theyre responsive legible and easytouse. 8. Design your modals for accessibility. Ive already touched on a couple web accessibility pointers in this list here are some common practices to make your modals usable for everyone Every clickable action in the modal should also be possible with the keyboard. The escape key should close the window and the tab and enter keys can be used to select.

回復

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 立即註冊

本版積分規則

Archiver|手機版|自動贊助|  

GMT+8, 2025-4-24 03:18 , Processed in 0.268027 second(s), 6 queries , File On.

抗攻擊 by GameHost X3.3

© 2001-2017 Comsenz Inc.

快速回復 返回頂部 返回列表
一粒米 | 中興米 | 論壇美工 | 設計 抗ddos | 天堂私服 | ddos | ddos | 防ddos | 防禦ddos | 防ddos主機 | 天堂美工 | 設計 防ddos主機 | 抗ddos主機 | 抗ddos | 抗ddos主機 | 抗攻擊論壇 | 天堂自動贊助 | 免費論壇 | 天堂私服 | 天堂123 | 台南清潔 | 天堂 | 天堂私服 | 免費論壇申請 | 抗ddos | 虛擬主機 | 實體主機 | vps | 網域註冊 | 抗攻擊遊戲主機 | ddos |