Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Sep 2013
    Posts
    29
    Thanks
    1
    Thanked 1 Time in 1 Post

    How to open social profiles in new tabs?

    I have an image widget for my social profiles for my Wordpress blog, http://throughtheivy.com, but I was wondering what I would write it into the code to make the profiles open in new tabs? Here's the code:

    <div style="text-align:center; width:186px; margin-left:auto; margin-right:auto;">
    <img id="Image-Maps_
    7201311070005434" src="http://throughtheivy.com/social%20buttons%20october.jpg" usemap="#Image-Maps_7201311070005434" border="0" width="186" height="404" alt="" />

    <map id="_Image-Maps_7201311070005434" name="Image-Maps_7201311070005434">
    <area shape="rect" coords="86,20,136,70" href="https://www.facebook.com/pages/through-the-ivy/550837714996984?ref=hl" alt="" title="" />
    <area shape="rect" coords="105,83,149,127" href="https://twitter.com/throughtheivy" alt="" title="" />
    <area shape="rect" coords="99,149,143,193" href="https://plus.google.com/112110006348068702877/posts" alt="" title="" />
    <area shape="rect" coords="65,209,106,250" href="http://feeds.feedburner.com/ThroughTheIvy" alt="" title="" />
    <area shape="rect" coords="33,265,74,306" href="http://www.bloglovin.com/blog/10882407/?claim=qkfgt2zx84q" alt="" title="" />
    <area shape="rect" coords="30,341,70,378" href="http://www.pinterest.com/throughtheivy/" alt="" title="" />
    <area shape="rect" coords="184,402,186,404" href="http://www.image-maps.com/index.php?aff=mapped_users_7201311070005434" alt="Image Map" title="Image Map" />
    </map>
    </div>

    Thanks for any help!

  2. #2
    Supreme Master coder!
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    10,206
    Thanks
    10
    Thanked 1,166 Times in 1,157 Posts
    Not sure if this works for area shape or not....

    Try adding: target="_blank" to each of them.

  3. #3
    New Coder
    Join Date
    Sep 2013
    Posts
    29
    Thanks
    1
    Thanked 1 Time in 1 Post

    Resolved

    That's working perfectly so far! Thanks so much for your help


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •