Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #1221847
    Rupok
    Member

    Hi there,

    It will be confusing to post same thing on two different topic. We’ll follow up on the other thread.

    Thanks!

    #1224293
    flacnvinyl
    Participant
    This reply has been marked as private.
    #1224744
    Rue Nel
    Moderator

    Hello There,

    We already replied on that thread. Please continue your replies on that thread.

    Thank you.

    #1250747
    RAL86
    Participant

    Hi!

    I just wanted to ask again about the Open Link In New Window issue that was mentioned on post #1074699 (I wanted it to have the link open up in a new tab, as opposed to a new window, if that means much). Someone mentioned after, that we should place the jQuery code (that was posted on post #1074720) in the javascript section, but it’s not giving me the results I’m wanting.

    Would you be able to place the full code here once again?

    #1251126
    Lely
    Moderator

    Hi There,

    Something like this should work:

    jQuery(function($) {
      $('.x-feature-box-text a:last-child').each(function() {
        $(this).closest('.x-feature-box').find('.x-feature-box-graphic-inner').wrap('<a href="' + $(this).attr('href') + '" target="_blank"></a>');
        $(this).remove();
      });
    });

    Make sure to add the link text and href value for feature box element is set.

    Hope this helps.

    #1352479
    fortunicaintranet
    Participant

    Hi I tried out,

    But I do not want to be force to WRITE TEXT IN THE text in the LINK TEXT!!
    how can we solve it

    #1353233
    Christopher
    Moderator

    Hi there,

    I’m sorry but you should add link text and href in their fields otherwise it won’t work.

    Thanks.

  • <script> jQuery(function($){ $("#no-reply-628439 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>