So I did
newWindow = window.open(link.attr('href'), 'name', "height=600,width=1000");
But in IE it didn't open a new window, it uses the same window and it follows the link in the same window instead of doing nothing in the window and then open the link in a new window...
What should I do to make it open the link in a new window in IE (works in firefox, chrome)
Not sure but i think
link.attr('href') is not working as expected, replace with
newWindow = window.open(jQuery(this).attr('href'), 'name', "height=600,width=1000");
try adding this to your link
you can also add it with Jquery.