The drag-and-drop function of the webpage layout module of jquery. ui plug-in

Source: Internet
Author: User

Recently, due to system upgrades, personal space needs to be transformed to imitate the QQ space's spatial dress-up function.

After checking some basic information, I decided to use the jquery. ui plug-in.

Finally, basic functions such as changing themes, layout switching, module dragging, and custom control are implemented.

The idea is very simple, and the original program is very simple. You need to understand the basic functions of jquery and related plug-ins sorttable.

DEMO:

Http://www.bkjia.com/a/Demo/2010/20100405/

This is the basic data table.

Create table 'userspaceconfig '(
'Uid' int (11) not null,
'Container' varchar (20) character set utf8 collate utf8_unicode_ci not null,
'Styleconfig' tinytext character set utf8 collate utf8_unicode_ci not null,
'Leleconfig' tinytext character set utf8 collate utf8_unicode_ci not null,
Primary key ('uid ')
) ENGINE = MyISAM default charset = latin1 COLLATE = latin1_general_ci;

Container is the layout

StyleConfig is a style

ModuleConfig is a module

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.