Wikia

Community Central

Draggable UI elements?

93,745pages on
this wiki

Forum page

This Forum has been archived

Visit the new Forums
Forums: Index Community Central Forum Draggable UI elements?
Wikia's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.
Note: This topic has been unedited for 1610 days. It is considered archived - the discussion is over. Do not add to unless it really needs a response.


Is it possible to have user-defineable draggable UI elements on page? The rich text editor modal dialogs can be dragged, but I don't know if those are usable when the user isn't using the rich text editor, and I don't want the draggable element to block the rest of the page. The sidebar widgets are also draggable, but not outside of the sidebar. What I have currently is a "popup" div with fixed position, but it can obstruct some other elements on the page. Ideally, I'd just want to define a div with class="ui-draggable" ... Help? --paxed 18:07, May 9, 2010 (UTC)

And to answer my own question, in javascript I can do eg. $("#element_id").draggable(); -- this is all documented in the jQuery docs, of course. --paxed 07:50, May 15, 2010 (UTC)
All hail jQuery! --Uberfuzzy@Wikia 09:29, May 15, 2010 (UTC)

Around Wikia's network

Random Wiki