473,460 Members | 1,887 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

An alternative to framesets?

So I was wondering, what possible replacements are there for the frameset? Because I just want to have my menu and article column be static and not have to be reloaded again, all I really want to be changed is the main content in the page. I understand framesets are, and have been looked down upon for quite some time; quite litterally I don't like them myself. Is it possible to make a div with the contents of that div being a DHTML file?

I want to find an alternative to framesets, while still having relatively small amounts of code, and not having to go through 8-12 pages when I want to edit the menu or articles column.

help?
Jul 24 '08 #1
8 12614
tharden3
916 512MB
can't you solve this by experimenting with the static/absolute/relavtive/fixed functions? I guess maybe you could put those in combination with a div, but I'm not sure. You'd have to try it I guess.
Jul 25 '08 #2
oler1s
671 Expert 512MB
There isn’t any direct replacement for a frameset. If you’re looking to include one HTML document within another, without using a frameset, it is not possible. You cannot divide your HTML document through HTML alone. Yes, this incurs bandwidth penalties when parts of your site are unchanging. You can reduce the penalty by properly using CSS and keeping the HTML to markup only.

With larger sites, the pages are compiled on the fly. This is done with the help of server side programming. If you’re looking for a pure HTML solution, you’re out of luck.

To keep a webpage static and reload only a portion of it, AJAX can be used. But this is not like HTML either. A significant amount of programming and work must be done on both the server and client side, and you need to have a certain level of technical expertise.
Jul 25 '08 #3
There isn’t any direct replacement for a frameset. If you’re looking to include one HTML document within another, without using a frameset, it is not possible. You cannot divide your HTML document through HTML alone. Yes, this incurs bandwidth penalties when parts of your site are unchanging. You can reduce the penalty by properly using CSS and keeping the HTML to markup only.

With larger sites, the pages are compiled on the fly. This is done with the help of server side programming. If you’re looking for a pure HTML solution, you’re out of luck.

To keep a webpage static and reload only a portion of it, AJAX can be used. But this is not like HTML either. A significant amount of programming and work must be done on both the server and client side, and you need to have a certain level of technical expertise.
Thanks ^^, although I am not looking for a pure HTML answer. As of now, I am currently teaching myself javascript and PHP. However my skills of both languages as of now are remarkably low. How would I accomplish this with CSS?
Jul 27 '08 #4
oler1s
671 Expert 512MB
How would I accomplish this with CSS?
I think you misunderstand me. CSS does not present you an alternative to framesets. I mentioned CSS as one way to reduce the bandwidth penalty of sending out similar content. If two pages use the same CSS file, said CSS file won't be requested twice, saving you a bit of bandwidth.
Jul 27 '08 #5
I think you misunderstand me. CSS does not present you an alternative to framesets. I mentioned CSS as one way to reduce the bandwidth penalty of sending out similar content. If two pages use the same CSS file, said CSS file won't be requested twice, saving you a bit of bandwidth.
okay, thanks ^^. Well, currently I am learning Ajax so, maybe I'll be able to figure out a way through that. What do you think?
Aug 5 '08 #6
acoder
16,027 Expert Mod 8TB
That's one way assuming everyone has JavaScript enabled. On the server-side, you could use SSI Server-Side Includes, if supported, or use the server-side language to include the files on each page, e.g. header, footer.
Aug 5 '08 #7
That's one way assuming everyone has JavaScript enabled. On the server-side, you could use SSI Server-Side Includes, if supported, or use the server-side language to include the files on each page, e.g. header, footer.
I need to learn more about SSI, and also couldn't you create a server where all the necessary resources are installed there, and utilzed there? So if say a spider of the web were to come to the site, they wouldn't need to have everything installed.

how would that effect the loading time?
I hope that the users don't have java disabled.
Aug 15 '08 #8
acoder
16,027 Expert Mod 8TB
Server-side Includes should probably be enough for your requirements. If you need something more advanced, use a server-side language.
Aug 16 '08 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: CMAR | last post by:
I have been trying to validate a frameset document with either the HTML 4.01 or XHTML Transitional DOCTYPE. But I am finding that various <frameset> attributes ( framespacing="0", border="0",...
14
by: x | last post by:
Greetings everyone: I am trying to get CSS to work with a framed web page, but I cannot. Does anyone know the syntax required in a CSS specification to specify attributes of the frames? ...
5
by: Martin Franklin | last post by:
I have a simple 2 page frameset that I am trying to protect using asp. I've included the following code listed below at the top of each page including the frameset page in an attempt to protect...
10
by: David Shorthouse | last post by:
Hey folks, I have my entire ASP-driven site in a one-frame frameset to preserve a static URL in a browser's address bar. I also have a customized 404 page to redirect a visitor to the top,...
5
by: terry | last post by:
Hi, Question: When using Framesets and Server.Transfer in the Application_Error event handler is there a mechanism to get the error page to display in the total view of the browser not just in...
9
by: DaveF | last post by:
I have an ASP site that has a frameset below. I am in the process of redesigning/coding in ASP.NET. What are my alternatives to framesets. The execute frame does most of the processing. This is a...
4
by: Pete | last post by:
Hello- I am have a real trying time finding information on this subject. I would like to create a web page that utilizes framesets (top & bottom) and a navigation control I created from a datalist...
4
by: lashnjo | last post by:
hello, is it possible to click on one frameset, (ex. an image) and then for it to load a new frame in two different framesets and a new one in itself
1
by: Mark Rae | last post by:
Hi, Firstly, I have not the slightest intention of using framesets - the reason for this post is merely to ask for assistance in furthering my understanding of XHTML. I was under the...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.