So i have aquired my data from a external source, plaed it within a function and have it in a state which i can define it with JS variables. URL for images, some text strings, etc...
Now i have an fully designed site with filler images and ipsum text that was all for the design process.
How do i now replace the images via the js variable containing the url for the images and the text etc....
But this seems to show a second of the original image before replacing it with the queried new image...
Would i build the entire section of HTML code into document.write commands and insert the JS variables in that mannor?
what exactly is best practice for this? and of course most seamless for the end user.
So... Methinks you need to come up with a way to make your page look good for those few seconds it takes to do the processing.
The images are there as... i guess you would call them stock images mearly placed for the design and layout aspects. I removed them and the without seeing the images change and instead seeing the images appear a brief moment after the page loads is almost acceptable... if even noticable if i wasent staring directly at it like the person who just made a change to it.. lol
if the JSON request drags out and there is a longer delay... i guess i can aquire a loading image or something of the sort as xelawho recommended.
thanks again for the help
|All times are GMT +1. The time now is 12:39 AM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.