Re: Drag and drop functionality?

2011-08-26 Thread Yaşar Arabacı
It is my understanding that, drag and drop functionality depends on browser
capabilities. You may want to see these two links:

https://developer.mozilla.org/en/drag_and_drop_javascript_wrapper
https://developer.mozilla.org/en-US/demos/detail/motivational-poster

2011/8/26 francescortiz <francescor...@gmail.com>

> By your comment it seems that your question is more about browser
> capabilities than django. If this is the case, check HTML5 to see what
> can be used for drag and drop, like files in gmail.
>
> On Aug 24, 7:22 pm, glenn hafstrom <g.hafst...@gmail.com> wrote:
> > Hi Reinout
> >
> > Thanks for your input.
> > I've googled a lot but I haven't found anything where I can drag from
> > another application to my django-site
> >
> > Regards
> > glenn
> >
> > On 24 Aug, 13:30, Reinout van Rees <rein...@vanrees.org> wrote:
> >
> >
> >
> >
> >
> >
> >
> > > On 24-08-11 13:19, glenn hafstrom wrote:
> >
> > > > I'm new to this and I have just started with django.
> > > > I would like to have some kind of container for example I would like
> > > > to drag and drop a webaddress
> > > > to the container and then save them in my django application.
> > > > Is there any Javscript or anything else that I can use to handle
> > > > this?
> >
> > > Best way is to do it in two steps:
> >
> > > - First make a regular django form with one input field for the url and
> > > a submit button. Get that working.
> >
> > > - Second step: google for some javascript that handles it. "jquery ui"
> > > has some drag/drop support, but I don't know if that also works for
> > > items dragged from outside the browser window.
> >
> > > But get step 1 working first. Step 2 will need that functionality in
> > > place to be able to do something :-)
> >
> > > Reinout
> >
> > > --
> > > Reinout van Reeshttp://reinout.vanrees.org/
> > > rein...@vanrees.orghttp://www.nelen-schuurmans.nl/
> > > "If you're not sure what to do, make something. -- Paul Graham"
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>


-- 
http://yasar.serveblog.net/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Drag and drop functionality?

2011-08-26 Thread francescortiz
By your comment it seems that your question is more about browser
capabilities than django. If this is the case, check HTML5 to see what
can be used for drag and drop, like files in gmail.

On Aug 24, 7:22 pm, glenn hafstrom  wrote:
> Hi Reinout
>
> Thanks for your input.
> I've googled a lot but I haven't found anything where I can drag from
> another application to my django-site
>
> Regards
> glenn
>
> On 24 Aug, 13:30, Reinout van Rees  wrote:
>
>
>
>
>
>
>
> > On 24-08-11 13:19, glenn hafstrom wrote:
>
> > > I'm new to this and I have just started with django.
> > > I would like to have some kind of container for example I would like
> > > to drag and drop a webaddress
> > > to the container and then save them in my django application.
> > > Is there any Javscript or anything else that I can use to handle
> > > this?
>
> > Best way is to do it in two steps:
>
> > - First make a regular django form with one input field for the url and
> > a submit button. Get that working.
>
> > - Second step: google for some javascript that handles it. "jquery ui"
> > has some drag/drop support, but I don't know if that also works for
> > items dragged from outside the browser window.
>
> > But get step 1 working first. Step 2 will need that functionality in
> > place to be able to do something :-)
>
> > Reinout
>
> > --
> > Reinout van Rees                    http://reinout.vanrees.org/
> > rein...@vanrees.org            http://www.nelen-schuurmans.nl/
> > "If you're not sure what to do, make something. -- Paul Graham"

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Drag and drop functionality?

2011-08-24 Thread glenn hafstrom
Hi Reinout

Thanks for your input.
I've googled a lot but I haven't found anything where I can drag from
another application to my django-site

Regards
glenn



On 24 Aug, 13:30, Reinout van Rees  wrote:
> On 24-08-11 13:19, glenn hafstrom wrote:
>
> > I'm new to this and I have just started with django.
> > I would like to have some kind of container for example I would like
> > to drag and drop a webaddress
> > to the container and then save them in my django application.
> > Is there any Javscript or anything else that I can use to handle
> > this?
>
> Best way is to do it in two steps:
>
> - First make a regular django form with one input field for the url and
> a submit button. Get that working.
>
> - Second step: google for some javascript that handles it. "jquery ui"
> has some drag/drop support, but I don't know if that also works for
> items dragged from outside the browser window.
>
> But get step 1 working first. Step 2 will need that functionality in
> place to be able to do something :-)
>
> Reinout
>
> --
> Reinout van Rees                    http://reinout.vanrees.org/
> rein...@vanrees.org            http://www.nelen-schuurmans.nl/
> "If you're not sure what to do, make something. -- Paul Graham"

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Drag and drop functionality?

2011-08-24 Thread Reinout van Rees

On 24-08-11 13:19, glenn hafstrom wrote:

I'm new to this and I have just started with django.
I would like to have some kind of container for example I would like
to drag and drop a webaddress
to the container and then save them in my django application.
Is there any Javscript or anything else that I can use to handle
this?


Best way is to do it in two steps:

- First make a regular django form with one input field for the url and 
a submit button. Get that working.


- Second step: google for some javascript that handles it. "jquery ui" 
has some drag/drop support, but I don't know if that also works for 
items dragged from outside the browser window.



But get step 1 working first. Step 2 will need that functionality in 
place to be able to do something :-)



Reinout

--
Reinout van Reeshttp://reinout.vanrees.org/
rein...@vanrees.org http://www.nelen-schuurmans.nl/
"If you're not sure what to do, make something. -- Paul Graham"

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Drag and drop functionality?

2011-08-24 Thread glenn hafstrom
Hi
I'm new to this and I have just started with django.
I would like to have some kind of container for example I would like
to drag and drop a webaddress
to the container and then save them in my django application.
Is there any Javscript or anything else that I can use to handle
this?

Regards
gh

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.