A frame is an area on a site (window) in which another web page is visible. Webmasters use this opportunity to showcase the main page of the site of their friends or partners. The same technique is used to display the search form in the windows and its result, and so on.
But basically the frames are used to create large web portals, where a lot of menu items and submenus are required. About these usually say: "site on the frames." To create such a resource requires a good knowledge of the HTML-language.
Creating frames in the site builder
Some site designers provide automatic generation of such code. Usually the button for adding a frame is in the main menu of the program. First you need to place the cursor in the right place on the page, then click the button, the window will open (as shown in the screenshot). In it, you can set the address of the page that will open in the frame, and adjust the dimensions: width and height.
But basically the frames are used to create large web portals, where a lot of menu items and submenus are required. About these usually say: "site on the frames." To create such a resource requires a good knowledge of the HTML-language.
With the help of this "service" it is possible to create several frames on the page, that's just the interconnected elements so you do not get.
Frames in CMS
In many programs for creating sites, it is possible to install the corresponding module. For example, for the Joomla frame, this is the "Wrapper" module.
It can be found and created in the control panel of CMS Jumla: "Extensions" - "Module Manager" - "Create" (a round button of orange color with a plus sign inside). In the pop-up window, in the list, you will see the "wrapper" module.
If he is not here, then it is not included. To use it, you first need to activate it here: the "Extensions" tab, then "Extension Manager", then the "Management" tab. And look in the list that opens, you can enter the word: Wrapper for a quick search in the "Filter" field. Opposite this module should be a green icon with a tick inside. A red circle with a dot inside will indicate that this plugin is off.
After this procedure, you can return to the "Module Manager", create a frame and set its parameters.
As you can see in the picture, the module allows you to set: the header above the frame, the position of the module, select the pages of the site on which it will be displayed. And also adjust the width, height; Add a frame and the actual link to the web page. If in the frame you want to display the main page of a site at full width, then 100%, set by default, will not be enough. You can immediately put it safely 400%. Altitudes of 200 are usually enough to display the top menu of the page. All the rest of the content will be visible if the user (the site visitor) uses the scroll bar.
Here is an example of what a frame in Jumla is.
The Jumla module for creating a frame is very convenient and easy to use. However, its capabilities are limited, as are the capabilities of the designer.
History and reality
In the practice of creating sites from frames, this tag (its application) has long ago receded into the background. They were able to replace the modules, settings in the constructor programs that generate code for the web page without the participation of the site builder. However, in some cases this is not enough. For example, when a frame is an integral complex structure of the areas displayed in the browser. This is how its owners see the complexity of structured sites. On its creation are only in extreme cases, because Framey's sites are created exclusively with the help of specialized tags.
Complex structured sites
For them, the creation of several interrelated frames is the optimal solution for organizing content on the pages of the resource. This, as a rule, large portals, growing every year more and more.
How to achieve the same result? How to create a frame structure?
How to write a frame into the page code
Frames in HTML are added using tags:
- Frame (for a single window);
- Frameset (with the help of it an entire structure is created);
- Iframe ("floating" frame);
- Noframes (in case the frame is not displayed in the user's browser).
The first specified tag always fits in the