D&C GLug - Home Page

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

Re: [LUG] HTML and tabs

 

On Thursday 03 May 2007 20:20, Chris Smith wrote:
> Julian Hall wrote:
> > Martijn wrote:
> >> target="_blank" really chooses a new window/tab for each click.
> >
> > Actually no, I just tried it with the code I posted and Firefox opened a
> > new separate tab for every click with just target="new" :)
> >
> > Kind regards,
> >
> > Julian
>
> You will find if you click on the link again it will be opened in the
> same new window, this is because it is called "new" and the target
> points to it. The target "_blank" opens a new window every time, of
> course you might not want this and a named window might be better. But
> it should be more unique such as "myorg_popup" or something. This
> <http://www.w3schools.com/tags/tag_a.asp> is worth a read.
Just a note on learning HTML and javascript
Firefox has some brilliant developer tools/extensions:
Tidy will check your html for you and suggest improvements.
The Css editor will allow you to change your css on the fly and see what the 
effect is - it wont save it for you but you can cut and paste from the 
window.
The javascript console is a really usefull for spotting 'glaring' javascript 
errors.
The venkman debugger is a godsend.
The dominspector is brilliant - especially if your dynamically modifying your 
page with javascript and wondering whats happening.
Tom te tom te tom



-- 
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