[thelist] <iFrame></iFrame> question

Hershel Robinson hershelr at netvision.net.il
Fri Feb 7 08:19:12 CST 2003


> <IFRAME name=suite_title
> src="javascript:changeImage('image')" border=0
> height=50 width=200></iframe>

I don't know for sure but I think you can't do that no.

> Its throwing a javascript error. If i leave javascript: off
> and when I view
> source, it reads:
>
> <IFRAME name=suite_title src="changeImage('image')" border=0 height=50
> width=200></iframe>

Why don't you just have an onload or onWhatever function and in that
function do:

document.suite_title.location=changeImage('image')

Just be sure that changeImage is returning a file name, not something else.
:)

Hershel




More information about the thelist mailing list