| Page 1 of 2 | [ 15 posts ] | Go to page 1, 2 Next |
|
Whole Subject:drag and drop problem, events not active until i drag and drop another element
Hello people. I am using http://developer.yahoo.com/yui/examples ... order.html this example. I have inserted some tags inside the li.Some of them have onmouseover.The problem is that if i drag and drop a li then the events doesn't work. I have to drag and drop another element(anyone it doesn't matter) and then the events are working again. Any ideas please? Thank you in advance. |
|
Can you post a link to some sample code?
|
|
hello and thanks for replying.
i have attached the html file plus 3 pictures that i use. http://rapidshare.com/files/284461475/dash.rar.html Mouse over and out the yahoo developer network image. Then dnd the image.You will see that the events don't work. Try to dnd another li.Or even move it so it will come back in its original place. Then you will notice that the events of the ydn image work again. Thanks again. |
|
any ideas?
|
|
Hi,
I used more than 1 uploaders in one page. It worked fine. regards, Bill |
|
thanks for replying.did you check my example?
|
|
The mouseover works for me. However, your mouseover is defaulted to on instead of off, so the edit images show up in the header until you mouseover the image and mouseout again. Then they disappear. So I'm not totally sure of the problem. Can you verify and give me a step by step repro..
|
|
Let me explain the problem.
Open http://www.interworks.biz/temp/dash.html List 1 contains an image. http://www.interworks.biz/temp/scr.jpg It is a screen of Ultraedit(it's an editor). Mouseover is working just great. Now drag and drop this picture to List 2 for example.In doesn't matter where.Just move it via drag and drop there. Then check that the mouseover-mouseout doesn't work. If you try to drag and drop any other element and then go again in the image ,you will see that the events work again. Please let me know if you didn't understand it so i will explain it better. |
|
I have no idea why that is happening, try removing the DOM1 onmouseover and onmouseout from the HTML and add it via DOM2 events with the Event Utility:
Code: YAHOO.util.Event.on('achart1div', 'mouseover', overfoto); YAHOO.util.Event.on('achart1div', 'mouseout', fotoout); |
| Page 1 of 2 | [ 15 posts ] | Go to page 1, 2 Next |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group