Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Community Discussions (All other subjects)
 Two Target Tags in one link
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

acoustika
Junior Member

Denmark
311 Posts

Posted - 18 September 2003 :  10:40:04  Show Profile  Visit acoustika's Homepage  Send acoustika an ICQ Message
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  Show Profile  Visit D3mon's Homepage
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"
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 18 September 2003 :  10:55:38  Show Profile
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?
Go to Top of Page

acoustika
Junior Member

Denmark
311 Posts

Posted - 18 September 2003 :  11:08:31  Show Profile  Visit acoustika's Homepage  Send acoustika an ICQ Message
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 ***
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.23 seconds. Powered By: Snitz Forums 2000 Version 3.4.07