Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

personalize homepage: drag box


Go to End


2 Posts   1063 Views

Avatar
bebabeba

Community Member, 193 Posts

14 July 2011 at 10:21pm

Hi!
I have to customize the site's homepage (no admin Silverstripe area, but on-line site): I need three div. Do I have to drag the div horizontally, something like happens in admin widget area (here i drag div horizzontally). Is there anything ready?
if not, can you help in recovering the routine that allows me to move the widget vertically?
If search something in internet, is necessary use jquery?
Thanks!

Avatar
zenmonkey

Community Member, 545 Posts

15 July 2011 at 3:27am

If I undertand this correctly, you want a div in the front end that can be moved by the user? This is more of a front end dev issue, and not something SilverStripe handles itself.

The easiest way would be to use jQuery and jQuery UI since it has a draggable function http://jqueryui.com/demos/draggable/

I've never actually used that part of teh UI plug-in so I'm not sure of its implementation, but teh jQuery UI site has great documentation