
內容簡介
這個外掛可以讓您在頁面或文章中使用簡易或進階的簡碼,使用 jQuery UI 的元件。
以下是目前可用的元件名稱及其對應的簡碼:
對話框 - 使用 [pjjuh-dialog]contents[/pjjuh-tab] 一起使用,就可以在加入簡碼的按鈕位置建立一個按鈕,按下時會打開一個對話框,其中包含標籤內容 (或您可以設置一個名為 "page" 的屬性,將站點上某個頁面的內容載入打開的對話框)。如需更多信息,請參閱 我的網站。
選項卡 - 使用 [pjjuh-tab-group],然後 [pjjuh-tab title=”tab-title”]contents[/pjjuh-tab],就可以建立一個選項卡其中包含指定的內容及標題文字 "tab-title"。如需更多信息,請參閱 我的網站。
手風琴 - 使用 [pjjuh-accordion],然後 [pjjuh-acc-section title=”section-title”]contents[/pjjuh-acc-section] 建立一個區段,其中包含指定的內容及標題文字 "section-title"。如需更多信息,請參閱 我的網站。
未來我希望添加的元件是:
工具提示
未來我也希望能夠提供更多元件的變化。
外掛標籤
開發者團隊
原文外掛簡介
This plugin allows you to use jQuery UI’s widgets with a simple to advanced shortcode in your pages or posts.
Here is a list of the current widgets and their corresponding shortcodes:
Dialog – Used with [pjjuh-dialog]contents[/pjjuh-tab] to create a button where the shortcode is inserted that will open a dialog with the contents of the tag (or you can set an attribute of page to a title of one of the pages on your site to load the contents of that page into the dialog that is opened from pressing the button). For more information on how to use this please visit my site.
Tabs – Used with [pjjuh-tab-group] and then [pjjuh-tab title=”tab-title”]contents[/pjjuh-tab] to create a tab with the title “tab-title” that contains the contents specified. For more information on how to use this please visit my site.
Accordion – Used with [pjjuh-accordion] and then [pjjuh-acc-section title=”section-title”]contents[/pjjuh-acc-section] to create a section with the title “section-title” that contains the contents specified. For more information on how to use this please visit my site.
Widgets I hope to add in the near future are:
Tooltips
I also hope to allow more variations for the widgets in the near future.
