I am working on a site which uses Frames ug! I have the following code on the top frame but the user logs in in the bottom frame so it's just ignored... And the browser acts as though the user hasn't logged in. If I put the code in the bottom frame it works, but it needs to stay in the top... Any one have any clues?
PHP Code:<?php
if ($_SESSION['LoggedIn'] == true)
{
?>
<a href="javascript:top.window.close()" onMouseOver="MM_swapImage('Image222','','images/log_out_1.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="images/log_out_0.gif" name="Image222" width="46" height="17" border="0" id="Image222"> </a>
<?
}
else
{
?>
<a href="javascript:top.window.close()" onMouseOver="MM_swapImage('Image1','','images/close_window_on.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="images/close_window_off.gif" name="Image1" width="94" height="17" border="0" id="Image1"> </a>
<?
}
?>



Reply With Quote


Bookmarks