[Web4lib] target link attribute

Cary Gordon listuser at chillco.com
Wed Mar 19 11:40:28 EDT 2008

Just give your target window a name, like target="fred". The first  
time it is called it will open a new window named fred, then  
subsequent pages opened to fred will reuse it.

Local browser settings can override this.



Cary Gordon, MLS
The Cherry Hill Company

On Mar 19, 2008, at 7:34 AM, Rachel Davis wrote:

> I have links to item records in our OPAC in various book lists on  
> our new
> website.  I have the links set to open in a blank page, but I would  
> prefer
> that each link doesn't open a whole new blank page--I want to avoid  
> a user
> having window upon window (or tab after tab) open if they are  
> clicking on
> mutiple links.  I've been to sites where a link opens in a new  
> window, but
> each subsequent link clicked on in the parent page opens in that new
> window, so basically your parent page remains open, but there is one
> window on top (or tab beside it) that reloads with each link clicked  
> on in
> the parent page.  Can anyone tell me how to accomplish this?
> Thanks!
> Rachel
> Rachel Q. Davis
> Children's Librarian
> Thomas Memorial Library
> 6 Scott Dyer Road
> Cape Elizabeth, ME  04107
> 207-799-1720

More information about the Web4lib mailing list