954,566 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

IE7 New Window Javascript

Can you please advise me why the following Javascript function works in Firefox,Opera and Netscape but I get "Error:The marshaled interface data packet(OBJREF) has an invalid or unknown format."

It seems very basic! What am I missing?

code

function OpenSite()
{var newwindow;
newwindow=window.open(SiteN,'name');
if (window.focus) {newwindow.focus()}
}

/code

SiteN is a global variable carrying the url.

LAPHO
Newbie Poster
1 post since Feb 2007
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You