...

View Full Version : Targeting prob



ramli
01-09-2004, 05:16 PM
I am trying to change the mainpage(parent) from a iframe
it is the idee that the mainpage loads a other page
without the iframes.

this is wat i tryed:

<body onload="javascript: parent.location('nav.php?id=logout&loggie=2')">

but it doesnt work wy?

Roy Sinclair
01-09-2004, 05:34 PM
It's not a function, it's a property.



<body onload="parent.location.href='nav.php?id=logout&loggie=2';">

ramli
01-09-2004, 06:25 PM
it works now thx for the help



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum