<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hi, </FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I have a link in a image that I want it to change the src for
an iframe and for the image itself, but I'm getting the "Object doesn't support
this property or method" message in IE ( and I'm only worried with this browser
5.0+ ) </FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Here's the code:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>function blahbox() {<BR> if
(document.blahbox.location.href.indexOf("i_blahbox") >= 0
){<BR> document.blahbox.location.href =
"i_emoticons.cfm";<BR> document.btBlahBox.src =
"images/bt_blahbox.gif"<BR> } else
{<BR> document.blahbox.location.href =
"i_blahbox.cfm";<BR> document.btBlahBox.src =
"images/bt_emoticon.gif"<BR> }<BR>}</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>and here's the call for it:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2><a href="#"><img src="images/bt_emoticon.gif" alt=""
name="btBlahBox" id="btBlahBox" width="18" height="19" border="0"
onClick="blahbox();"></a></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>and here's the iframe code:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2><iframe src="i_blahbox.cfm" name="blahbox" id="blahbox"
width="157" height="251" marginwidth="0" marginheight="0"
frameborder="0"></iframe></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Did this make what I'm trying to accomplish clear? I hope so
!</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>TIA</FONT></DIV>
<DIV><FONT size=2>Marcelo Simon</FONT></DIV></BODY></HTML>