Hi, Matt...no offense taken whatsoever..(not enough time or energy to be wasted in this world by taking offense at needing or getting help or an ego that prevents me from realizing or getting the help I do need!)
Anyway..I figured out what the problem was...and you're right that it's not the javascript that's handling the new window, it would be the "a href" tag, the HTML. (I think that's an accurate view) The problem came when the HTML was rendered with a space before the Target="_blank" part. The browser was making it <a href="http://www.fl.living.net/idxfirm/3087550"%20Target="_blank" ...> As soon as I removed the blank space before Target, 3087550"Target="_blank", it worked fine...not sure why but at least it solved the problem. The space doesn't affect other links using the space before Target="_blank", but it does keep this one from opening a new window. Thanks for the work on the code...I'll keep that hand for future use. Rick -----Original Message----- From: Matt Williams [mailto:[EMAIL PROTECTED] Sent: Saturday, November 04, 2006 12:27 AM To: CF-Talk Subject: Re: JS Rollover Not Opening New Browser Window Rick, I don't mean to offend in any way, but you did say your javascript was generated. Honestly I don't see how your javascript does anything. Here's a simple example of how you can do a link with an image. When you mouse over the image, it changes to the 02 version of the image. When you mouse off, it goes back to 01. When you mouse over the image and click on it, it will first change as described above based on the onMouseOver javascript event. The <a href> tag handles opening the link in a new window (based on target="_blank"). The main difference in what I have here is that the onMouseOver and onMouseOut event calls are in the <img> tag, not the <a href> tag. Also the "this.id" part is case sensitive, so this.ID won't work. <script type="text/javascript"><!-- function switchImage(imgID, imgSrc) { document.getElementById(imgID).src = imgSrc; } //--></script> <a href="http://www.fl.living.net/idxfirm/3087550" Target="_blank"> <img id="PictureRollover36" height="21" width="170" src="./Florida_Properties_01.jpg" border="0" alt="" onMouseOver="switchImage(this.id,'./Florida_Properties_02.jpg')" onMouseOut="switchImage(this.id,'./Florida_Properties_01.jpg')" /> </a> Hope this helps. Matt ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259161 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4