HTML Links Dropdown Brick

I am using the HTML Links Dropdown brick and I notice that if I try to right click and open in a new tab it says its blocked. Anyone else notice this? I am using the default code that comes with the brick.

**If this answer solved your problem be sure to like it and accept it as a solution!

Answers

  • michiko
    michiko Contributor

    I suspect the browser is blocking the JS. If you change the code

    FROM  <a href="javascript:domo.navigate('https://developer.domo.com/', false)">Sales</a>   

    TO <a href="https://developer.domo.com">Sales</a>

    that should work and it avoids changing the browser's setting

  • lol doing that made the brick itself navigate to the page rather then actually opening it in my browser

    **If this answer solved your problem be sure to like it and accept it as a solution!

  • Ashleigh,

    I'm not sure about the ability to right-click, but if you want to have a link open in a new tab, change the false to true in the code that is just after the link. That tells it whether or not to open in a new tab.

    **Check out my Domo Tips & Tricks Videos

    **Make sure to <3 any users posts that helped you.
    **Please mark as accepted the ones who solved your issue.
  • @mark@MarkSnodgrass yea I have it setup with the true setting right now but as I was testing it I was trying to right click to open up several at a time which is how I found this error.

    **If this answer solved your problem be sure to like it and accept it as a solution!