The blocking is an issue, but only if you end up loading more than XXX
number of elements at a time. The specific number is browser dependent.
I think I read somewhere that IE8 and FF3.5 will only load 4 items
concurrently (CSS files, JS libraries, images, etc).
So, the knee-jerk solution
I have seen several examples on jQuery plugin sites that have the
script tag and Javascript within the body and not the head where
I thought it was supposed to go.
It would be better for my content manager and the templating system if
the Javascript *were* in the body but I don't want to be
When doing dynamic sites, you sometimes have no choice but to put the JS
in the body area. My rule of thumb is to use libraries wherever
possible and include those libraries in the head section. But with
the understanding that *sometimes* (though rarely these days) I will
need to put JS into
2009/11/30 breadwild breadw...@gmail.com:
I have seen several examples on jQuery plugin sites that have the
script tag and Javascript within the body and not the head where
I thought it was supposed to go.
It's a matter of performance. Put your CSS as close to the top of the
head as possible,
The following form is used in several plug-ins...
var oGlobalObject;
(function( externalObject) {
... code here, setup properties and methods on externalObject
})( oGlobalObject );
so variable abc is defined as a global object with properties and
methods..
Is the following form equivalent?
Greetings,
I'm writing an accordion effect of some sorts into a new web site I am
developing which utilizes load() to bring in the outside information
into the div that's dropping down when I click a particular link.
I've had to use livequery as well since there is javascript (using the
UI Tabs
I am a fairly new adopter of jQuery, but a long time software
developer. One of the things I really like about the jQuery approach
is a mindset to keep implementations clean and maintainable. Having
said that, it is easy enough to take the unobtrusive paradigm down the
path towards unmaintainable
Hello,
I just have a quick question about jQuery best practices...
I have been wondering for a while now, is it bad practice for me to
make references to objects outside of the block of code they are used
in?
For example, in my master JS file I might have this code
I'm always looking for as loosely coupled a system as practical, and I
have a question about separating HTML from JavaScript (using jQuery).
What's the best way to apply a template, so to speak, to some JS
method? I'm trying to create a button bar for a plugin, and it has to
be loaded in
Hi,
Are there any good practices for how to keep the jQuery scripts (core, ui,
plugins, etc.) organized?
I currently have something like this.
/jquery/jquery-1.2.6.js
/jquery/ui/1.5.2/effects.*.js
/jquery/ui/1.5.2/ui.*.jg
/jquery/plugins/jquery.simple.tree.js
I don't know what exactly makes
I have been wondering where others feel its best to include jquery and
other .js files in the html.
Include it in the HEAD or at the end of the html document just before
you close the BODY tag?
There are arguments for including it at the end of the document so
that the dom is fully loaded by
Wow now that's what I'm talkin about! Well done all! Keep'em coming,
if we haven't covered them already.
cheers.
Joe
On Aug 15, 10:38 pm, Karl Swedberg [EMAIL PROTECTED] wrote:
On Aug 15, 2008, at 8:32 PM, Michael Geary wrote:
From: Michael Geary
It's worth noting the implementation
Did you already check out the documentation section? It's quite
comprehensive.
On Wed, Jun 18, 2008 at 4:28 PM, Estevão Lucas [EMAIL PROTECTED]
wrote:
Hi,
I'd like to know if is there a document, article, or anything that a
can show for the JavaScripts developers here in the company
Hi,
I'd like to know if is there a document, article, or anything that a
can show for the JavaScripts developers here in the company talking
about best practices;
Best regards
Hi.
New to jQuery, and am playing around with it, building a simple list
application in order to learn how to use the Ajax tools.
Currently, a user can add an element to the list, and it is stored in
the database using Ajax and then added to the DOM on the fly.
The next stage is adding delete
15 matches
Mail list logo