โรงเรียนสาธิตจุฬาลงกรณ์มหาวิทยาลัย ฝ่ายมัธยม

เบอร์โทร

02 218 2314

ติดต่อโรงเรียนcudes@chula.ac.th , งานวิชาการ: cudad@chula.ac.th , งานทะเบียน: cudreg@chula.ac.th, งานการเงิน: cudfn@chula.ac.th

ความรู้ คู่คุณธรรม

Modal Box

Use the [modal_box] shortcode to show a popup box with overlay. The [modal_box] shortcode can also be linked with these module positions: modal-a, modal-b and modal-c. By using one of these positions as your target, the modal box will show a popup of the modules that have be placed in these positions and assigned to the corresponding menu.


targetDescription
modal-a show modal box for modules in modal-a position
modal-b show modal box for modules in modal-b position
modal-c show modal box for modules in modal-c position

For each module linked to modal-a, modal-b or modal-c, you can use Module Class Suffix to style it just like a normal module. The target parameter can also be the id of a content section.

Size modifier

To adjust the size (width) of the modal box, add uk-modal-dialog-small or uk-modal-dialog-large to the Module Class of the module.


Trigger a modal box from link


modal-a modal-b modal-c

markup
[modal_box link target="modal-a"]modal-a[/modal_box] 
[modal_box link target="modal-b"]modal-b[/modal_box] 
[modal_box link target="modal-c"]modal-c[/modal_box]

Toggle modal box from buttons


modal-a   modal-b   modal-c

markup
[modal_box button style="color" target="modal-a"]modal-a[/modal_box]
[modal_box button style="color" target="modal-b"]modal-b[/modal_box]
[modal_box button style="color" target="modal-c"]modal-c[/modal_box]

Toggle modal box for inline content

The [modal_box] shortcode can also be used for inline content by using the following sytnax:

markup

<!-- create a link that will trigger the pop-up modal box -->
[modal_box link target="mycontent"]my link[/modal_box] 

<!-- create the content of the modal box -->
[modal_box content target="mycontent" style="uk-panel-box-primary"]
...
[/modal_box]

Popup content

Inline content

Throughout life people will make you mad, disrespect you and treat you bad. Let God deal with the things they do, cause hate in your heart will consume you too. Be kind whenever possible. It is always possible.

      • งานสาธิตวิชาการครั้งที่ 9

      • วีดิทัศน์ประวัติโรงเรียนสาธิตจุฬาฯ ฝ่ายมัธยม | เนื่องในวันคล้ายวันสถาปนาโรงเรียน 20 มิ.ย. 66

      • ประชาสัมพันธ์โครงการสภาปันน้ำใจสู่ชุมชน 65

      • พิธีวางศิลาฤกษ์อาคารเรียนสาธิตจุฬาฯ ฝ่ายมัธยม

      • การเตรียมความพร้อมสมรรถภาพทางกาย

      • โครงการประเมินผลการเรียนรู้ศิลปะ Limitless

      สารสนเทศ สำหรับบุคลากร

      สารสนเทศ สำหรับบุคลากร

      สารสนเทศ สำหรับนักเรียน

      สารสนเทศ สำหรับนักเรียน

      CUDPLUS+

      CUD PLUS+

      คู่มือนักเรียน e-book

      คู่มือนักเรียน e-book

      ตารางสอนและตารางสอบ

      ตารางสอนและตารางสอบ

      ปฏิทินกิจกรรมและวันหยุด

      ปฏิทินกิจกรรม
      และวันหยุด

      CUD STEMLAB

      CUD STEMLAB

      Network Authentication Login

      Network Authentication Login

      Network Authentication Logout

      Network Authentication Logout

      CUD Bio Map

      CUD Bio Map

      CUD Virtual Tour

      CUD Virtual Tour

      ชมรม

      ชมรม

      ระเบียบปฏิบัติ

      ระเบียบปฏิบัติ

      จดหมายถึงผู้ปกครอง

      จดหมายถึงผู้ปกครอง

      ประกาศและคำสั่ง

      ประกาศและคำสั่ง

      ติดต่อโรงเรียน

      02 218 2314