How can I add links to second footer widget area, so they open in new window?

Discussion in 'Forum Rules' started by louanncovi, Feb 11, 2014.

  1. louanncovi

    louanncovi Member

    Joined:
    Jun 12, 2013
    Messages:
    116
    Likes Received:
    1
    Location:
    Sun City West, AZ USA
    How can I update the second footer widget area, so that when a viewer clicks on the icons I add there - a new web page will open? I am using Black Studio TinyMCE in this area. I want my home page www.covitravel.com to stay open & a new window to open for Yelp (or viewing other images I have added.)
     
  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    For this, You can add target="_blank" attribute in the anchor tag

    For example:

    Code:
     <a target="_blank"href="Enter your link address here">Enter your text here</a>
    Thanks & Regards
    Gourav Shrivastava
     
  3. louanncovi

    louanncovi Member

    Joined:
    Jun 12, 2013
    Messages:
    116
    Likes Received:
    1
    Location:
    Sun City West, AZ USA

    Thanks Gourav -
    I was able to correct to one logo that I've added there, but I am confused as to where to add that for the Yelp badge. I am also trying to change the color of the text "Find us on Yelp!"

    Here's that code:
    <p>Find us on Yelp!</p>
    <div id="yelp-biz-badge-rrc-evhwLE7-7XeZ6SLvyOVvdQ">Covi Travel</div>
    <script type="text/javascript">// <![CDATA[
    !function(doc, id){
    var js;
    var scriptElement = doc.getElementsByTagName("script")[0];
    if (!doc.getElementById(id)) {
    js = doc.createElement("script");
    js.id = id;
    js.src = "//dyn.yelpcdn.com/biz_badge_js/rrc/evhwLE7-7XeZ6SLvyOVvdQ.js";
    scriptElement.parentNode.insertBefore(js, scriptElement);
    }
    } (document, "yelp-biz-badge-script-rrc-evhwLE7-7XeZ6SLvyOVvdQ");
    // ]]></script>
    <p><p>
     
  4. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    Anchor for the yelp image is added at the server side code. So it is not possible to add target blank from our site.

    Thanks & Regards
    Nitesh Raghuwanshi
     

Share This Page