next up previous contents
suivant: Méthodes associées à l'objet monter: Interaction avec JavaScript précédent: Interaction avec JavaScript   Table des matières

Propriétés associées à l'objet layer

A chaque attribut de la balise <LAYER> correspond une propriété de l'objet layer. L'accès à une propriété quelconque s'obtient de la façon suivante: objet.propriété.

Exemple: document.LAY1.name, document.layers["LAY1"].name ou document.layers[i].name permet d'accéder à la propriété name de l'objet d'identificateur LAY1.

Propriété Modifiable Descriptif
name N identificateur du layer
left O attribut LEFT
top O attribut TOP
pageX O attribut PAGEX
pageY O attribut PAGEY
visibility O attribut VISIBILITY
clip.top O attribut CLIP
clip.left O  
clip.right O  
clip.bottom O  
clip.width O attribut WIDTH
clip.height O attribut HEIGHT
background.src O attribut BACKGROUND
bgColor O attribut BGCOLOR
src O attribut SRC

next up previous contents
suivant: Méthodes associées à l'objet monter: Interaction avec JavaScript précédent: Interaction avec JavaScript   Table des matières
Pascal VERON 2000-04-07