|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
Hello there,
Since no one seemed to understood the previous question that I asked, I will be more clear this time about what I want to ask. Sorry about the unclearness. I want to know it it is possible to add a frame page in a HTML page using SSI. Suppose that I have a frame page named index.html, which is coded as follows: <html> <head><title>Title</title></head> <body> <frameset rows="20%,*"> <frame name="header" scrolling="no" noresizetarget="main" src="header.htm" <frame name="bottom" scrolling="no" noresizetarget="main" src="bottom.htm" > </frameset> </body> </html> now this is a code of .shtml file called seeframe.shtml <html> <head><title>Title</title></head> <body> <!--Start Main Page--> <!--#include virtual="/index.html"--> <!--End Main Page--> </body> </html> What I expect to see is the frame page index.html, which I have made previously. Unfortunately, I don't see nothing but a blank page. Does anyone knows why this is happening, and how I can fix this? Any will welcome any suggestions or advices with humble attitude. Thank you. Young |
|
#2
|
||||
|
||||
|
Your first <frame> tag is missing a closing bracket.
I don't think you can have the <frameset> within the <body> tag... In fact, I wouldn't include the <html> tag in the included file either. I recommend trying the following... include.html Code:
<frameset rows="20%,*">
<frame name="header" scrolling="no" noresizetarget="main" src="header.htm">
<frame name="bottom" scrolling="no" noresizetarget="main" src="bottom.htm">
</frameset>
index.html Code:
<html> <head><title>Title</title></head> <!--Start Main Page--> <!--#include virtual="/include.html"--> <!--End Main Page--> </html> Don't forget, most servers are set up to issue the index page as the default page. I wouldn't suggest calling an included page "index"; instead the page doing the including should be "index". |
|
#3
|
|||
|
|||
|
Hello,
I think I am going to drop the idea of adding a frame page inside the html pag using SSI. I want to change my focus to adding a drop down menu inside tables. I want to have a table divided into two rows, just like my previous idea with frame. On top table cell I want to include the drop down menus (yes, you guessed it) and whenever I select from theses menus the content related to each selection would be displayed on the bottom. I am not sure how I would appoach this, so I will just drop my codes in here. if you see the file called xerox_lt.txt (it's actually a .shtml file), you will see a file that i included called xerox_toner_bottom.html. i didn't attach this file, since that's where everything will be loaded when selection is made from the top table cell. Thanx for you help. Young Last edited by Young : November 30th, 2004 at 03:33 PM. Reason: idea dropped |
![]() |
| Viewing: Dev Articles Community Forums > Web Design > Web Development > adding frame page in html page (with more detail) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|