Thanks for the reply, Matt...

I've pasted in the entire script and the previous line
of code I sent that references it.

How can I modify this code to include the
window.open function in the HTML?  "function onClick" or something?

(As you can tell, I am *not* a JS coder...this was generated for me)

Rick

<script type="text/javascript"><!--
function onPictureRollover36A3380Over() {}
function onPictureRollover36A3380Out() {}
//--></script>

<script type="text/javascript"><!--
graphic1PictureRollover36A3380 = new Image()
graphic1PictureRollover36A3380.src = './Florida_Properties_01.jpg';
graphic2PictureRollover36A3380 = new Image()
graphic2PictureRollover36A3380.src = './Florida_Properties_02.jpg';
function onPictureRollover36A3380Over() {
document.PictureRollover36A3380.src=graphic2PictureRollover36A3380.src;
}
function onPictureRollover36A3380Out() {
document.PictureRollover36A3380.src=graphic1PictureRollover36A3380.src;
}
//--></script>

<a href="http://www.fl.living.net/idxfirm/3087550"; Target="_blank"
onMouseOver="onPictureRollover36A3260Over(this)"
onMouseOut="onPictureRollover36A3260Out(this)"><IMG ID="PictureRollover36"
HEIGHT="21" WIDTH="170" SRC="./Florida_Properties_01.jpg" BORDER="0" ALT=""
name=PictureRollover36A3260></a>




-----Original Message-----
From: Matt Williams [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 03, 2006 3:47 PM
To: CF-Talk
Subject: Re: JS Rollover Not Opening New Browser Window

What do the js functions - onPictureRollover36A3260Over() - have in
them?  Maybe I don't fully understand what you want, but javascript
isn't going to look at target="_blank". To get javascript to open a
new window, you want something like

window.open('filename.cfm',some,parameters,such,as,width,height,etc)

Matt

On 11/3/06, Rick Faircloth <[EMAIL PROTECTED]> wrote:
> I've got this code.why won't it open a new browser window?
>
> <a href="http://www.fl.living.net/idxfirm/3087550"; Target="_blank"
> onMouseOver="onPictureRollover36A3260Over(this)"
> onMouseOut="onPictureRollover36A3260Out(this)"><IMG ID="PictureRollover36"
> HEIGHT="21" WIDTH="170" SRC="./Florida_Properties_01.jpg" BORDER="0"
ALT=""
> name=PictureRollover36A3260></a>
>
> The Target="_blank" works fine in a regular link, but not in this rollover
> code.
>
> Why?
>
> Thanks,
>
> Rick
>
>
>
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:259141
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to