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
  • 4,182
  • 3
  • 23
  • 24
Sahil Sharma
  • 3,847
  • 6
  • 48
  • 98

0 Answers0