Is there any workaround to set objects draggable with jQuery in s60 wrt?
For some reason a simpleis not working (while everything works great in firefox and other desktop browsers)Code:$('#something').draggable();
Thanks
Is there any workaround to set objects draggable with jQuery in s60 wrt?
For some reason a simpleis not working (while everything works great in firefox and other desktop browsers)Code:$('#something').draggable();
Thanks
Best regards,
Dusan
hey powerpixels, no.... JQuery is not fully supported in WRT yet. like some of the fancy effect will actually kill the app.
better way is just use pure javascript codings.
Thanks Wenz,
1. Does anyone know some example code or demo widget of draggable objects that actually works on phones? I've tried with common scripts I've found on google, and none of them seems to work on a phone.
2, Are draggable objects in wrt widgets good option at all? Would it be better to move objects with arrow buttons instead (something like up-down-left-right virtual keyboard?
Best regards,
Dusan
Hello,
Dragging is a bit problematic operation from the browser perspective. Current Symbian WRT touch devices does not support dragging as dragging gesture is interpreted as page scrolling.
-Ilkka
Hello again,
This time I have some good news. I just prove myself wrong about this matter. There was one previously undocumented feature that allows you to get mousemove events and thus enable dragging.
Adding following lines will enable draggable support and at least the jQuery draggable example works now. For now I can say that at least browser 7.1 and 7.2 should support this. (tested with 5800xm, N97 and N8)
http://wiki.forum.nokia.com/index.ph..._touch_devicesCode:widget.setNavigationType("none"); document.body.style.webkitUserSelect = "none";
Happy hacking
-Ilkka
Ilkka this is so cool!
I have just tried it on the google maps sample and it works like a charm
Tested on a X6 device.
Thanks!
Mario