Locations

LANSA WAM

Locations

The following table lists the locations available for styles and scripts.

Type

Location

Description

Style

header

Inside the XHTML <header>

body-top

Immediately after the XHTML <body> starts

Script

header

Inside the XHTML <header>

body-top

Immediately after the XHTML <body> starts

body-bottom

Just before the XHTML <body> ends

async

Script is loaded asynchronously after the DOM is ready

 

Choose the location according to your needs. For example, place scripts that are not needed until the web page is complete either at the end of the page or load it asynchronously.