Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript creating a directory and grabbing info Re: creating a directory and grabbing info

#129531
JohnMotylJr
Participant

I would suggest to have the images load, preferably use javascript to defer a load until the dom is built that way they will be cached into the browser rather than trying to use ajax to call them depending on what link is hovered. Like chris said, if there is going to be a lot of images then you need to optimize your resources as much as possible.

If you were to go about using ajax just dont forget about using $.Deferred because you can have so much more control, but like i said, i wouldn’t go the ajax route just yet.