473,804 Members | 3,182 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Using frames / iframes


I believe that different browsers treat frames/iframes differently, and this
is one of the reasons to avoid using them in websites/applications.

Are there any other reasons to avoid them?

In my experience I find them clunky and messy to implement using javascript
and prefer to keep the whole web page as a single page.
Sep 12 '05 #1
1 1606
Unless you write some fancy javascript hooks, you can pretty much right
off back and forward buttons for intuitive navigation when you go to
frames.

However, every coding style has it's applications.

If you are building complex business applications that deal with tons
of data, complex data structures and workflows, frames are the best way
to go. Otherwise the users always complain about managing multiple
windows. Sure tabs make this less painful in the better browsers but
not much.

If you want to do frames be ready to write some rather complex JS to
make the application work properly.

If you cannot do JS for these sites, I would avoid frames. Frames
without JS are just too mundane un-intuitive. For example, when a user
navigates to the sub frame from a Google search result, they will not
get the entire frameset. This will result in the user only getting the
one frame. This can be prevented by the server checking if the user
requested the frameset within n seconds and if not send them the
frameset instead (complex). Also, JS can be written to search for the
frameset and redirect to the frameset as necessary (has a few tails but
is realtively easy to do)

JsD

Sep 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
1907
by: Dave Moore | last post by:
Hi All, I'm developing a website which incorporates a header section at the top, side areas and a central area. If I was developing the site with straight HTML, I'd simply use FRAMES. However, by using PHP I thought I'd be able to get around this as I use a single PHP to decide what information should be present in each area of the page and render it appropriately. However, I also need to incorporate 3rd party HTML files into the centre...
8
9421
by: '69 Camaro | last post by:
Perhaps I'm Googling for the wrong terms. Does anyone have links to examples of the syntax necessary to read the HTML on another Web page when that HTML is produced from JavaScript using the document.write( ) method? For a simplified example, I have two Web pages. Page 1 uses JavaScript with the following: htmlData = "<B>This is bold text.</B>"; document.write(htmlData);
13
2188
by: S Kalynuik | last post by:
Is there a way to allow css to act like a simple 2 frame setup. I want a fixed navigation header on all pages, website itself has 100+ pages, each is multi paged with sub pages. So what I could do in frame is have 2 frames and clicking in the header frame would load a seperate html page in the main frame, therefore not having to repeat the header code 100+ times, can this be done using css? I know css can use a float or fixed header...
11
2221
by: Kent Feiler | last post by:
One thing I like about frames is that they're a good place to stow Javascript. Javascript that I'd like to be around while the visible content of the screen changes goes in the frame declaration HTML file. It never needs to be reloaded and JS variables can be updated there as the visible screens progress. But...if I want to be a good internet samaritan and not use frames, what's the best way to replace that function?
11
16590
by: Grischa Brockhaus | last post by:
Hi, I'm trying to produce a div layout containing a header on the top with fixed height, a footer on the bottom using fixed height and a content layer using what's left of the browsers window. So my header div is defined at top:0; height:40px , my footer is defined as bottom:0; height:40px and the content is defined as top:40px;bottom:40px; This works very well with firefox but doesn't work with IE, as IE ignores the bottom statement...
1
3613
by: harshavardhan | last post by:
Hi, here is the problem: Consider there are three frames in a HTML page. When I try to print these frames using java script, only the third document is being printed thrice. <HTML><HEAD> <script language="javascript"> var len = 0; var i = 0; var t; function printAll(){ len = document.frames.length; for(var i=0;i<len;i++){ frames.focus();
0
1335
by: hinchb | last post by:
I have coded a Non-CSS menu using IFRAMES which I would like your opinion on. It seems to work in all the browsers I've tested. Do you see any disadvantages in using something like this. Here is the code. <style> #top { position: absolute; left: 4%;
56
3887
by: Deepan HTML | last post by:
Hi All, Currently i am working in a framed environment where i have divided the window as 20% and 80% and the 20% is used for navigation purpose and right frame for displaying the orignal content. Now i want to Disable ad Enable the menu items which are placed in the left frame for navigation purpose. Can any of you input me with any idea as how to proceed? If you need any other information then please let me know.
3
1984
meenakshia
by: meenakshia | last post by:
hi forum i m facing a problem regarding printing withing the frames page i have a main frame page. which has on the left the menu html page loaded and on the right the target content page. when i try to open a page on the right and print two different pages using iframes it does not work , on the contrary when i load the page without frames it does the print job perfectly.i fail to understand why this is happening i m posting the partial...
0
9577
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10569
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10075
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9140
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7615
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5519
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4295
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3815
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.