Jump to content

freddybrown

New Members
  • Posts

    1
  • Joined

  • Last visited

freddybrown's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I am new to website development. I can't figure out how to open a new tab for the following javasript. I went through related questions but nothing worked for me. I want the browser to open a new tab when someone clicks on the link (example.com) below. The code target="_blank doesn't work here... What code should I add and where should I place that code? My html code is here - <section id="work-grid" class="site-inner"> <div class="work-item" data-groups='["all", "webdesign"]' data-url="http://example.com"> <figure class="image-container"><img src="images/work/web-one.jpg" /></figure> </div> Thanks in advance.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.