sortable issue with google gadgets
sortable issue with google gadgets
--- if you know what google gadgets are, you can skip this part of my
message ---
Google lets you add its iGoogle gadgets to your webpage. To do that
you have to add a script tag to your html. If you go to
http://www.google.com/ig/directory?synd=open
you can choose one of the
available gadgets on their directory.
For example, I chose this one:
http://gmodules.com/ig/creator?synd=open&url=http%3A//www.google.com/ig/modules/datetime.xml&pt=%26context%3Db%26synd%3Dopen%26lang%3Den%26.lang%3Den%26country%3Dus%26.country%3Dus%26cat%3Dall%26num%3D24%26start%3D0%26cols%3D4%26objs%3DOVJ%2CFoc%2CUQJ%2C6aZ%2CXtm%2C33G%2Cjyq%2CpV%2CRB%2COUg%2Cw%2Cc17%2CgP1%2CFrT%2COC%2CpFi%2C7Wu%2Cs%2Cevi%2CUvgp%2CWXnd%2CbZ3%2CUAc%2CAgg&sn=w&lang=en
After filling the gadgets preferences, you can click on "Get the
Code" and it provides this script tag:
<script src="
http://gmodules.com/ig/ifr?url=http://www.google.com/ig/
modules/
datetime.xml&up_color=blue&up_firstDay=0&synd=open&w=320&h=136&title=__MSG_title__&lang=en&country=ALL&border=
%23ffffff%7C3px%2C1px+solid+%23999999&output=js"></script>
---- The jQuery sortable issue: ----
when adding these google gadgets script tags to a jQuery sortable, the
gadget takes over the whole page when I try to drag it.
I suspect that this has some relation to the fact that we are dealing
with script tags. When the script node is reparented, the script runs
again. I guess that somehow, the sortable implementation , when
manipulating the DOM, allows for this to happen.
Can anybody here take a look at the sortable implementation and check
whether I am right about this bad behaviour when dealing with scripts?
thanks,
Juca
Topic Participants
info
Paul Bakaus