[Proto-Scripty] dom:loaded & exceptions

2009-08-06 Thread Nicolas Terray
--- I expect the excepetion being raised during the load of the page. However it is caught somewhere and I don't get any excpetion. snif :( Is something wrong? Is there any workaround? Thanks, Nicolas Terray --~--~-~--~~~

[Proto-Scripty] Re: dom:loaded & exceptions

2009-08-06 Thread Nicolas Terray
2009/8/6 Alex McAuley : > In your first code $('toto') does not exist. Yes I know :D My message is not about 'toto' but about exception catched by dom:loaded. I do want my exceptions displayed by the browser. I don't want to add a try{}catch in all dom:loaded --~--~-~--~~

[Proto-Scripty] Re: dom:loaded & exceptions

2009-08-10 Thread Nicolas Terray
2009/8/7 nlloyds : > > On Aug 6, 4:32 pm, mr_justin wrote: >> Don't call a method on an element unless it exists. This is a basic >> defensive coding technique. > > He gets this. His question is about why he does not receive an > exception. I'm not sure, and now that I think about it, I may have

[Proto-Scripty] Re: dom:loaded & exceptions

2009-08-11 Thread Nicolas Terray
2009/8/10 Tobie Langel : > > Relevant FF bug report: https://bugzilla.mozilla.org/show_bug.cgi?id=503244 OK. Thanks :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to

[Proto-Scripty] How to prevent link follow-up in draggables ?

2008-11-05 Thread Nicolas Terray
Hi, I have a div which is draggable: ---8<-- http://example.com";>Drag me! new Draggable('mydiv'); ---8<-- The problem is when the user drags the link. When the mouse button is released, the link is followed which is not the expected behavior. :(

[Proto-Scripty] Drag'n drop and strange z-index issue

2012-05-04 Thread Nicolas Terray
* of the right part, whereas it was not the case at step 1. (tested with IE/Fx/Cr) How could you explain that? How can it be fixed? Thanks, Nicolas Terray -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to