Thanks Alex. Where would I add event.stop? I have onclick="blah(); return false;" in the link element so that href is not followed. However, the problem only exists when I drag from a link, and the problem also only exists when I have content iframed in.
I found a post that talks about how iframes can screw up events in IE7 so that is where I am now. http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.inetexplorer.scripting&tid=fbd55f3a-e908-4a08-a932-e741f99ab752&cat=&lang=&cr=&sloc=&p=1 On Dec 15, 1:58 am, "Alex Mcauley" <[email protected]> wrote: > perhaps it is trying to fire the default clicking for the href .... try to > substitue the href for a span or somehting and see if it stops it ... if it > does then you need to add an event.stop to stop the default behaviour of the > href element > > Regards > Alex > > ----- Original Message ----- > From: "Tony Amoyal" <[email protected]> > To: "Prototype & script.aculo.us" <[email protected]> > Sent: Monday, December 15, 2008 9:33 AM > Subject: [Proto-Scripty] Re: scriptaculous draggable bug in ie7? > > Update: > This only seems to happen when I have content iframed into the page > > On Dec 12, 5:31 pm, Tony Amoyal <[email protected]> wrote: > > I have a draggable div, in the example below it is > > "song_list_item_239368_0". > > > <div style="position: relative;" class="song" > > id="song_list_item_239368_0"> > > <div class="play_button"></div> > > <div class="song_info">Atlantic City> by <a href="/artist/2999" > > id="artist_link_239368" onmousedown="mouseDownOnLink(this);" > > onmouseup="testOnMouseUp(this);">Bruce Springsteen</a> > > </div> > > </div> > > > As you can see, there is a link inside the draggable div. In IE7, when > > I mouse down on the link and start dragging, sometimes the draggable > > freezes and it is not until my mouse is up that it comes back to the > > cursor. At that point I can drag it without my mouse down which is not > > the experience I want. Also sometimes when it freezes my cursor turns > > into a circle with a line over it (think of the no smoking signs). > > > This seems like a bug in scriptaculous. Has anyone else experienced > > this issue? My guess is that some event is causing this but I have > > been having trouble figuring this out because it does not happen 100% > > of the time I drag. I have done some SERIOUS debugging on this issue > > and could use a fresh perspective. Thank you! > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---
