Are you using TurboGears?  If so, this link will take you to a page
with sample code.  The link is for MochiKit 1.3.1.

http://svn.mochikit.com/mochikit/branches/MochiKit-1.3.1/examples/draggable/

You can check the version of MochiKit by opening MochiKit.js (usually
lives in /python24 directory somewhere) and the version number will be
at the very top.

Hope this helps.

-Steve






On Mar 16, 7:53 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Hi , I am very new to this whole toolkit thing... I was writing
> javascript from scratch and now came across tollkits... i really have
> a problem getting my head around it... can someone explain to me in
> easy steps how I can for example implement a drag and rop on a
> div .... the way I can THINK it shouls be done is...
> <html>
>
> <head>
> <title></title>
> <script language="javascript" type="text/javascript" src="js/
> Base.js"></script>
> <script language="javascript" type="text/javascript" src="js/
> Iter.js"></script>
> <script language="javascript" type="text/javascript" src="js/
> Color.js"></script>
> <script language="javascript" type="text/javascript" src="js/
> Visual.js"></script>
> <script language="javascript" type="text/javascript" src="js/
> Signal.js"></script>
> </head>
>
> <body>
> <div id="mydrag" style="background-color:black;width:100;height:
> 50;">Mike</div>
>
> <script language="javascript" type="text/javascript">
> new Draggable('mydrag');
> </script>
>
> </body>
>
> </html>
>
>  I might be very very far from the "truth" so .... any suggestions???


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to