Jump to content

frames


brown2005

Recommended Posts

	print "<frameset rows='65,*,35' border='0' frameborder='0' framespacing='0'>\n";
print "  <frame src='$HOME_DIR_HTTP/homepages/files/home/top.php?website=$website&website_id=$website_id' name='nav' marginwidth='0' marginheight='0' scrolling='no' noresize>\n";
print "  <frame src='".htmlspecialchars($website, ENT_QUOTES)."' name='merch' scrolling='auto' frameborder='1' noresize>\n";
print "  <frame src='$HOME_DIR_HTTP/homepages/files/home/bottom.php?website=$website&website_id=$website_id' name='nav' marginwidth='0' marginheight='0' scrolling='no' noresize>\n";
print "</frameset>\n";

 

is there another way of doing the above without using frames. or do i have to use frames?

Link to comment
Share on other sites

  • 4 weeks later...

For one, your frameset "rows" does not make any sense.  65 and 35 add up 10 100, so there would be nothing left for the *, or vice versa.

 

I do not understand why you are using PHP to do that.  An explanation would help.  What exactly are you trying to do?

Link to comment
Share on other sites

only if you had just 100px of vertical space inteh view window.......

 

the answer to the OP is yes - just don't use frames - design your site in sections (divs) and where possible have each section of the page driven by its own portion of code...

Link to comment
Share on other sites

  • 2 weeks later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.