When are you using too much javascript

DotCom

New Member
I writing a video site and it involves a high amount of organization. I found it to be easy to categorize types of videos under one main title in collapsible panels on the home page.

The home page already has
- 2 tabbed panels
- (and will have) 6 collapsible panels

each collapsible panel (title) will have 3 topics, each topic will preview 9 videos and will have a horizontal scroll ((which will be JS) the user presses a left or right button to reveal more videos on the topic) Each video will have a lightbox function to it.

I am using the Maxthon Browser for testing because it has a neat little feature that gives you an idea of how much CPU the site is using. It says it is using about 70 - 90% of the CPU.


My concern is that the home page is going to be using too much of the browser and i don't want to slow my user down, especially if they have more than one site open.


I am not using a database for the site.


My questions
- When is too much JS?
- should i consider using a database?


if you didn't understand anything let me know.
 

Private-I

New Member
you could probably test your designs using various browsers. Even if you upload a test webpage people here will be happy to tell you how long it took to load on their browsers.
 

Phreaddee

Super Moderator
Staff member
you are using too much javascript when it is not helping aiding or benefitting the site.
 

chrishirst

Well-Known Member
Staff member
And a database won't make any difference to the clientside processing required, unless you plan to use AJAX methods for loadng the data.
 
Top