Jquery library Droppable [closed]
I want to create a site that does exactly the same as the BBC website, where you can sort out you elements and reposition them to customise the page, then at the bottom there is a customise page element that lets you restore certain elements, I have done a bit of research and come across the JQuery Droppable library. Will this allow me to close certain elements and then restore these elements at the bottom of the page if need me.
Or should I consider using another library, any comments and help on this post is much appreciated.
With the jquery-ui library, you can do much. You can find great examples here : http://jqueryui.com/demos/sortable/ or http://jqueryui.com/demos/droppable/
(edit : i've seen that bbc website also use the accordion function : http://jqueryui.com/demos/accordion/)
Could you point us the link on what you really want to do ? ("BBC Website" is quite vague)
What do you mean by "close" elements ? With custom code (and jquery), you can hide easily DOM elements of your page (and reversely, you can show them with one command).
EDIT
Seems like you are looking for "portal" functions (like Netvibes.com). You can find :
- a good jquery example here : http://www.webresourcesdepot.com/a-jquery-portal-framework-for-netvibes-like-interfaces-jpolite/
- some great plugins here : http://speckyboy.com/2010/02/08/15-jquery-plugins-for-better-web-page-element-layouts/
- and another example on SO : Netvibes like "draggable boxes" with javascript
I hope this helps.
精彩评论