0

We have a link that we get from server (Url) and we want to open it in new window. We are using following code to do that:

<a class="block img-holder usedsearch-img-holder position-rel no-direct" target="_blank" href='/m@(Url)'>

This is working fine but is not opening new window in mozilla firefox. I read similar issue and workaround by using onclick here.

Only problem is that bots (especially non-google search engines) might not be able to index these pages. How can we achieve both i.e. open link in all browsers w/o javascript dependency?

Amit Bhagat
  • 3,920
  • 3
  • 21
  • 21
Sahil Sharma
  • 3,387
  • 4
  • 40
  • 82

0 Answers0