- Files corresponding to the framesets and to the pages
- Dynamic frameset and static frameset
- Frameset and page template
From version 18
, the framesets are available for backward compatibility with the former sites. However, they are not supported in HTML 5 and they are not recommended for the referencing and/or for the navigation from mobile devices.
We advise you to replace the framesets by pages that share page templates and/or control templates.
Via the management of framesets, WEBDEV allows you to display several HTML pages in the same browser window.
To perform this operation, each page is displayed in a specific area called frame.
The organization of the pages is performed and stored in a frameset.
A frameset displayed in the browser:
Schematic layout of the frameset in 4 separate frames:
Files corresponding to the framesets and to the pages
The framesets and the pages correspond to WEBDEV ".WWH" files. By default, these files are created in the main directory of the project.
When generating the pages of the site, the ".WWH" files are automatically converted into ".HTM" files. These HTML files are created in different directories depending on the type of the page:
- Dynamic page: subdirectories of the project languages (e.g. "US", "FR", etc.).
- Static page: subdirectories of the languages found in the "<ProjectName>_WEB" directory of the project ("MySite_Web/US" for example).
The HTML file corresponding to the frameset contains:
- the definition of the division of the different frames in the browser.
- the name of the pages opened when the frameset is displayed in the browser.
Dynamic frameset and static frameset
Depending on the type of pages found in the frameset, the frameset can be:
- dynamic: The frameset will display at least one dynamic page.
- static: The frameset will display static pages and/or semi-dynamic pages only.
Specify the type of the frameset in the frameset description: on the "Page" pane, in the "Edit" group, expand "Frame" and select "FrameSet description".
Frameset and page template
We recommend that you use page templates instead of framesets in your WEBDEV sites. Indeed, using page templates in your sites allows you to:
- optimize the speed when displaying the pages of the site.
- limit the number of generated HTML files (and therefore the number of HTML files downloaded to the computer of the Web user).
- easily create the site pages.
- define the layout of the site pages.
- easily update the site style book.
- simplify the management of targets for the site pages.