MyBB Community Forums

Full Version: target frame
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Greetings,

is it possible to target a frame with this code
$redirect_url = '../test1.html' ;

My intention is that as soon as a person hits the login button thats is created in member.php that a new html is opened in a targeted frame.

here is the code that is not working for now.

<img src="Image/dien.png" target="mainframe">
<body onload="location.href='test1.php'"></body>

This part is working the next part is not
<img src="../Image/dien.png" target="mainframe">
<base target="topframe">
<meta http-equiv="refresh" content="10; url=http://hobbysite.zz.mu/top.html" >

Note that the img line is just so i knew the site will be read