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

เบอร์โทร

02 218 2314

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

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

Dropdowns

Dropdowns are a creative way to provide more options on a click or hover element. With Uikit dropdown component, you can attach the dropdown to couple of elements to enrich your UI composition.

Button with dropdowns

To create a button dropdown, wrap the [dropdown] shortcode around a button that you'd like to add a dropdown menu, then add the dropdowm markup right after the button. Additionally, you can add an arrow icon using the [icon] shortcode to depict a dropdown menu.



markup

[dropdown style="uk-button-dropdown"]
[button style="default" href="#" target="_self"]Dropdown 1 [icon style="icon-angle-down"/][/button]
   [nav style=""]
      <li><a href="#">Menu item</a></li>
      <li><a href="#">Menu item</a></li>
      <li class="uk-nav-header uk-navbar-nav-subtitle">Menu Heading<div>Subtitle possible</div></li>
      <li><a href="#">[icon style="icon-envelope-o"/] Menu Icon</a></li>
      <li><a href="#">[icon style="icon-heart-o"/] Another Menu item</a></li>
      <li class="uk-nav-divider"></li>
      <li><a href="#">Separated item</a></li>
   [/nav]
[/dropdown]

Button group with dropdowns

You can also use button groups to split buttons into a standard action on the left and a dropdown toggle on the right.



markup

[button_group]
   [button style="color" href="#" target="_self"]split button[/button]
   [dropdown style=""]
   [button style="color" href="#" target="_self"][icon style="icon-angle-down"/][/button]
         [nav style=""]
            ...menu items
         [/nav]
   [/dropdown]
[/button_group]

The following is a list of possible style options for the [nav] dropdown menu

styleDescription
uk-color Use the main menu color in the dropdown menu
uk-dropdown-flip Aligns the dropdown menu to the right
uk-dropdown-up Aligns the dropdown menu above the toggle
uk-dropdown-center Centers the dropdown menu.
uk-dropdown-small Set the dropdown to be smaller

markup

[button_group]
   [button style="color" href="#" target="_self"]split button[/button]
   [dropdown style=""]
   [button style="color" href="#" target="_self"][icon style="icon-angle-down"/][/button]
         [nav style="uk-color uk-dropdown-up uk-dropdown-center uk-dropdown-small"]
            ...menu items
         [/nav]
   [/dropdown]
[/button_group]

      • งานสาธิตวิชาการครั้งที่ 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