target="_blank "HELP |
target="_blank "HELP |
Naser |
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 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 |
Darin McGrew |
Jan 9 2020, 10:12 PM
Post
#2
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
Been trying to let the social media link open in new tap I don't see any attempt to open the link in a new tab/window in the snippet of markup you provided.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> |
Naser |
Jan 10 2020, 02:53 PM
Post
#3
|
Group: Members Posts: 3 Joined: 9-January 20 Member No.: 27,118 |
Been trying to let the social media link open in new tap I don't see any attempt to open the link in a new tab/window in the snippet of markup you provided.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> hey Darin . sorry of i wasn't clear about my first post i want add target="_blank on code but didn't work. |
Christian J |
Jan 10 2020, 06:45 PM
Post
#4
|
. Group: WDG Moderators Posts: 9,630 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> |
Naser |
Jan 10 2020, 09:02 PM
Post
#5
|
Group: Members Posts: 3 Joined: 9-January 20 Member No.: 27,118 |
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 |
Lo-Fi Version | Time is now: 29th March 2024 - 08:32 PM |