# iFrames within iFrames?

**URL:** <https://forum.kirupa.com/t/iframes-within-iframes/170834>\
**Category:** web dev\
**Created:** [November 29, 2005, 8:00pm UTC](https://forum.kirupa.com/t/iframes-within-iframes/170834 "2005-11-29T20:00:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![thirdworldman](https://avatars.discourse-cdn.com/v4/letter/t/779978/32.png) [@thirdworldman](https://forum.kirupa.com/u/thirdworldman)\
**Post date:** [November 29, 2005, 8:00pm UTC](https://forum.kirupa.com/t/iframes-within-iframes/170834/1 "2005-11-29T20:00:25Z")

</div>

I’ve created a page containing thumbnails representing different sections on my website. I want to use iFrames for each thumbnail instance to randomize the images representing each section. Someone pointed me to a great script at [http://dynamicdrive.com/dynamicindex17/randomiframe.htm](http://dynamicdrive.com/dynamicindex17/randomiframe.htm) which accomplishes just that, but I can only get it to work with one thumbnail on a given page. Is there a trick to getting this particular script working on the same page? Perhaps the answer is to create a separate html document for each thumbnail, apply this script, and then call each file up through individual iframes in the main document? Anyone have any insight?

Thanks!:thumb2:
