Philadelphia Reflections

The musings of a physician who has served the community for over six decades

Related Topics

Website Development
The website technology supporting Philadelphia Reflections is PHP, MySQL and DHTML. The web hosting service is Internet Planners. The development of this website has provided an opportunity to learn new technology, to try out different techniques for getting noticed by the search engines and the trials and tribulations of dealing with malicious hackers and spammers who range from the annoying to the abusive. This collection of articles documents some of our experiences and we hope that people surfing the web looking for solutions to problems we've encountered will benefit.

George IV and Computers(1)
I got him into computers around 1960. He soon far surpassed me.

Program notes by GRF4

Open a new window with XHTML

Once upon a time you could say

<a href="link" target="_blank">Click to open a new window</a>

and a new window would open. Highly annoying if used very often, but sometimes it's the right thing to do.

And then XHTML comes along and this is not longer legal.

target="_blank" is "deprecated" without a single word as to what a poor developer is to substitute.

Here's what you do:

<a href="link" onclick="; return false;">Click to open a new window</a>

Originally published: Monday, August 07, 2006; most-recently modified: Monday, June 04, 2012

Header? No, It goes in the anchor tag.
Posted by: G4   |   Sep 11, 2009 9:10 PM
so this goes in the header... or .. where .. and how does it know what window to open? what
Posted by: tom Zurn   |   Sep 11, 2009 8:47 PM

Please Let Us Know What You Think


(HTML tags provide better formatting)