[ 4 posts ]

Nate Cavanaugh

YUI Contributor

  • Offline
  • Profile

Changing a DD instance into a DDProxy

Post Posted: Wed Feb 18, 2009 9:54 am
+0-
Hi all,
A (hopefully) quick question: I'm trying to modify the DragDrop instance that is instantiated during the creation of a draggable panel. However, after looking at the source, it appears that it's hard coded to being YAHOO.util.DD.
Is there any way, short of instantiating another object and replacing the dd property, of changing the existing instance to use a proxy?

Thanks in advance :)
Nate Cavanaugh

Dav Glass

  • Username: davglass
  • Joined: Thu Aug 28, 2008 9:28 am
  • Posts: 2088
  • Location: Marion, IL, US
  • Twitter: davglass
  • GitHub: davglass
  • Gists: davglass
  • IRC: davglass
  • Offline
  • Profile

Re: Changing a DD instance into a DDProxy

Post Posted: Wed Feb 18, 2009 1:42 pm
+0-
Nate --

This example should help:
http://blog.davglass.com/files/yui/panel9/

Nate Cavanaugh

YUI Contributor

  • Offline
  • Profile

Re: Changing a DD instance into a DDProxy

Post Posted: Wed Feb 18, 2009 1:52 pm
+0-
Dav,
You rock! Thanks a ton. You are seriously making my entry into YUI a very smooth one, and I seriously appreciate it.

Thanks a bunch!
Nate Cavanaugh

Dav Glass

  • Username: davglass
  • Joined: Thu Aug 28, 2008 9:28 am
  • Posts: 2088
  • Location: Marion, IL, US
  • Twitter: davglass
  • GitHub: davglass
  • Gists: davglass
  • IRC: davglass
  • Offline
  • Profile

Re: Changing a DD instance into a DDProxy

Post Posted: Wed Feb 18, 2009 1:54 pm
+0-
No problem, always glad to help..
  [ 4 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum