You may need to specify the target window for the second action... in fact
shouldn't it be

document.location.href=

Taz


> Thats a different page, what the script does is load a seperate window and
> then redirect the window which is opening the popup to another
location.....
>
> It seems to work AOK with IE/PC etc, just flakes on the Mac - OSX
>
> -----Original Message-----
> From: Taz -=TT=- [mailto:[EMAIL PROTECTED]]
> Sent: 18 December 2002 10:39
> To: [EMAIL PROTECTED]
> Subject: Re: [ cf-dev ] OT : OSX oddities, javascript
>
>
> In that case it will keep reloading, because of the location.href
>
> window.location.href = "http://www.foo.com";;
>
> It will just keep going round and round. Or is that a different page?
>
> Taz
>
> ----- Original Message -----
> From: "Robertson-Ravo, Neil (RX)" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, December 18, 2002 10:31 AM
> Subject: RE: [ cf-dev ] OT : OSX oddities, javascript
>
>
> > Hey Taz,
> >
> > It is called when you navigate to this page....
> >
> > <body onLoad="spawn();">
> >
> >
> >
> > -----Original Message-----
> > From: Taz -=TT=- [mailto:[EMAIL PROTECTED]]
> > Sent: 18 December 2002 10:34
> > To: [EMAIL PROTECTED]
> > Subject: Re: [ cf-dev ] OT : OSX oddities, javascript
> >
> >
> >
> > What are you trying to do? How is the function called?
> >
> > Taz
> >
> >
> > > Anyone know, or had what the deal is with OSX/IE5.x and Javascript it?
> I
> > > have the following code :
> > >
> > > <script language="JavaScript" type="text/JavaScript">
> > > <!--
> > > function spawn() { //v2.0
> > >
> > >
> >
>
window.open('index.cfm','Tag','scrollbars=no,width=739,height=540,screenX=0,
> > > screenY=0,top=0,left=0');
> > > window.location.href = "http://www.foo.com";;
> > > }
> > > //-->
> > > </script>
> > >
> > > Which works AOK on the PC, just not on the Mac?  The Mac seems to loop
> and
> > > reload the page everytime...?
> > >
> > > Neil
> >
> >
> > --
> > ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> >
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > For human help, e-mail: [EMAIL PROTECTED]
> >
> > --
> > ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> >
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > For human help, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
>
> --
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
>
>


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to