2

i want to open link in new window instead of new tab. I used "_blank" and "_new" in target but its not working, its open's in new window.

<a href="allskills.php" style="text-decoration:none" target="_new">All Skills</a>
or
<a href="#" style="text-decoration:none" onClick="window.open('allskills.php', '_blank')">All Skills</a>

is there any way to open in new window?

Thanks

Ankur Dhanuka
  • 1,217
  • 2
  • 11
  • 22

2 Answers2

1

FF uses tabs. New window you can open only with Javascript: window.open('example.html', 'name', 'settings')

http://www.w3schools.com/js/tryit.asp?filename=try_win_focus

1

DEMO FIDDLE

Try this

popupWin = window.open('http://webdesign.about.com/',
'open_window',
'menubar, toolbar, location, directories, status, scrollbars, resizable,
dependent, width=640, height=480, left=0, top=0')
Vinod Louis
  • 4,812
  • 1
  • 25
  • 46