|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Target problem
Linux OS
php 4.3.2 Apache 2 (not sure of minor version) MS IE Hello. I've been working on converting my website from html to php, but have run into a VERY strange problem. (I am VERY new to php). I attach links to several graphics on my homepage using: Code:
<A HREF=http//somesite.com/ TARGET=_BLANK The problem is that when I converted to php, my target value only works once. What I mean to say is this: 1. I open my browser, and it goes to my homepage. 2. I click on a link and a new window opens, as per the HREF TARGET=_BLANK in the tag. 3. I go back to my homepage, and click on another link that uses HREF TARGET=_BLANK. 4. The linked clicked on in step 3 loads in the instance of my browser from step 2. All clicks from my homepage will load into exactly ONE external browser window. No additional windows are opened, even though I might click on six external links. It just loads the new pages into the browser instance from step 2. I've never heard of this happening, let along experience it. I could sure use some help. Thanks. |
|
#2
|
|||
|
|||
|
RE: Target problem
Try changing _BLANK to _NEW, also try putting those target names in quotes
|
|
#3
|
|||
|
|||
|
RE: Target problem
Try making it not caps, and put it in quotes:
<a href="http://example.com" target="_blank">Blah</a> That works for me. See also: http://wp.netscape.com/eng/mozilla/2.0/relnotes/demo/target.html |
|
#4
|
|||
|
|||
|
RE: Target problem
......I'm so new at php I thought it was a php problem.
Seems it was the fact that, as gear pointed out, I had the keyword 'blank' in caps. Someone PM'd me and said 'remove the caps, use lower and it should work'. It did, and sorry for cluttering the php forum with a n00b html question. |
|
#5
|
|||
|
|||
|
RE: Target problem
thoch next time you can try the client side board ;)
|
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > Target problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|