RE: Help me with my new website!
December 8, 2018 at 3:31 am
(This post was last modified: December 8, 2018 at 3:42 am by bennyboy.)
That looks MUCH more like a modern browsing experience, and the script looks really nice and clean. It scales nicely with browser size, as well.
You've used almost the exact same system as I use for my slideshow app-- preload all images in hidden divs, then use js to choose which to show.
If you really want to minimize bandwidth, then you could consider the following:
1) Make special downsized thumbnail images (I noticed you used fullsized images for them).
2) Have a single div for your main image window, and just change the src when a thumbnail is clicked, i.e. load each full-sized image only on demand.
For overall smoothness and coolness, the way you've done already is perfect. But for absolute maximum bandwidth saving, you could probably reduce it down to just a couple hundred kilobytes / visit unless someone chooses to click on all the slides.
I'm curious though: why do you build your slideshow divs directly in javascript, rather than in server-side markup? Are you using some kind of client-side programming tool that does that automatically?
But anyway. . . good job.
PS your home looks very nice. I'm sorry you have to sell it, but I'm glad you are trying to follow your dream!
You've used almost the exact same system as I use for my slideshow app-- preload all images in hidden divs, then use js to choose which to show.
If you really want to minimize bandwidth, then you could consider the following:
1) Make special downsized thumbnail images (I noticed you used fullsized images for them).
2) Have a single div for your main image window, and just change the src when a thumbnail is clicked, i.e. load each full-sized image only on demand.
For overall smoothness and coolness, the way you've done already is perfect. But for absolute maximum bandwidth saving, you could probably reduce it down to just a couple hundred kilobytes / visit unless someone chooses to click on all the slides.
I'm curious though: why do you build your slideshow divs directly in javascript, rather than in server-side markup? Are you using some kind of client-side programming tool that does that automatically?
But anyway. . . good job.
PS your home looks very nice. I'm sorry you have to sell it, but I'm glad you are trying to follow your dream!