View Full Version : load random html file into a div

10-07-2010, 10:22 PM
That's right, I want to load a random html file from a list into a another div. Does anyone knows any example, please? It would be very helpful.


11-04-2010, 02:12 PM
You havent provided much info about whether you want a php or javascript based code, or whether the content is to load randomly on page-load or at the click of a button, but assuming that you can use php and random page-load content switches will do, you can use this solution that I posted in another thread earlier today: http://www.dynamicdrive.com/forums/showthread.php?t=58272

(use the php includes option at the bottom of my post)