random image change...

is there any way to randomly change images and details about that…

when i hit the refresh page…?

i am referring something similar to http://www.techstore.co.uk

any help…please…

Yes there is probably several ways. Depends on how you storing the information.

If you use a database you could run a loop and random generate a number each time and then select a product based on its ID using that number.

Or you could generate 1 number and use that as a starting point in the database and use the limit function to only return a certain amount of products.

There may be other and better ways of doing this, but those I am sure with the correct checks in place could work fine.

thanks for the reply first…

is there any sample codes that i can refer…?

if so please let me know…

thanks again.

I am sure you could find some using hotscripts.com, but just be aware that we don’t usually support any 3rd party script. If you create something yourself and get stuck, more than happy.

It’s not that we WON’T help with 3rd party scripts that you might be modifying, it’s just we don’t respond well to the

Which happens far too often.

Rather you would do better FIRST getting support from the site from which the script came, as those users are probably more familiar with the script and it’s possible issues. If that doesn’t work, you should describe the problem completely and thoroughly, what you have tried to do to resolve it, and the results.

Even still some will still not help but others will. I Guess our credo here is to help you help yourself. We will show you how the tool works, but we will not build your house.

I use the Random Image Rotation by Dan Benjamin. Petite, neat, and sweet. Even Zeldman uses it!

Available here: http://www.alistapart.com/articles/randomizer/[/i]

Thanks for the advices and reply…

hope i could do better…

Sponsor our Newsletter | Privacy Policy | Terms of Service