Author |
Topic |
|
acoustika
Junior Member
Denmark
311 Posts |
Posted - 18 September 2003 : 10:40:04
|
Isn't it possible to have two target tags in one hyperlink??
I have tried several things, but can't seem to get it to work, I would like it so that if people click the link it opens in _SELF and if people DoubleClick the link it will open in _BLANK but dreamweaver keeps saying "Invalid markup" when i try to combine this, looks as if it is not possible to have Two TARGET tags in one <ahref> line, I have tried it using Onclick and OnDblclick, but can't get it to work, Anybody??
My idea was something like OnClick Target="_Self" OnDblClick Target="_Blank"
|
May The Code Be With You www.UniqueDk.dk *** The Open Forums of Denmark *** |
|
D3mon
Senior Member
United Kingdom
1685 Posts |
Posted - 18 September 2003 : 10:54:55
|
Probaly need to use some Javascript like:
<a onclick="javascript:opensamewindow();" ondblclick="javascript:opennewwindow();">blah</a>
|
Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod "In war, the victorious strategist only seeks battle after the victory has been won" |
|
|
Roland
Advanced Member
Netherlands
9335 Posts |
Posted - 18 September 2003 : 10:55:38
|
why not add an image next to the text link that, when clicked on, will open the same page as the text link, except in a new window? |
|
|
acoustika
Junior Member
Denmark
311 Posts |
Posted - 18 September 2003 : 11:08:31
|
thanks for the answers, and the quickness to answer *S*
The idea with a little picture(icon) next to the text link I like, do't know why i haven't thougt of it myself, Thank's FrutZle *SS*
But also I think I will try make the javascript work, if for nothing else then just to learn *SS* |
May The Code Be With You www.UniqueDk.dk *** The Open Forums of Denmark *** |
|
|
|
Topic |
|