A frame is an area on a site (window) in whichsee another web page. 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 in creatinglarge 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 website designers provideautomatic 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 desired 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 in creatinglarge 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
Many programs for creating sites provide the ability to install the appropriate module. For example, for the Joomla frame, this is the "Wrapper" module.
It can be found and created in the CMS control panelJumla: "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 the plugin is turned off.
After this procedure, you can return to the "Module Manager", create a frame and set its parameters.
As can be seen in the picture, the module allowsset: 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 page menu. 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 since receded into the background. They were able to replace modules, settings in the designer 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 interrelatedframes 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 separate window);
- frameset (it creates an entire structure with the help of it);
- iframe ("floating" frame);
- noframes (in case the frame is not displayed in the user's browser).
The first specified tag always fits in the pair