I am looking to create a site composed of different panels.
Let’s say we have 4 panels. Each panel takes up the whole screen at a given point in time, and looks something similar to this
--------------------------------
| home || about |
| a menu || a menu |
| || |
--------------------------------
--------------------------------
| contact || jobs |
| a menu || a menu |
| || |
--------------------------------
Let’s say I now click on the “jobs” link through the home page.
I’d like the screen to scroll with an animation vertically, to the bottom right hand corner of the container that contains all the items.
This is not that much of a problem, and I am aware I can achieve that with a plugin such as ScrollTo.
Now imagine that instead of just 4 pages, I have 16.
This plugin can easily be scaled, but since so many elements exist on the page (each panel contains images, text, menu, titles, etc…), the site slows down substantially.
I can resolve this problem when I am already on a given page, by hiding all the other pages — but how can I handle all the elements while animating from one panel to another?
Any ideas for implementation?
Thank you!
2Cents:
e.g. State before (0,0) -> (2,2). Hidden panels without a label.