[Proto-Scripty] Re: IE8

2010-02-15 Thread gwyohm
hi, why not using prototype cross-browser document.viewport methods ? document.viewport.getHeight() On 13 fév, 14:32, bill wrote: > On 2/13/2010 8:05 AM, Alex McAuley wrote:> you dont need the quote before > hand ... > > $('leftPane').style.height = '' + ((.99 *ah)-20 ) + 'px';  //<<< > is line

[Proto-Scripty] Scope problem with prototype

2010-02-15 Thread huckocs
Hi all, getting stuck with scope, I'm a bit new to javascript so would appreciate the help! I'm attempting to loop through each and get the highest in each , then set the height of the to the highest . The problem is that its looping through and getting the highest in the window.object and ap

[Proto-Scripty] Ajax Updater running from a DVD under IE8

2010-02-15 Thread Walter Lee Davis
I have a site that gets distributed on DVD as a "portable library". IE8 users are complaining that an element I am loading into the home page using Ajax Updater is not appearing at all for them. The problem only seems to happen when the site is accessed from the DVD. If you visit the previe

[Proto-Scripty] Re: Scope problem with prototype

2010-02-15 Thread greg
This is my first attempt at answering a question here, so "use with caution"... var max_Height = 0; $$('.ddBox').each(function(dd) { max_Height = Math.max(max_Height, dd.select('ol').invoke('getHeight').max()); }); $$('.ddBox').invoke('setStyle', {h

Re: [Proto-Scripty] error with autocomplete and document.observe('dom:loaded')

2010-02-15 Thread agnese camellini
Hi dan, i'm completely a newbie so i could be wrong, and i'm not familiar with ajax even, only a little with javascript, however, could you for example give an argument the function() on your sixth line? if you do maybe you can select when to start this "loading..." overlay and when not to.. I mean

Re: [Proto-Scripty] Scope problem with prototype

2010-02-15 Thread Michael T. Wescoat
Hi, At first blush, it appears that the use of $$() might be problematic. I was expecting to see something with Element.select(), which is described this way in prototype-160-api.pdf: "This method is very similar to $$() but can be used within the context of one element, rather than the w

[Proto-Scripty] can Request be used to track navigation clicks asynchronously?

2010-02-15 Thread manfmnantucket
Hi all, I'm trying to use Prototype to do asynchronous click-tracking... that is, to log a server record each time a user clicks a link to navigate to another page. I've set the link onclick up to call a simple function which makes an Ajax.Request to send the data without blocking. However usual