You can apply these properties only on the global context.
For Netscape 3 users only : desactivate the withCSS option to have a better result !
Name |
Description |
Default value |
---|---|---|
html.lang |
This is the language of your document. It is used for date and
table of contents title. see date and tocTitle. A better way to set the language of your document is to set the attribute LANG on the element HTML. (<html lang="fr">) |
en |
bigger |
Add several files for differents resolutions. not yet supported |
no |
height |
The slide must be on one page exactly. this property has two values : normal or full. |
full |
javascript |
If you want to do your conference with Internet Explorer 4 and to
have special keys to browse your slides, set this option to yes.
Warning : don't add this feature if you want to look your slides with Netscape 3 ! |
no |
separator | This property indicates the element's name to find find all slides. | H1 |
printer-size |
This property defines the relative size of the font for the
printer, in a range from 1 to 7. A value of 1 results in the
smallest font, and a value of 7 results in the largest font. You
can also specify the size using a plus or minus sign in front of
the number to change the size with respect to the base font size.
This property is only used by the file alls.htm (because netscape 4 doesn't use CSS for printing) or by all files if the property withCSS is set to no |
H1 |
withCSS | This property set the CSS support or not. Use this property if you don't have a CSS browser (poor guy :-( ). | yes |
You can apply these properties on a header or the global context. (except for the type property which is only applied on a header).
You can have six headers :
Name |
Description |
Default value |
---|---|---|
color |
This property describes the foreground color of a text content.
If you are looking for all available values for this property, see the latest Cascading Style Sheets specification on the W3C Site. |
black |
background-color |
This property describes the background color of a text content.
If you are looking for all available values for this property, see the latest Cascading Style Sheets specification on the W3C Site. |
white |
background-image |
This property sets the background image of an element to be an
image. When you activate this feature, background-repeat, background-position and background-attachment are
availables.
If you want to have further informations about background images processing, please see the latest Cascading Style Sheets specification on the W3C Site. |
no value |
background-repeat | If a background image is specified, this property specifies whether the image is repeated, and how. see background-image for further informations. | repeat |
background-attachment | If a background image is specified, this property specifies whether it is fixed with regard to the viewport or scrolls along with the document. see background-image for further informations. | no value |
background-positon | If a background image has been specified, this property specifies its initial position. see background-image for further informations. | no value |
text-align |
This property specifies the alignment of data and the justification
of text in a cell.
If you are looking for all available values for this property, see the latest Cascading Style Sheets specification on the W3C Site. |
white |
valign |
This property specifies the vertical position of data within a
cell.
If you are looking for all available values for this property, see the latest HTML specification on the W3C Site. |
white |
width |
This property supplies user agents with a recommended cell width in
percentage (and ONLY in percentage).
If you want to have a better look for your slide, try to have a total of 100% for your three top and bottom headers. By default, a header takes 1/3 of the screen. |
33% |
type |
This property specifies the type of a header.
|
none |
Name |
Description |
Default value |
---|---|---|
previous-url | This property contains the relative URL for the previous image button. | ./images/left.gif |
next-url | This property contains the relative URL for the next image button. | ./images/right.gif |
toc-url | This property contains the relative URL for the table of contents image button. | ./images/up.gif |
bigger-url | This property contains the relative URL for the bigger file image button. | ./images/barl.gif |
Name |
Description |
Default value |
---|---|---|
logo-url | This property contains the relative URL for the logo image button. | no value |
Name |
Description |
Default value |
---|---|---|
font-family |
This property specifies a prioritized list of font family names
and/or generic family names.
If you are looking for all available values for this property, see the latest Cascading Style Sheets specification on the W3C Site. |
Helvetica, sans-serif |
font-size |
This property selects the size of the font.
If you are looking for all available values for this property, see the latest Cascading Style Sheets specification on the W3C Site. |
16pt and medium for headers |
font-style |
This property selects between normal (sometimes referred to as
"roman" or "upright"), italic and oblique faces within a font
family.
If you are looking for all available values for this property, see the latest Cascading Style Sheets specification on the W3C Site. |
normal |
font-weight |
This property selects the weight of the font.
If you are looking for all available values for this property, see the latest Cascading Style Sheets specification on the W3C Site. |
normal |
text-decoration |
This property describes decorations that are added to the text of
a header.
If you are looking for all available values for this property, see the latest Cascading Style Sheets specification on the W3C Site. |
none |
text |
This property contains the text to be added in the header.
The text can contain macro. See the following section for further information about macro. |
no value |
JSlider allows you to define macro and use it in the text property. A macro definition begin by the keyword code following by a dot and following by your macro name.
Example :
macro.myName: Thierry Kormann
You can use it in the text property as follows : the macro markup begins with an ampersand (&) following by the name of your macro and following by a semi-colon (;).
Example:
topLeft.type: note topLeft.text: &myName;
Macro names are case-sensitive and can't contain white spaces.
JSlider contains some predefined macros and international supports for the date and the title of the table of contents. You can overloaded all predefined macros with your owns.
Meta data are macros. The parser converts all meta data informations into macro definitions. For example, this line in your HTML document :
<META name="copyright" CONTENT="© 98">is strictly equivalent to this one in your template file :
macro.copyright: © 98
Macro resolution : First, the loader tries to find the exact definition (e.g. macro.<name>) then the loader looks for a dynamic macro (e.g. year, currentPage, etc.) and, after, it tries to find the macro for the specific language (e.g. macro.<name>.<lang>). At this point, if no value are found, the macro is declared undefined.
If the loader can't find a macro during an expansion, the macro leaves in the text. You can use all predefined character entity references from HTML 4.0 like &. Overloading a predefined character entity reference can produce an undefined result on the output.
Name |
Description |
Default value |
---|---|---|
year | This macro specifies the current year. | N/A |
month | This macro specifies the current month (depends on the language). | N/A |
imonth | This macro specifies the current number of the month (1-12). | N/A |
day | This macro specifies the current day in the week (depends on the language). | N/A |
iday | This macro specifies the current number of the day (1-31). | N/A |
date.fr | This macro specifies a default date for the french language. | &month; &year; |
date.en | This macro specifies a default date for the english language. | &month; &year; |
date | This macro specifies the current date. If there is no definition found in your template, the jslider « extends » this macro with the language of the document (example : macro.date.fr). For the moment, only the english and the french languages are predefined. | no value |
currentPage | This macro specifies the current page number of the slide. | N/A |
nbPage | This macro specifies the current number of pages in your document. | N/A |
page | This macro specifies a page number representation for your document. | ¤tPage;/&nbPage; |
mainTitle | This macro specifies the current title of your document. | N/A |
slideTitle | This macro specifies the current title of the slide. | N/A |
title | This macro specifies a title representation for your document. | &mainTitle; - &slideTitle; |
tocTitle.fr | This macro specifies a default table of contents title for the french language. | Table des matières |
tocTitle.en | This macro specifies a default tocTitle for the english language. | Table of contents |
overview.en | This macro specifies the default title of the first slide in english. | <too big, see the result/> |
overview.fr | This macro specifies the default title of the first slide in french. | <too big, see the result/> |
author1-name |
This macro specifies the current author of the document.
There is an exception for the macro author1-name. The metadata author is converted into the author1-name macro and not into the macro author. |
Unknown |
author1-url | This macro specifies the current URL of the author of the document. | no value |
author1 | This macro specifies an example for the insertion of the author in your slides. |
<a class="author" href="&author1-url;" >&author1-name;</a> |
author2-name |
This macro specifies the current author of the document.
There is an exception for the macro author2-name. The metadata author is converted into the author2-name macro and not into the macro author. |
Unknown |
author2-url | This macro specifies the current URL of the author of the document. | no value |
author2 | This macro specifies an example for the insertion of the author in your slides. |
<a class="author" href="&author2-url;" >&author2-name;</a> |
authors | This macro specifies authors names of your slide. It depends on the value of author2-name. If there is no value, the macro is equivalent to &author1;. Otherwise the macro is equivalent to &author1; & &author2;. The method to obtain this result is not specified. | N/A |
copyright | This macro specifies the copyright of the document. If there is a value on this macro, JSlider generates a meta data about your copyright in all generated files. | no value |
These properties can be only applied for topLine and bottomLine.
Here is an example :
topLine.type: solid bottomLine.type: image bottomLine.image: ./images/separator.gif
Name |
Description |
Default value |
---|---|---|
type |
This property specifies the type of the line.
|
solid |
url | This property specified the URL of the image if the type property is equals to image | no value |
JSlider have some useful (and unclassified) features. This part is reserved for this.
If you have, in your HTML document, those following element and/or attributes, they are reported on all generated slides :
That's all folks, have fun with JSlider !