Web Hosting Talk







View Full Version : need an opinion


otakatun
12-07-2009, 10:11 AM
Hi there,

I had trouble right now to make a 'spinner' or a loading image progress while an image been load into my site... Actually I had a list of thumbnail images, when user click on it it will show the larger version of it. Currently Im using JS to accomplished that, and it work ok. However when testing in my site(I tested it offline before this), I realised that when ever user click on it, the image didnt show there instead it will just 'POP-UP' which can make people think it didnt work and left the page. Err to see how it work you can view it here: the site.

I had googling around and found about spinner but then it too complicated for me :P. So rite now I need any opinion from you guys, what is the best way to achieve this thing. Im thinking about maybe using a different div and once user click on the thumbnail, it will show the respective div. But then, it might make my page load much slower isnt it?

Thanks in advance guys

HostBill
12-07-2009, 04:16 PM
Uhmm im not sure i get this right but are you looking for sth like this: http://www.huddletogether.com/projects/lightbox2/ (try examples) ?
There are dozens scripts like that over the internet - search for "lightbox".

otakatun
12-07-2009, 04:39 PM
Thanks man, however Im prefer something when you clicked on the image thumbnail, the larger version image at another position/div will change accordingly... However, if I cant get something like that gonna use the script you mention... already downloaded the files. Thanks again mate, your helping me HostBill

P/S: didnt have much post to use VBCODE and link

N1CK3RS0N
12-07-2009, 05:47 PM
Thanks man, however Im prefer something when you clicked on the image thumbnail, the larger version image at another position/div will change accordingly... However, if I cant get something like that gonna use the script you mention... already downloaded the files. Thanks again mate, your helping me HostBill

P/S: didnt have much post to use VBCODE and link

The one he linked to is probably the best around. I just used it on a site I had to do. :)

mochadelight
12-08-2009, 03:29 AM
if you are scared of lightbox, you could use the codebase it rests on. Check out: http://jqueryui.com/

otakatun
12-14-2009, 11:19 AM
thanks all... no doubt the lightbox that HostBill mention is the best and easy to use(I though the code need to be edit) again thank you very much HostBill