|
|
|
|
|
- Overview
- How to?
- Importing an HTML page into a WEBDEV site
- Imported elements
Importing an HTML page into a WEBDEV site
WEBDEV allows you "suck up" the existing HTML pages. The page is imported into the WEBDEV project and each page element is automatically converted into a WEBDEV element (Static Text control, HTML control, Link control, ...). The principle of this feature is mainly based on retrieving the style of an HTML page. Importing an HTML page into a WEBDEV site To import an HTML page into a WEBDEV site: - Open the WEBDEV project into which the page must be imported.
- On the "Project" tab, in the "Project" group, expand "Import" and select "An HTML page".
- Specify the path or the URL of the HTML page to import. The preview of the HTML page to import is displayed.
Remark: You can also launch the page import by simply dragging and dropping the HTM file into WEBDEV's page editor. - Select the import mode. The styles and the images associated with the imported page can be managed according to two methods:
- If the "I import an independent page into the project" option is selected:
- a WEBDEV style sheet (".WWS" file) is created and automatically associated with the imported page. This style sheet contains all the CSS styles of the initial page.
- the different images associated with the imported page will be copied to a specific directory ("<PageName>" subdirectory of the default project directory).
- If the "I import several pages of the same site into the project" option is selected:
- the styles of the imported page are automatically added to the style sheet associated with the project.
- the different images associated with the imported page will be copied into the "<ProjectName>_WEB" directory of the project.
- Validate. The HTML page is automatically included in the current WEBDEV project.
- If identical styles are identified in the HTML page to import, only one type is created in the imported page.
- If a style used in an already imported HTML page is detected, this same style will be re-used.
Note When importing an HTML page, it is advisable not to copy and paste. Imported elements The table below presents the main transformations performed between the initial HTML page and the created WEBDEV page: | | Source HTML page | Created WEBDEV page |
---|
Link | Link control associated with the action of the source link | Java applet | Java Applet control associated with the source Java Applet | <OBJECT> and <BLINK> tags | HTML control with the content of source tags | Image | Image control associated with the source image | Static | Static control or HTML Static control with the content of initial static. | Remark: Maparea are not imported.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|