Posted by: Naser Jan 9 2020, 09:12 PM
Hello.
Been trying to let the social media link open in new tap
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
Posted by: Darin McGrew Jan 9 2020, 10:12 PM
QUOTE(Naser @ Jan 9 2020, 06:12 PM)
Been trying to let the social media link open in new tap
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.
Posted by: Naser Jan 10 2020, 02:53 PM
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
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.
Posted by: Christian J Jan 10 2020, 06: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>
Posted by: Naser Jan 10 2020, 09:02 PM
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