Re: Odd JavaScript/Ajax behavior with 1.1.2

2008-02-01 Thread markdionne
I tried out the unofficial "smooth animation" version of IUI at: http://iui.googlecode.com/svn/branches/TRY-smooth-animation/iui/iui.js and it is a great improvement. The scrolling is a lot smoother. BUT, I found that when scrolling backward from a very large page, sometimes the scroll would hang

Re: Odd JavaScript/Ajax behavior with 1.1.2

2008-01-28 Thread Steve Finkelstein
Thanks a lot for the reply, it is appreciated. :-) I'm starting to get curious if it's worth my time to pick up my Java again just to explore GWT for future development. For desktop based applications I usually just pick up Ext/jQuery or Prototype for cross browser quirks. Seems GWT is exploding

Re: Odd JavaScript/Ajax behavior with 1.1.2

2008-01-26 Thread Peter Blazejewicz
hi Steve, althouhg I'm using gwt as well I know iui really well: window (viewport) scroll based iui slide is already in iui sources from some time (not in official release but within svn repository): http://iui.googlecode.com/svn/branches/TRY-smooth-animation/iui/iui.js it could save you some tim

Re: Odd JavaScript/Ajax behavior with 1.1.2

2008-01-24 Thread davidroe
an example of both cloning elements and smooth scrolling can be found at iphone.facebook.com/all.js - in general, you will discover that there is no documentation for any of this and you will have to figure it all out by reading source code, either IUI or other. for cloning, just try: var d = doc

Re: Odd JavaScript/Ajax behavior with 1.1.2

2008-01-24 Thread Steve Finkelstein
David, Your advice is some of the best I've come across on these boards. Would it be okay to ask you for any examples which include this clone technique you've discussed above? Also window scrolling versus iUI version of scrolling.. I'm a bit confused in that respect as to the differences betwe

Re: Odd JavaScript/Ajax behavior with 1.1.2

2008-01-24 Thread davidroe
- YMMV with iui, if you use it out of the box, you can create a generic application quickly, if you want to change how it works, you have to continue from there onwards. animation is done by tweaking the style and can lead to less-than-smooth transitions. even Joe changed the technique in the FB a

Re: Odd JavaScript/Ajax behavior with 1.1.2

2008-01-18 Thread Steve Finkelstein
Hi David, Thank you for the elaborate reply. It is quite annoying that the execution of JavaScript randomly does not occur. It's gotten to the point where I have to re-design/re-prototype my entire application because I couldn't figure out why it was happening. I'm going to try this time around wi

Re: Odd JavaScript/Ajax behavior with 1.1.2

2008-01-12 Thread davidroe
On Dec 28 2007, 8:09 am, "Steve Finkelstein" <[EMAIL PROTECTED]> wrote: > It's almost as if the JavaScript never gets called. I slide a hidden div into > view, > and make an XHR call to draw my HTML. I'd say 7 out of 10 times, it will draw > the rest of the div. At least 3 times no POST request

Re: Odd JavaScript/Ajax behavior with 1.1.2

2007-12-28 Thread Steve Finkelstein
You know, after checking access logs on the server-side, I've noticed intermittently -NO- POST requests are being made to the server. It's almost as if the JavaScript never gets called. I slide a hidden div into view, and make an XHR call to draw my HTML. I'd say 7 out of 10 times, it will draw the

Re: Odd JavaScript/Ajax behavior with 1.1.2

2007-12-28 Thread Steve Finkelstein
Yes, the rest of the HTML is being echoed back from the server in an XHR object. I did setup an onFailure callback with alerts, and it triggered at odd intervals. Certainly not consistently otherwise I'd say something is blatantly wrong with my code. Why it fails would be really key to figuring ou

Re: Odd JavaScript/Ajax behavior with 1.1.2

2007-12-28 Thread ∞ | millenomi
On Dec 27, 8:24 pm, "Steve Finkelstein" <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm experiencing intermittent oddities with my JS on an application I'm > currently working on. Essentially, I have a hidden div that gets put into > the viewport based on a click action. It looks a little somethin

Odd JavaScript/Ajax behavior with 1.1.2

2007-12-27 Thread Steve Finkelstein
Hi all, I'm experiencing intermittent oddities with my JS on an application I'm currently working on. Essentially, I have a hidden div that gets put into the viewport based on a click action. It looks a little something like this: Edit Patient Once that comes into play,