D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] HTML and tabs

 

On Fri, 4 May 2007 10:47:40 +0100
Neil Winchurst <neil@xxxxxxxxxxxxxxxxx> wrote:

> I have set up my own index file to my website. It includes several
> links to other sites that I have set up including a photo gallery, a
> photo blog and an ordinary blog. I tested this out, of course, and this
> is what I found.

So this is a local file or a page on an internet-visible website?

> As originally set up (that is without any "target=" included) if I
> opened up one of the links from my home page it would *replace* my home
> page on the screen.

If it's for your own use, why not click the link with the middle mouse
button. That will load the linked page in a new tab and doesn't require
any changes to the code. You can use that on any link and in (almost)
any modern GUI browser.

> When I included the target="new" in the link, that changed. Now when I
> open my home page for my web site and then click on one of the links
> that URL will open in a new tab. I can then look through the photos or
> whatever and when I want to go back to the home page I just have to
> close the new tab and I am back to my index page again.

This is normal tab behaviour, nothing to do with the HTML.

> That is why I asked the question in the first place. I have added the
> target= bit on all of the links, not because I expect anyone to open
> several at once, but so that, whichever link is opened, it will be in a
> new tab and it will be easy to return to the home page.

It will annoy the hell out of most other users. If this page is to be
visible to anyone except you then PLEASE DON'T DO IT. :-)

Let the user control their tabs - if that user can only ever be you,
fine, but consider that using the middle mouse button is a far more
elegant and versatile solution.

--


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

Attachment: pgpzh0XGb5t4o.pgp
Description: PGP signature

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html