2 wrc Sep 08, 2019 01:24

About the target attribute for links.
Before HTML5, in HTML 4.01 strict and the XHTML version the target attribute had been deprecated as it could cause confusion. a) Someone may not see the new window b) it was used to keep a browser (TAB) on the referrer website, which in turn c) removed the option for the user to decide if to have another window.tab.
In HTML5 it is back as a machine readable key, so that those needing assisted browsing would be informed of browser tabs.
I use the target attribute quite a bit on my site which although is public is not a social site, so it just serves me to open mew tabs.
)
I solved my problem by adding target="_blank" in _social_links_widget.php as follows:
$r .= '<a href="'.$this->disp_params['link'.$i.'_href'].'"'.( empty( $icon_colorsclasses ) ? '' : ' class="ufld'.$social_fields[$this->disp_params['link'.$i]]->ufdf_code.$icon_colors_classes.'"' ).' [color=]target="_blank">' .'<span class="'.$social_fields[$this->disp_params['link'.$i]]->ufdf_icon_name.'"></span>'.'</a>';
Thanks, sorry to bother
WRC