Openlayers Learning notes 5--using the jquery UI to implement queries and annotations (UI articles)

Source: Internet
Author: User

Recently, many things, the boss gave a lot of pressure, often travel, and other projects and personal research to keep up, this month to hand in papers, but also to write patents, can only take time to learn other things. About Openlayers in the blog will not write too much specific implementation (online there are many Openlayers blog, about loading wms, tagging, measurement, I will not repeat here), just record their own development learning experience and some issues needing attention, really do development know, To learn to develop only through their own silent multi-grinding. About WW's study and development has been on hold for a long time, and so the past period, intends to learn jogl, to do some particle simulation, and also intends to use RCP to do the interface, swing do interface is too ugly. Don't say much nonsense, first look at the implementation of this article effect:



The jquery UI is also implemented here, and the jquery UI provides the eight most commonly used components, where the accordion panel (Accordion) and dialog (Dialog) are used, and when these components are used, Can be based on their own needs to free combination to achieve a beautiful effect.

HTML code

<div id= "Querydialog" > <div id= "queryaccordion" > JS Code:

  Query $ ("#Query"). Click (function () {//Query dialog box $ ("#queryDialog"). Dialo                                G ({open:function () {                                        The query dialog box is embedded in the auto-collapse panel $ (' #queryAccordion '). Accordion (                                {Collapsible:true}                            );                            }, Beforeclose:function () {}, Title: "Warning source household tracking", Resizable:false, Butto                                    NS: {"OK": function () {                                $ (This). dialog ("Close");                               } , "Cancel": function () {$ (this). dialog ("Close");            }                            }                        }                );        }); });
Very simple, do not explain, feel that you do the interface ugly fast to improve it! Good night!

Openlayers Learning notes 5--using the jquery UI to implement queries and annotations (UI articles)

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.