Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old January 7th, 2004, 04:21 AM
Enforcer Enforcer is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Nevada, USA
Posts: 28 Enforcer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #2  
Old January 7th, 2004, 04:42 AM
pickleman78 pickleman78 is offline
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Dallas,TX,USA
Posts: 582 pickleman78 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via AIM to pickleman78
RE: Target problem

Try changing _BLANK to _NEW, also try putting those target names in quotes

Reply With Quote
  #3  
Old January 7th, 2004, 04:42 AM
gear21 gear21 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Albuquerque, NM, USA
Posts: 23 gear21 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to gear21
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

Reply With Quote
  #4  
Old January 7th, 2004, 04:53 AM
Enforcer Enforcer is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Nevada, USA
Posts: 28 Enforcer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #5  
Old January 7th, 2004, 05:06 AM
pickleman78 pickleman78 is offline
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Dallas,TX,USA
Posts: 582 pickleman78 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via AIM to pickleman78
RE: Target problem

thoch next time you can try the client side board ;)

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > Target problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT