Building the site in FW and managing it with Perch is no problem and pretty straightforward.
The problems comes when displaying the avatars. They want to reach 1 million sales (proceeds going to charity), but I feel having a page with 1 million call backs to the servers is going to be too much.
So my question is, if I am able to get everything working, is there a piece of javascript available that can be applied to the page so that only the avatars in view are displayed rather than everyone loading?
Wow when did 1999 come around again? I can’t believe this “million dollar
homepage” idea has clawed its way back from the depths of web history.
On your problem though, the simple solution is pagination is it not? Even a
thousand calls on a page and your gonna get dumped by the host - let alone
a million. By the way, avoid getting the purchaser to host their own
content and displaying it with iframes (as is often done) as its wide-open
to major abuse such as.
You really want to run that amount of javascript on the page - that’s
client side processing remember, what if I am on a tablet - you’ll hang my
browser.
My advice, it’s not a job for FW so don’t reinvent the wheel as there are
numerous scripts out there to do this already and they are well-tested -
many of them free such as http://www.tufat.com/s_milliondollarhomepage.htm
I have a client who want to build a site like this: BUYACREDIT.COM
Building the site in FW and managing it with Perch is no problem and
pretty straightforward.
The problems comes when displaying the avatars. They want to reach 1
million sales (proceeds going to charity), but I feel having a page with 1
million call backs to the servers is going to be too much.
So my question is, if I am able to get everything working, is there a
piece of javascript available that can be applied to the page so that only
the avatars in view are displayed rather than everyone loading?
The principle you are looking for is called Lazy-loading, if you’re googling for it. Here’s an Action (apply it to the page) that will manage this for you.
Building the site in FW and managing it with Perch is no problem and pretty straightforward.
The problems comes when displaying the avatars. They want to reach 1 million sales (proceeds going to charity), but I feel having a page with 1 million call backs to the servers is going to be too much.
So my question is, if I am able to get everything working, is there a piece of javascript available that can be applied to the page so that only the avatars in view are displayed rather than everyone loading?