JQuery Easy UI Droppable (placement) component, jquerydroppable

Source: Internet
Author: User

JQuery Easy UI Droppable (placement) component, jquerydroppable

The Droppable (placement) component is also a basic component, which is easy to use. The syntax is commented in the example:

Example:

<! DOCTYPE html> 

Click to download source code


Teach jquery ui about droppable

Hello!
You can get the source object through the event in the drop event of the droppable, and then retrieve the id, as shown below:
$ ("# Droppable "). droppable ({drop: function (event, ui) {var obj = event. srcElement | event.tar get; alert (obj. id); $ (this ). addClass ("ui-state-highlight "). find ("p" pai.html ("Dropped! ");}});
Hope to help you!


Jquery easy ui, window ("open ")

This only adds a masking layer to the left frame page. When the masking layer on the right frame page is displayed, the masking layer on the left frame page is also displayed, and vice versa. Implementation should not be very difficult.
To achieve the effect, set the right border of the Left shadow layer to none.

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.