472,981 Members | 1,512 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,981 software developers and data experts.

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 12570
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...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.