Does anyone know how to open a link in a new window in IE when the link is a JavaScript function programmed to open a URL in the same window? Obviously just clicking "open link in new window" causes IE to try to load the JavaScript function as a URL so it doesn't load the actual URL behind the function.
Give me an example of a javascript link, can't see any atm!
Originally posted by t020
Does anyone know how to open a link in a new window in IE when the link is a JavaScript function programmed to open a URL in the same window? Obviously just clicking "open link in new window" causes IE to try to load the JavaScript function as a URL so it doesn't load the actual URL behind the function.
View the page source then copy the URL, open a new window & paste the URL into the new browser window??
Originally posted by Lurch
Give me an example of a javascript link, can't see any atm!
Hotmail uses javascript links.
There's a Firefox extension to convert Hotmail's ones to regular links, but in general I don't know of an easy way to do it.
Don't know how IE does it but in Firefox right click the link, properties and the url is in there. Just copy and paste and then delete the javascript from around the url.
Thanks, but the reason I ask is to make browsing websites like this easier (I'll try to dig out an example, I think it was a property website that provoked this thread) and viewing source code and then copy and pasting into a new window is a long winded way. I was hoping there'd be some way to force it to open the URL within the JS function in a new window?
Originally posted by t020
I was hoping there'd be some way to force it to open the URL within the JS function in a new window?
I know what you mean;).
However, AFAIK, this is impossible client side. The properties for JS will be hard coded into the websites mark up:(.