Results 1 to 3 of 3

Thread: Replace frames with php

  1. #1
    Join Date
    Jul 2006
    Posts
    142
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default Replace frames with php

    Hello all:

    I know this is an old question but I have exhausted my google resourece to find a better answer. My problem is simple:

    I had to build a website within a dead line and I took the easy way out to use html frames. The problem is it works fine in firefox but screws up in the latest version of IE. Now I cannot afford go and modify the whole site but I am trying to find a better cross-browser solution. I need something quick and dirty solution just by changing the index page. If I use tables to replace the frames, how do I get the pages to load in the MainFrame? What would be the php way or js way? My Index page follows:

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>******</title>
    </head>
    
    <frameset rows="*" cols="200,*" framespacing="0" frameborder="no" border="0" bordercolor="#000000">
      <frame src="LeftFrame.html" name="leftFrame" scrolling="No" noresize="noresize" id="leftFrame" title="leftFrame"></frame>
      <frameset rows="216,*" framespacing="0" frameborder="no" border="0" bordercolor="#967333">
        <frame src="TopFrame_php.php" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" title="topFrame" ></frame>
        <frameset rows="*,50" framespacing="0" frameborder="no" border="0" bordercolor="#967333">
    		<frame src="Main.html" name="mainFrame" id="mainFrame" title="mainFrame" scrolling="no" ></frame>
    		<frame src="bottomFrame.html" name="bottomFrame" scrolling="No" noresize="noresize" id="bottomFrame" title="bottomFrame" ></frame>
    	</frameset>
      </frameset>
    </frameset>
    <noframes><body>
    </body>
    </noframes></html>
    Please help Thanks!
    Last edited by neo_philiac; 06-30-2008 at 05:04 PM.

  2. #2
    Join Date
    Jul 2006
    Posts
    142
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default

    Ding!

  3. #3
    Join Date
    Nov 2005
    Location
    under your bed
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    You could use a PHP include within a DIV tag, and add "overflow: auto;" in the style, to make it appear as a frame.

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
  •