i'm using a 3 html frames in my web page, top, left and rite content frames.
i'm using draggable frames, every thing is fine, but i want to show my user session time out in that main page(containing 3 framesets), below is the code.
i dun know waht had happened, the content is not getting displayed except the title. can anyone please help me..
below is my code
Code: Select all
<html dir='ltr'>
<head>
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; CHARSET=UTF-8">
<META HTTP-EQUIV="CONTENT-SCRIPT-TYPE" CONTENT="text/javascript">
<META HTTP-EQUIV="CONTENT-STYLE-TYPE" CONTENT="text/css">
<META HTTP-EQUIV="EXPIRES" CONTENT="-1">
<META HTTP-EQUIV="Refresh" CONTENT="1800;
URL=http://localhost/Project/sessiontimeout.php">
<link rel="shortcut icon" href="http://localhost/Project/images/trrlogo1.ico"/>
<meta name="generator" content="HTML Tidy, see http://www.w3.org">
<title>Page</title>
<link rel="stylesheet" type="text/css" href="http://localhost/Project/css/timer.css">
<script type="text/javascript" src="http://localhost/Project/scripts/timer-src.js" /></script>
<script type="text/javascript" src="http://localhost/Project/scripts/zdragdroplib.js"></script>
</head>
<script type="text/javascript">
document.write(getWarning());
</script>
<div id="warningDiv"></div>
<img src="http://localhost/Project/images/load.gif" onLoad="initTimer();">
<script language="JavaScript">
var frame = '<FRAMESET ROWS="117,*"><frame name="UniversalHeader" title="Portal Header" scrolling="no" frameborder="0" noresize src="http://localhost/Project/leftmenu.php"><FRAMESET COLS="238, *"><FRAME name="NAV" frameborder="0" framespacing ="0" scrolling="auto" marginheight="0" marginwidth="0" target="_blank" SRC="http://localhost/Project/leftnavigation.php"><FRAME name="TargetContent" scrolling="auto" frameborder="0" marginheight="0" target="_blank" SRC="http://localhost/Project/MainMenuframe.php"' ;
var pos = document.location.href.indexOf("?http://");
if (pos>0) {
frame += document.location.href.substr(pos+1);
} else {
frame += 'dc_toc.html';
}
frame += '"></FRAMESET></FRAMESET>';
document.write(frame);
</script>
</html>
please suggest me how to proceed..
Many Thanks.