CSMJU jQuery Mobile

เมนู
ถัดไป ก่อนหน้า

3.1 Pages & dialogs

       i. Popup

การจัดตำแหน่งปุ่มปิด popup

CD ไฟล์: popup.html
Popup with close button right
Close

I have a close button at the top right

CD ไฟล์: popup.html
Popup with close button left
Close

I have a close button at the top left

การขยายพื้นที่ popup content

CD ไฟล์: popup.html
Popup with padding

This is a popup with the ui-content class added to the popup container.

การกำหนดตำแหน่งแสดง popup

CD ไฟล์: popup.html
Position to window

I am positioned to the window.

CD ไฟล์: popup.html
Position to origin

I am positioned over the origin.

CD ไฟล์: popup.html
Position to overwindows

I am positioned over the code sample via selector.

CD ไฟล์: popup.html
No transition

I'm a simple popup.

note: สามารถกำหนดลักษณะการเปลี่ยนของ action ต่างๆได้โดยการ เปลี่่ยนที่ data-transition=""

การกำหนด Theme และการ overlay ของpopup

CD ไฟล์: popup.html
Theme A

I have data-theme="a" set on me

CD ไฟล์: popup.html
Theme "none", no shadow
CD ไฟล์: popup.html
Overlay theme A

I have a data-overlay-theme="a" set on me

CD ไฟล์: popup.html
Theme E + overlay A

I have data-theme="e" and data-overlay-theme="a" set on me