Welcome Guest, Not a member yet? Register   Sign In
I have the weirdest ajax problem ever. (jQuery)
#1

[eluser]loathsome[/eluser]
Hello there,

Check it out: http://zorg.no-ip.org/mindmonkey/post-online/
I'm creating a drag and drop system, so you can easily delete content. It looks like it works all right, but ONLY for some random entries (in this case the first one and "Controller system has been rewritten."). Drag and drop those to the trash can and see for yourself.

I have NO idea what causes this. The related javascript file can be found here:
http://zorg.no-ip.org/mindmonkey/post-on...in_edit.js

I'd really appreciate some help on this!
Thanks!
#2

[eluser]Bramme[/eluser]
Everything seems to be working for me. But even if it wasn't. This a CI community. Your problem has NOTHING to do with CI. I suggest you post your problem on the google groups jquery account...
#3

[eluser]richthegeek[/eluser]
Nice that you are so friendly Bramme..

In Firefox 3.01 / Ubuntu 8.04 it works intermittently, either not at all (as described) or for most elements but the drop on some elements doesn't work if you drop the hand on the bin, you have to move it over a bit, so the hand is in the "What's up" bit..

Perhaps add some highlighting to the recycle bin (opacity based?) so that there is a visual clue as to when it will work.

Also, how are you calculating the collision with the bin? The mouseup event position within a certain distance of the bin?

Perhpas use the jQueryUI drag/drop?
#4

[eluser]Bramme[/eluser]
I'm sorry if I came over unfriendly. It's just that with a problem like this, I think loathsome would get much better and quicker answers at the google group, instead of here...

Even though jQuery is immensely popular and there's bound to be some people here who know it, this is still a PHP based community. I'd think you'd be better off asking JS questions in a JS community...
#5

[eluser]loathsome[/eluser]
What makes you say so, Bramme? I quote from the front page:

Quote:Use the forum to discuss anything related to programming and code development.

If this isn't related to programming or code development, I dont know.

@php_penguin: Thanks for your reply, I'm investigating it now. It seems like there are some troubles width the float and/or the width of each h4 Smile By the way, this IS the jQueryUI drag/drop.
#6

[eluser]thinkigniter[/eluser]
Try changing your doctype from

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
        "http://www.w3.org/TR/html4/strict.dtd">

to

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

and see if that makes a difference




Theme © iAndrew 2016 - Forum software by © MyBB