473,387 Members | 1,724 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

How do they do this?

Hello,

I do not know what to Google for, so maybe you could point me in the
right direction. If you look at

http://www.netvibes.com/

or even at Google's personalized home page, there is this ability to
drag and drop different pieces of content around. How is this done and
is there any freeware that you would recommend in doing this?

Thanks, - Dave

Oct 23 '06 #1
4 1080
laredotorn...@zipmail.com wrote:
Hello,

I do not know what to Google for, so maybe you could point me in the
right direction. If you look at

http://www.netvibes.com/

or even at Google's personalized home page, there is this ability to
drag and drop different pieces of content around. How is this done and
is there any freeware that you would recommend in doing this?

There are several JavaScript libraries that have drag and drop

Yahoo! UI (doesn't have sortable lists built in but there are some
examples implementations)
Scriptaculous (dependent on Prototype.js so stay clear)
Walter Zorn (I don't think this library has sortable lists built in)

I wouldn't recommend any of these libraries for sortable lists.
Sortable lists are a tricky problem and when the lists get even 20
elements or longer these implementations slow down in responsiveness. I
don't think there is a one size fits all solution for sortable lists in
browsers.

I've worked on creating a very fast and flexible drag drop library but
it still take some programming to make any particular implementation.
I've written a couple blog posts about my approach if you want to dive
into this...

http://peter.michaux.ca/article/15
http://peter.michaux.ca/article/51

My library is in alpha stage and when I get more time I hope to get to
beta before the new year but maybe the ideas will help you.

Peter

Oct 23 '06 #2
VK
drag and drop different pieces of content around. How is this done and
is there any freeware that you would recommend in doing this?
Very generically: it is done by listening mouse events and by changing
element style.top and style.left

You may take a look at <http://developer.yahoo.com/yui/dragdrop/>
library. No commitment from my side :-) but it seems the most robust
and friendly among others.

Oct 23 '06 #3
ASM
la***********@zipmail.com a écrit :
>
there is this ability to
drag and drop different pieces of content around. How is this done and
is there any freeware that you would recommend in doing this?
http://www.walterzorn.com/dragdrop/dragdrop_e.htm
Oct 23 '06 #4
Ozz
Have you tried Javax ? It did the job for me.

Cheers,
Ozz
ASM wrote:
la***********@zipmail.com a écrit :

there is this ability to
drag and drop different pieces of content around. How is this done and
is there any freeware that you would recommend in doing this?
http://www.walterzorn.com/dragdrop/dragdrop_e.htm
Oct 23 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Jayne Wolps | last post by:
Hello I wonder if anyone can help. I would like to know how certain sites: http://aboutbritain.com/ArundelCastle.htm, and http://travel.knowhere.co.uk/place/+bristol-0/ manage to put approx...
0
by: rcs | last post by:
Looks like you've come to a real Z00 here! Yeap! We have goats, we have horses, sheep, snakes, even dogs! e have lots of @n1m@ls here and we also have lots of g1r|s who just love to have some s....
0
by: jirap | last post by:
Looks like you've come to a real Z00 here! Yeap! We have goats, we have horses, sheep, snakes, even dogs! e have lots of @n1m@ls here and we also have lots of g1r|s who just love to have some s....
3
by: Richard Pain | last post by:
Having thought they'd go over to mysql, they've decided to stick with sql server. The hosting company don't allow direct connection to the database with enterprise manager so I don't think I can...
4
by: Nicolas Verhaeghe | last post by:
I have designed an application which uses the Crystal Reports 8.5 ActiveX to show a report as a PDF. The report is compiled from a SQL database populated through web forms programmed in ASP. ...
40
by: komone | last post by:
"Now is the time for all good web developers to use stylesheets". Hmm OK, so I start this commercial site design with the express intent of using CSS entirely. (Something I haven't attempted in...
2
by: Trent | last post by:
I discovered "A List Apart" (http://www.alistapart.com/) about a month ago and really enjoy their articles. They haven't posted any new articles in awhile, though. How often do they update? What...
4
by: Fred | last post by:
I'm a newbie to JavaScript so be gentle. You know that funky IE margin issue that causes the right side of the page to get cut off when the user prints the html document?...
182
by: Jim Hubbard | last post by:
http://www.eweek.com/article2/0,1759,1774642,00.asp
3
by: shapper | last post by:
Hello, In a page I have: 1. An input (type="submit") button that submits a form. 2. An anchor that cancels the form submission and redirects the user to a page. I am trying to make both look...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.