View Full Version : open image in IFRAME instead of NEW WINDOW from scrolling thumbnails

05-06-2007, 12:40 PM
Below is a piece of the script for a vertical scrolling slideshow version I am working on. In this version, I want an image "pic3.jpg" to open in an IFRAME instead of in a new window. Coding the Iframe itself is not an issue. Getting the scroller script to put the image in the iframe is another story. ANY IDEAS?
original coding below (partial)...
<script type="text/javascript">


["pic1.jpg","pic1.jpg","Alt Text"],
["pic2.jpg","pic2.jpg","Alt Text"],
["pic3.jpg","yourpage.htm","Would like this to open in Iframe"],
["pic4.jpg","pic4.jpg","Alt Text"],
["pic5.jpg","pic5.jpg","Alt Text"],
["pic6.jpg","pic6.jpg","Alt Text"],
["pic7.jpg","pic7.jpg","Alt Text"],
["pic8.jpg","pic8.jpg","Alt Text"],
["pic9.jpg","pic9.jpg","Alt Text"],
["pic10.jpg","pic10.jpg","Alt Text"]


dir=1 // 0 = up 1 = down
imageSize=40 // %
fixedWidth=100 // set a fixed width
fixedHeight=100 // set a fixed height

popupLeft= 100 // pixels
popupTop= 100 // pixels


preload=new Array()
for(var i=0;i<myImages.length;i++){
preload[i]=new Image()

function initVS3(){

Mr J
05-06-2007, 06:52 PM
Hello freshair

Glad you like my script, can you tell me if the iframe is going to be a fixed size?

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum