I have an object:
function myObject(e){
connect(document, 'onclick', this.someFunction);
}
myObject.prototype.someFunction = *STUFF*
The object is initialized as the onClick action of an HTML Input
element:
connect(myInput, 'onclick', function(e){var myObjectInstance = new
It would also seem to be an issue with nested divs. I'm working on
redesigning the gallery to work with fewer divs.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"MochiKit" group.
To post to this group, send email
Got it. The images are preventing the box from dragging. Now I know
there has to be some sort of solution to this because I know I've seen
folks use this code with images. Any know how. Alas, I don't know
javascript.
On Feb 23, 12:31 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Okay, afte
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:
Test
So I
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
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
It looks like everything should work properly. Have you tried including this
line on your page yet?
What errors do you get in the js console?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"MochiKit" group.
To pos
Here's draggable.js:
/*
Drag: A Really Simple Drag Handler
*/
Drag = {
_move: null,
_down: null,
start: function(e) {
e.stop();
// We need to remember what we're dragging.
Drag._target = e.target();
/*
There's no cross-browser way t
On click event of a button I am dynamically creating a form. Form has
a calendar date picker in it. Can I some how use turbogears
calendarDatePicker widget in this case?
Regards
Roopesh
--~--~-~--~~~---~--~~
You received this message because you are subscribed to