Okay, after testing a whole bunch of things the code doesn't seem to
work possibly because of:

nested divs?
images being included in the divs?

I tried dumping all my css styles except for .draggable and it still
doesn't work. Also I made a little red box that DOES work with this
code:
<div class="draggable" style="background-color:red; width:200px;
height:200px;">Test</div>

So It doesn't seem my CSS is throwing it off.

In the event PHP was throwing it off I copied and pasted the code the
PHP would generate onto a test page and tried it. The result is the
same. Nada. The red box moves, but the badge in the code above does
not.



On Feb 23, 10:32 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> BTW, I'm on a Mac using FF (Mac) 2.0 and Safari 2.0.4. I'm currently
> running on a virtual host. This code is not working on either Safari
> or FF for Mac.
>
> The divs are being generated by a PHP include(), but that shouldn't
> cause problems should it?
>
> On Feb 23, 10:23 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> > I have. I've checked to see if the files are loading and everything,
> > and they are. I've also added everything from MochiKit to the page
> > header, including DragAndDrop.js. Still nothing.
>
> > As for the error:
>
> > Error: dojo is not defined
> > Source File: /__package__.js
> > Line: 1
>
> > This could be the issue, but I don't recall needing __package__.js for
> > what I'm trying to do.
>
> > On Feb 23, 8:37 am, "Matthew Kwiecien" <[EMAIL PROTECTED]> wrote:
>
> > > It looks like everything should work properly. Have you tried including 
> > > this
> > > line on your page yet?
>
> > > <script type='text/javascript' src='DragAndDrop.js'></script>
>
> > > What errors do you get in the js console?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to mochikit@googlegroups.com
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