Jquery UI 1.7 Update Summary

Source: Internet
Author: User

1. Each UI plug-in now has a unique CSS file, but it must be used in conjunction with ui.theme.css ui.core.css. Otherwise, some effects will not be displayed.
For example, datepicker must reference the preceding two CSS files at the same time. Accordion must be referenced only by ui.theme.css. In this case, I will place the independent demo of each plug-in my resources.
2. UI. Accordion
Html Code Follow certain format requirements: Copy code The Code is as follows: <ul id = "example">
<Li>
<H3> <a href = "#" href = "#"> Test 1 </a> <Div> <Table Height = "100px"> <tr> <TD> News </TD> </tr> </table>
</Div>
</LI>
<Li>
<H3> <a href = "#" href = "#"> Test 2 </a> <Div> <Table Height = "100px"> <tr> <TD> magazine </TD> </tr> </table>
</Div>
</LI>
<Li>
<H3> <a href = "#" href = "#"> Test 3 </a> <Div> <Table Height = "100px"> <tr> <TD> sport </TD> </tr> </table>
</Div>
</LI>
</Ul>

The 3. UI. Dialog
Note:
(1) added a new reference in UI-1.7.1: jquery. bgiframe. js support
Purpose: If the floating block on the webpage overlaps the drop-down menu, you can see in IE6 that the drop-down box always overwrites the floating block. No matter how you adjust the Z-index, it is useless, bgiframe can easily solve this problem.
See http://www.oschina.net/p/bgiframe for details
Usage:
$. UI. Dialog. defaults. bgiframe = true;
(2) If you want to realize dialog's drag effect, compile the ui.resizable.css and UI. resizable. js files.
4. UI. Tabs
Pay special attention to this relative ui-1.6:
(1) HTML code specifications: Copy code The Code is as follows: <Div id = "example">
<Ul>
<Li> <a href = "# tab-1" href = "# tab-1"> <span> one </span> </a> </LI>
<Li> <a href = "# tab-2" href = "# tab-2"> <span> two </span> </a> </LI>
<Li> <a href = "# tab-3" href = "# tab-3"> <span> three </span> </a> </LI>
</Ul>
<Div id = "tab-1">
This is jquery tab one.
</Div>
<Div id = "tab-2">
I'm tab two.
</Div>
<Div id = "tab-3">
Haha, three is here.
</Div>
<Div id = "new-tab">
This is add tab.
</Div>
</Div>

Note: The corresponding Div of each tab must be placed in the effective Div of the tab.
(2) no longer use $ ("# example> ul"). tabs ();
Write $ ("# example"). tabs ();

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.