1HTMLDocument.addDocumentStylesKhaeyeat(m3okdauHylTaeM)LrDeofceurmeenncte.addDocumentStylesheet(3kaya)
2
3
4

NAME

6       HTMLDocument::addDocumentStylesheet - Adds a linked external stylesheet
7       to the document
8

SYNOPSIS

10       Void addDocumentStylesheet( HTMLDocument doc, [MediaType] media, String
11       uri )
12

ARGUMENTS

14       doc The HTML document
15
16       media A list of media types that this stylesheet applies to
17
18       uri The location of the stylesheet.
19

DESCRIPTION

21       Adds  a  linked  external stylesheet to the document. See the HTMLDocu‐
22       ment.MediaType (3kaya) documentation for an explanation of the  various
23       media types. Currently only CSS stylesheets are supported by this func‐
24       tion.
25
26
27    addDocumentStylesheet(doc,[MTall],
28                          "/styles/base.css");
29    addDocumentStylesheet(doc,[MTprint],
30                          "/styles/print.css");
31    addDocumentStylesheet(doc,[MTscreen,MTprojection,MThandheld],
32                          "/styles/visual.css");
33
34       If the media array is empty, [MTall] will be used.
35

AUTHORS

37       Kaya  standard  library  by  Edwin  Brady,  Chris  Morris  and   others
38       (kaya@kayalang.org). For further information see http://kayalang.org/
39

LICENSE

41       The  Kaya  standard  library  is free software; you can redistribute it
42       and/or modify it under the terms  of  the  GNU  Lesser  General  Public
43       License  (version  2.1  or  any later version) as published by the Free
44       Software Foundation.
45
47       HTMLDocument.MediaType (3kaya)
48
49
50
51Kaya                             DecemHbTeMrLD2o0c1u0ment.addDocumentStylesheet(3kaya)
Impressum