Image

Java and Iframes

I've got this code I ripped from the dynamic drive site:

var leftrightslide=new Array()
var finalslide=''
leftrightslide[0]='a href="http://www.some_dumb_page.com" img src="1.jpg" border=1 /a'
leftrightslide[1]='a href="http://" img src="2.jpg" border=1 /a'
leftrightslide[2]='a href="http://" img src="3.jpg" border=1 /a'
leftrightslide[3]='a href="http://" img src="4.jpg" border=1 /a'
leftrightslide[4]='a href="http://" img src="5.jpg" border=1 /a'


And I want the links to open in an Iframe that I've allready declared named strangely enough, iframe. So I thought I'd throw target="iframe" at the end of each line and figured it'd work, nope.

Any help would be greatly appreciated.

(ya i do realize it's lacking <>'s but i took it out for display purposes)