Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #715671

    Hi!
    I have a question about the following page:

    The widget in the sidebar on the right hand side at the bottom links to an external website (‘ladda ner gratis ebook’). And I want this link to open in a separate tab. Could you please advise me how to do this?

    I have added the code for this widget in the private content.

    Thanks,
    Jangdom

    #715730

    Hey Tarakbc,

    Please use the _blank attribute in the target to open links in a new tab.

    You can copy paste the working code here http://pastebin.com/raw/Fgvatahz

    Best regards,
    Vinay

    #715980

    Hi Vinay,

    Thanks very much for your reply. However, I need a little bit more explanation to implement your suggestion. Please could you explain where I find the _blank attribute. Is this function somewhere on the widgets page?

    Also, I do not know what you mean by ‘target’.

    Grateful for any further clarification.

    Kind regards,
    Jangdom

    #716251

    Hi Jangdom,

    Please try pasting the code Vinay sent in a text widget. The target is an attribute inside the code he sent:

    target="_blank"

    Or in your shortcode:

    link_target='_blank'

    It tells the browser to open the link in a new tab.

    Best regards,
    Rikard

    #716634

    That worked great. Thanks for the clarification.

    #716730

    Hi,

    No problem, glad we could help :-)

    Please let us know if you should need any further help on the topic.

    Best regards,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.