[jQuery] Re: basic jQuery/JavaScript pattern

2009-07-01 Thread harryhobbes
Excellent explanation. Thank you. On Jun 23, 8:28 am, Scott Sauyet wrote: > jerome wrote: > > (function(){ > > ... > > })(); > > > How is this basic to understanding how jQuery works, and how > > JavaScript works? > > The basic idea is that global variables are evil.  This technique moves > what

[jQuery] Re: jQuery timing out on page load

2008-11-27 Thread harryhobbes
you sure you don't have any javascript > > code on these pages? > > > On Nov 11, 3:01 am, harryhobbes <[EMAIL PROTECTED]> wrote: > > >> Hi, > > >> I've got jQuery loading by default on my site. The library is only > >> used on some

[jQuery] Re: jQuery timing out on page load

2008-11-26 Thread harryhobbes
Unfortunately that is not a feasible solution. The site will eventually use jquery quite heavily and I cannot run a script to determine if the page will need the jquery library or not. On Nov 11, 9:39 pm, Dodi Rahmaninoff <[EMAIL PROTECTED]> wrote: > Is the web is in php? if it is, why don't you

[jQuery] jQuery timing out on page load

2008-11-11 Thread harryhobbes
Hi, I've got jQuery loading by default on my site. The library is only used on some pages in my site, however when I load a page that isn't using jquery (but still loading the file in the html header) Firefox pops up with a warning that jquery is timing out. Any suggestions? Cheers