Re: [PHP] opening link in new window

2010-07-24 Thread Adam Richardson
On Sat, Jul 24, 2010 at 10:20 AM, Robert Cummings wrote: > On 10-07-24 04:19 AM, Adam Richardson wrote: > >> >> Code that resembled the below is how I used to open new windows before I >> started using jQuery Note, this completely avoids use of the target >> attribute. >> >> function wireNewWindo

Re: Re[2]: [PHP] opening link in new window

2010-07-24 Thread Ashley Sheridan
turday, July 24, 2010, 5:20:03 PM > Subject: [PHP] opening link in new window > > On 10-07-24 04:19 AM, Adam Richardson wrote: > > > > Code that resembled the below is how I used to open new windows before I > > started using jQuery Note, this completely

Re[2]: [PHP] opening link in new window

2010-07-24 Thread Andre Polykanine
ahoo! messenger: andre.polykanine; ICQ: 191749952 Twitter: m_elensule - Original message - From: Robert Cummings To: Adam Richardson Date: Saturday, July 24, 2010, 5:20:03 PM Subject: [PHP] opening link in new window On 10-07-24 04:19 AM, Adam Richardson wrote: > > Code that resembled

Re: [PHP] opening link in new window

2010-07-24 Thread Robert Cummings
On 10-07-24 04:19 AM, Adam Richardson wrote: Code that resembled the below is how I used to open new windows before I started using jQuery Note, this completely avoids use of the target attribute. function wireNewWindows(){ if(document.getElementsByTagName){ var anchors = document.g

Re: [PHP] opening link in new window

2010-07-24 Thread tedd
At 2:06 AM -0400 7/24/10, Paul M Foster wrote: Or, wait. With javascript, you're hacking the DOM. If you put my PHP above in the file, the offending code will arrive at the client browser. Will the xhtml 1.0 deities cast you into the pit of hell if this happens? Paul A minor clarification, it

Re: [PHP] opening link in new window

2010-07-24 Thread Adam Richardson
On Sat, Jul 24, 2010 at 2:44 AM, Robert Cummings wrote: > On 10-07-24 02:06 AM, Paul M Foster wrote: > >> On Sat, Jul 24, 2010 at 01:08:49AM -0400, Robert Cummings wrote: >> >> On 10-07-24 12:58 AM, Paul M Foster wrote: >>> On Fri, Jul 23, 2010 at 01:28:23AM -0400, David Mehler wrote: >

Re: [PHP] opening link in new window

2010-07-23 Thread Robert Cummings
On 10-07-24 02:06 AM, Paul M Foster wrote: On Sat, Jul 24, 2010 at 01:08:49AM -0400, Robert Cummings wrote: On 10-07-24 12:58 AM, Paul M Foster wrote: On Fri, Jul 23, 2010 at 01:28:23AM -0400, David Mehler wrote: Hello, I've got a page with an external link. I'd like to open it in a new wind

Re: [PHP] opening link in new window

2010-07-23 Thread Paul M Foster
On Sat, Jul 24, 2010 at 01:08:49AM -0400, Robert Cummings wrote: > On 10-07-24 12:58 AM, Paul M Foster wrote: >> On Fri, Jul 23, 2010 at 01:28:23AM -0400, David Mehler wrote: >> >>> Hello, >>> I've got a page with an external link. I'd like to open it in a new >>> window, but i'm using the xhtml 1

Re: [PHP] opening link in new window

2010-07-23 Thread Robert Cummings
On 10-07-24 12:58 AM, Paul M Foster wrote: On Fri, Jul 23, 2010 at 01:28:23AM -0400, David Mehler wrote: Hello, I've got a page with an external link. I'd like to open it in a new window, but i'm using the xhtml 1.0 strict dtd so this isn't possible. I was wondering if php could pull this off?

Re: [PHP] opening link in new window

2010-07-23 Thread Paul M Foster
On Fri, Jul 23, 2010 at 01:28:23AM -0400, David Mehler wrote: > Hello, > I've got a page with an external link. I'd like to open it in a new > window, but i'm using the xhtml 1.0 strict dtd so this isn't possible. > I was wondering if php could pull this off? Failing that, and not > really wanting

Re: [PHP] opening link in new window

2010-07-23 Thread Peter Lind
On 23 July 2010 12:23, Shreyas Agasthya wrote: > I am not sure how PHP can help here. I am sure there must be a way out. > > With JavaScript, it s certainly possible. You can try window.open() to make > this happen. It can accept a lot of parameters and a google search should > give you a lot of a

Re: [PHP] opening link in new window

2010-07-23 Thread Shreyas Agasthya
I am not sure how PHP can help here. I am sure there must be a way out. With JavaScript, it s certainly possible. You can try window.open() to make this happen. It can accept a lot of parameters and a google search should give you a lot of answers. --Shreyas On Fri, Jul 23, 2010 at 10:58 AM, Dav

[PHP] opening link in new window

2010-07-22 Thread David Mehler
Hello, I've got a page with an external link. I'd like to open it in a new window, but i'm using the xhtml 1.0 strict dtd so this isn't possible. I was wondering if php could pull this off? Failing that, and not really wanting to go there, would javascript work for this? Thanks. Dave. -- PHP Gene