Hello,

I'm new to MochiKit in a Turbogears environment and was wondering if
someone might have some tips on how to get the Draggable Box Signal
example working?

I've read through the docs here:

http://www.mochikit.com/examples/draggable/index.html

Moved the appropriate code into my environment and I keep bombing on
this line in draggable.js:

getElementPosition(Drag._target));

the js console tells me that getElementPosition is not defined.

After some reading I added MochiKit.Style.getElementPosition and now
MochiKit.Style has no properties ?

I'm a little turned around as to where I should be debugging and
such.  I'm fairly certain I have the signal example styles set and
called correctly in my code like this:

<DIV class="draggable red" style="left: 120px;">TEXT</DIV>

and my css:

.draggable
{
    color: white;
    cursor: move;
    font-size: 25px;
    height: 100px;
    line-height: 100px;
    position: absolute;
    text-align: center;
    top: 200px;
    width: 100px;
}

.red { background: red; }

Sorry that this message is a bit dis-jointed I'm not sure what to try
next.

Thanks all!

-Steve


--~--~---------~--~----~------------~-------~--~----~
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