SitePoint Sponsor

User Tag List

Results 1 to 8 of 8
  1. #1
    SitePoint Zealot pavanpuligandla's Avatar
    Join Date
    Sep 2008
    Location
    hyderabad
    Posts
    179
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Frames not displaying...

    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:
    [HIGHLIGHT="HTML4Strict
    <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 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>
    [/HIGHLIGHT]
    i cannot see any content except the title..
    please suggest me how to proceed..

    Many Thanks.

  2. #2
    Design Your Site Team bronze trophy Erik J's Avatar
    Join Date
    May 2007
    Location
    Countryside, Sweden
    Posts
    3,407
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by pavanpuligandla View Post
    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..
    I guess you are using a frameset doctype, only you didn't paste it.

    The frameset page only allows frames as content.

    Maybe use an new frame for the time? Or place it in the page that is staying in it's frame, nav frame I guess.

    (Or if it is a rebuild, move to divs and css instead of frames.)
    Happy ADD/ADHD with Asperger's

  3. #3
    SitePoint Zealot pavanpuligandla's Avatar
    Join Date
    Sep 2008
    Location
    hyderabad
    Posts
    179
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hii..

    if i use <frames> instead of <frameset> will my problem be resolved?
    yes i'm dislaying the warning page in nav frame now.
    so if i use <frameset> will the above code works well?

    many thanks.

  4. #4
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,564
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Why not just try it . I'll just go ahead and try it for the hell of it.

    Meh you didn't do absoltue links so I can't test

    Edit: Let me explain better: I can't access most of your links thus my testing is frutile.
    Last edited by RyanReese; Nov 1, 2008 at 07:11.
    Twitter-@Ryan_Reese09
    http://www.ryanreese.us -Always looking for web design/development work

  5. #5
    SitePoint Zealot pavanpuligandla's Avatar
    Join Date
    Sep 2008
    Location
    hyderabad
    Posts
    179
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Meh you didn't do absoltue links so I can't test
    i didnt get u.

    yes i;ve tested without frameset, nothing has been changed, the same has happened just frame title goes well.

  6. #6
    SitePoint Zealot pavanpuligandla's Avatar
    Join Date
    Sep 2008
    Location
    hyderabad
    Posts
    179
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    any one can help me pleaseee..
    im stuck up here..

  7. #7
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,564
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Read my edit.

    Why don't you TRY using <frames> or <iframe>?
    Twitter-@Ryan_Reese09
    http://www.ryanreese.us -Always looking for web design/development work

  8. #8
    SitePoint Wizard silver trophybronze trophy Nadia P's Avatar
    Join Date
    Oct 2004
    Location
    NSW Australia
    Posts
    3,564
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can you post a link to this website?
    You may receive more help if someone can check it out live.....

    PS: Do you really need to use frames? they are so 1990s :-)

    Nadia


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •