[Proto-Scripty] YSlow's rule JavaScript at the bottom w/Prototype

2009-09-16 Thread skaiuoquer
Guys, I wonder if you can help me with this; I just had a twenty minute-long discussion with a senior co-worker on the YSlow rule put JavaScript at the bottom--for more information on it, please check out [ http://developer.yahoo.com/performance/rules.html#js_bottom ]. Now, I want to adhere to

[Proto-Scripty] Re: prototype code to load images?

2009-09-16 Thread Christophe Decaux
Zion, I think the following code should help you, I found it sometime ago it is based on this page : http://www.webreference.com/programming/javascript/gr/column3/ Basically, you need to have - an array with url's for your big images such as picSrc[0] = 'images/ big1.jpg'; picSrc[1]

[Proto-Scripty] Re: working with google maps and onComplete

2009-09-16 Thread david
Hi Mark, you could use a script that was just release today, take a look at : http://webreflection.blogspot.com/2009/09/livemonitor-asynchronous-property.html it is a small code that permit to monitor a change on DOM, on Object, ... That's very handy. I thing it is a way you could do. btw, what

[Proto-Scripty] Re: Coding disabled on a link

2009-09-16 Thread david
Hi Arnaud, your pasted code does not work on FF3.5.3. So I modify it this way, it should work on all browser, only test with FF3.5 IE6 :(( Here is your version modified: html head script src=prototype.js type=text/javascript/script /head body script type=text/javascript

[Proto-Scripty] Re: YSlow's rule JavaScript at the bottom w/Prototype

2009-09-16 Thread david
Hi Javier, Alex answer is good, an I will follow his way. But it depend on a few things: - internet / intranet: meaning if response time to load JS files could be long, you should have as your collegue says an amount of time where your application, is not running, but all HTML will be load. A

[Proto-Scripty] Re: Resuming a stopped PeriodicalExecuter

2009-09-16 Thread david
Hi Jojo, if you look at prototype source, you will see that there is a start function on the PeriodicalUpadter -- david On 15 sep, 02:04, JoJo tokyot...@gmail.com wrote: http://www.prototypejs.org/api/periodicalExecuter I noticed that there is no start method of a PeriodicalExecuter.

[Proto-Scripty] Re: YSlow's rule JavaScript at the bottom w/Prototype

2009-09-16 Thread Marko
Hi all, Here is description from YSlow: /JavaScript scripts block parallel downloads; that is, when a script is downloading, the browser will not start any other downloads. To help the page load faster, move scripts to the bottom of the page if they are deferrable. /Isn't that the point why

[Proto-Scripty] Re: YSlow's rule JavaScript at the bottom w/Prototype

2009-09-16 Thread Richard Quadling
2009/9/16 Marko gm.ma...@gmail.com: Hi all, Here is description from YSlow: /JavaScript scripts block parallel downloads; that is, when a script is downloading, the browser will not start any other downloads. To help the page load faster, move scripts to the bottom of the page if they are

[Proto-Scripty] Re: YSlow's rule JavaScript at the bottom w/Prototype

2009-09-16 Thread skaiuoquer
Thanks Alex, David; Marko brought up a point that I forgot mentioning-- out application is not particularly stream-lined, and it's a very heavy, very enterprise-level application. A non-cached medium page on it takes above half a minute to load on T1... That's half a minute where the user is

[Proto-Scripty] Re: YSlow's rule JavaScript at the bottom w/Prototype

2009-09-16 Thread disccomp
..move scripts to the bottom of the page if they are deferrable. I think you should read more into the last word of this quote. If your application is dependent on the javascript for basic functionality then those scripts are not deferrable. If the scripts just added eye candy or some other

[Proto-Scripty] Re: YSlow's rule JavaScript at the bottom w/Prototype

2009-09-16 Thread skaiuoquer
disccomp, Richard, Alex; thanks for your replies. The problem with minified compressed versions is that they will never get cached on the client side. I mean, they will, but you will still be sending them each one of the different combinations--so instead of loading prototype.js once, the user

[Proto-Scripty] Re: YSlow's rule JavaScript at the bottom w/Prototype

2009-09-16 Thread skaiuoquer
Hey, you and me both, brother. We are building the new framework, starting from scratch, so maybe you are right and I am just troubled by the ghosts of the past and this will not happen this time around when we'll be using sane logic to build our code. I hope you are right. *suspense* On Sep

[Proto-Scripty] Re: YSlow's rule JavaScript at the bottom w/Prototype

2009-09-16 Thread Jim Higson
On Wednesday 16 September 2009 14:43:32 skaiuoquer wrote: A non-cached medium page on it takes above half a minute to load on T1... That's half a minute where the user is pretty much waiting for the JS files to download one after the other. Concatenate all files into one in the order that

[Proto-Scripty] From adult google group.

2009-09-16 Thread stinsonkrach13405
For prototype-scriptaculous group members. HD tube adult movies. Sorted by rating of millions users http://www.2watch4.com/redsdkp/includes/db/www/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype

[Proto-Scripty] Re: YSlow's rule JavaScript at the bottom w/Prototype

2009-09-16 Thread DJ Mangus
They do but you'd need to cache each combination of scripts once each. That's a great way to go about it if you require the same scripts on each page, or the landing page requires all of them (and then it'd cache the concat'd and minified version) and you include the lot on each other page no

[Proto-Scripty] IE8 responseXML ?

2009-09-16 Thread Jason Frisvold
Hi, I'm running into a problem with IE8 and responseXML. Code follows : var url = 'http://example.com/myfile.php'; function update_parent() { var root = 1; var myAjax = new Ajax.Request(url, { method: 'get',

[Proto-Scripty] Events not working as expected in opera, ie or any other browser except firefox

2009-09-16 Thread Juan Diego
Hi I havent use javascript and prototype in a while so maybe i am doing something really wrong. So here is what I am trying to do with prototype I have a a few places in my page with a set of to divs divs, lista_izq and lista_der, with a list inside list_izq div class=lista_izq ul lidiv

[Proto-Scripty] Re: Events not working as expected in opera, ie or any other browser except firefox

2009-09-16 Thread Juan Diego
By the way i just found out that var lista_izq=$$('div.lista_izq')[i].childElements()[0].childElements (); is the problem in IE explorer. In opera works but in IE8 is a problem On Sep 17, 12:19 am, Juan Diego juandieg...@gmail.com wrote: Hi I havent use javascript and prototype in a while so