Page 1 of 1

HTML Frames Not Getting Displayed.

Posted: Fri Oct 31, 2008 5:39 pm
by pavanpuligandla
hii,
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>
 
i cannot see any content except the title..
please suggest me how to proceed..

Many Thanks.

Re: HTML Frames Not Getting Displayed.

Posted: Fri Oct 31, 2008 9:47 pm
by omniuni
Could you get a version of this online for me to check out?

For some free hosting you can use to make a quick demo, check http://yakkel.com (since I noticed you're currently on 'localhost')

Re: HTML Frames Not Getting Displayed.

Posted: Sat Nov 01, 2008 6:52 am
by pavanpuligandla
Could you get a version of this online for me to check out?
i can but i need to put it confidential, bcoz it is still under construction..
dun mind mate..'ve u run this on ur system?? my aim is to show a session time out warning in a web page containin 3 frames, but if i use the above code, icant c anything.now i'm showing the warning div in nav frame, in which if session ends only that frame will be redirected to sessiontimeout.php page.the end user has to refresh the page to login again, this is the problem.

if u need more info, u can check via remote desktop my frames.
many thnaks for d come back...

Re: HTML Frames Not Getting Displayed.

Posted: Sat Nov 01, 2008 7:12 am
by omniuni
Do you have to use frames, or could you replace them with CSS/DIV elements and use php's include() to drop in the contents?

You could use something like this: http://www.twinhelix.com/javascript/dragresize/demo/ to make sure users can still resize the DIV's.

Re: HTML Frames Not Getting Displayed.

Posted: Sat Nov 01, 2008 7:31 am
by pavanpuligandla
nice one to use dragresize.
but coding has been already completed accordingly the frames.
so no second thought to use drag resize.
will you please check my code once.. its my humble request.
the content is not being displayed at all except the title of the frame.
if i get solution for this, i'll b very thankful to you..
many thanks,
pavan.p

Re: HTML Frames Not Getting Displayed.

Posted: Sat Nov 01, 2008 7:32 am
by pavanpuligandla
i tried several combinations like,
writing the framseet above html tags, but nothing had happened except the title goes well. 8O

Re: HTML Frames Not Getting Displayed.

Posted: Sun Nov 02, 2008 12:34 am
by pavanpuligandla
any one please help me, its ridiculous spendin 3 whole days on these <span style='color:blue' title='I&#39;m naughty, are you naughty?'>smurf</span> frames..
plese :banghead: