Tagged: x
-
AuthorPosts
-
May 14, 2016 at 2:19 am #990963
CrystalTiffanyTanParticipantHello!
Using the RSS widget, the links generated open in the current window taking users away from my site. Is it possible to make them open in a new window?
Can I add a target=”_blank” code somewhere? Thank you!
May 14, 2016 at 2:19 am #990964
CrystalTiffanyTanParticipantThis reply has been marked as private.May 14, 2016 at 2:39 am #990988
ChristopherModeratorHi there,
Please add following code in Customize -> Custom -> JavaScript :
jQuery(".rsswidget").attr("target","_blank");Hope it helps.
May 14, 2016 at 2:41 am #990989
Rue NelModeratorHello There,
Thanks for writing in!
To open the rss links to a new window, please edit your news page in Cornerstone, go to the settings tab, Settings > Custom JS and insert the following custom js code
(function($){ $('a.rsswidget').attr('target', '_blank'); })(jQuery);Please let us know if this works out for you.
May 14, 2016 at 3:06 am #991008
CrystalTiffanyTanParticipantThey both work! Thank you very much for your prompt support
May 14, 2016 at 3:09 am #991013
Rue NelModeratorYou’re welcome!
We’re glad we were able to help you out. -
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-990963 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
