Skip to Content
0
Jun 15, 2011 at 12:32 PM

Get a window with external website when loading iview

35 Views

Hi,

i wrote a iView which calls a external website with a couple of computed parameters .

The iview has the following JS code :

function openSite(){
	var oChild = window.open("https://emea.website.com/login.jsp?un=usernameABC&pw=B0C328098DA439DEC12578B000407BED",  "website","width=768,height=1024");
	return false;
}

I call the function in the body using onload and as a anchor with onclick.

So far so good outside the portal. But when i call the iview in the portal nothing happens.

When i click on the link, it brings me to the correct website.

My Question : What do I have to do to get the window open within the portal?

Regards,

Kai