Help with Reload vs javascript
#1
Posted 18 February 2013 - 01:07 AM
I am after some advice please.
A number of times I have tried different slideshow javascripts from the web to change the main image on my site.
They all require considerable load times.
I was considering a simple reload of the page after 3 seconds and each time a new image (one of say... 3 images at 65kb each) would show
Does anyone see a downside in this method ?
Cheers
#2
Posted 18 February 2013 - 08:28 AM
Hi.
I am after some advice please.
A number of times I have tried different slideshow javascripts from the web to change the main image on my site.
They all require considerable load times.
I was considering a simple reload of the page after 3 seconds and each time a new image (one of say... 3 images at 65kb each) would show
Does anyone see a downside in this method ?
Cheers
Yeah. The downside is refreshing the entire page when all you want is a slide show.
Where did you find your slide show scripts? Most modern scripts are fast. Also, have you optimized your images? Do they need to be 65kb each?

My rarely updated, incredibly rambing, questionably informative blog || Don't go to w3schools || Using 'global' is a sign of doing it wrong
#3
Posted 19 February 2013 - 02:48 AM
Recent ones are responsiveslides and nivo slider and although they are good they still need up to 91 kb and 30kb of js scripts to run them. Not huge but I think the front page speed is escential. I dont know whether the sides themselves add to this but I would guess so, so 3x60kb 180kb +120kb and it is getting up there.
My images are reduced to the max but unfortunatly they are necessary for the site (ausspecs com au)
If you know a better way I would be most greatful.
Cheers
#4
Posted 19 February 2013 - 09:37 AM
I'm not an expert in mobile development (just getting into it myself), but there are techniques that can help. For example, only showing one image if the display area is a certain size, and injecting the slide show code and dynamically loading the other images if it's above that. This book (http://www.abookapar...sive-web-design) goes into it in detail.

My rarely updated, incredibly rambing, questionably informative blog || Don't go to w3schools || Using 'global' is a sign of doing it wrong
#5
Posted 23 February 2013 - 08:37 PM
http://simplythebest.net/scripts/DHTML_scripts/javascripts/javascript_131.html
Cheers
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users












