SunQuest
 
           Web Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignWeb Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
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  
Old November 30th, 2004, 03:04 AM
Young Young is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Location: Vancouver, British Columbia
Posts: 53 Young User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
Exclamation adding frame page in html page (with more detail)

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

Reply With Quote
  #2  
Old November 30th, 2004, 07:51 AM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 4 m 48 sec
Reputation Power: 8
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".

Reply With Quote
  #3  
Old November 30th, 2004, 12:26 PM
Young Young is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Location: Vancouver, British Columbia
Posts: 53 Young User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
Question Possible to insert drop down menus in table?

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
Attached Files
File Type: txt xerox_lt.txt (2.3 KB, 375 views)
File Type: txt xerox_toner_top.txt (13.5 KB, 418 views)

Last edited by Young : November 30th, 2004 at 03:33 PM. Reason: idea dropped

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Development > adding frame page in html page (with more detail)


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway