The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> target="_blank "HELP
Naser
post Jan 9 2020, 09:12 PM
Post #1





Group: Members
Posts: 3
Joined: 9-January 20
Member No.: 27,118



Hello.
Been trying to let the social media link open in new tap unsure.gif

CODE
<a href="https://www.facebook.com/xxx"  class="sociallinks--a sq40 txt-white hov-txt-white scale-effect flex-cl fs16" data-nc-msm="flex-cc"><i class="fa fa-facebook" aria-hidden="true"></i></a>


Thanks
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Jan 9 2020, 10:12 PM
Post #2


WDG Member
********

Group: Root Admin
Posts: 8,324
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



QUOTE(Naser @ Jan 9 2020, 06:12 PM) *
Been trying to let the social media link open in new tap unsure.gif

CODE
<a href="https://www.facebook.com/xxx"  class="sociallinks--a sq40 txt-white hov-txt-white scale-effect flex-cl fs16" data-nc-msm="flex-cc"><i class="fa fa-facebook" aria-hidden="true"></i></a>
I don't see any attempt to open the link in a new tab/window in the snippet of markup you provided.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Naser
post Jan 10 2020, 02:53 PM
Post #3





Group: Members
Posts: 3
Joined: 9-January 20
Member No.: 27,118



QUOTE(Darin McGrew @ Jan 9 2020, 11:12 PM) *

QUOTE(Naser @ Jan 9 2020, 06:12 PM) *
Been trying to let the social media link open in new tap unsure.gif

CODE
<a href="https://www.facebook.com/xxx"  class="sociallinks--a sq40 txt-white hov-txt-white scale-effect flex-cl fs16" data-nc-msm="flex-cc"><i class="fa fa-facebook" aria-hidden="true"></i></a>
I don't see any attempt to open the link in a new tab/window in the snippet of markup you provided.


hey Darin . sorry of i wasn't clear about my first post
i want add target="_blank on code but didn't work.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Jan 10 2020, 06:45 PM
Post #4


.
********

Group: WDG Moderators
Posts: 8,349
Joined: 10-August 06
Member No.: 7



TARGET is an attribute of the link element, just like HREF and CLASS. So you can put it among the other attributes, like this:

CODE
<a href="https://www.facebook.com/xxx" target="_blank" class="sociallinks--a sq40 txt-white hov-txt-white scale-effect flex-cl fs16" data-nc-msm="flex-cc"><i class="fa fa-facebook" aria-hidden="true"></i></a>
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Naser
post Jan 10 2020, 09:02 PM
Post #5





Group: Members
Posts: 3
Joined: 9-January 20
Member No.: 27,118



QUOTE(Christian J @ Jan 10 2020, 07:45 PM) *

TARGET is an attribute of the link element, just like HREF and CLASS. So you can put it among the other attributes, like this:

CODE
<a href="https://www.facebook.com/xxx" target="_blank" class="sociallinks--a sq40 txt-white hov-txt-white scale-effect flex-cl fs16" data-nc-msm="flex-cc"><i class="fa fa-facebook" aria-hidden="true"></i></a>



awesome! its works .
many thanks Christian biggrin.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 4th April 2020 - 01:49 AM