smilText Examples: BasicText ModuleNote: IE cannot read smilText tags inside the html fileExample 1: Hello World!view smilText code Example 2: Example 1 with duration = 10sview smilText code Example 3: Example 2 with a line breakview smilText code Example 4: Example 3 with TEV and CLEAR tagsview smilText code Example 5: Example 4 without explicit durationview smilText code Example 6: Example 5 with explicit duration = 3sview smilText code Example 7: smilText tag inside the html fileview smilText code Example 8: Example 7 with textWrapOption = wrapview smilText code |
smilText Examples: TextStyling ModuleExample 9: Hello World in DIV, P and SPAN elementsview smilText code Example 10: Example 9 with textBackgroundColor attributeview smilText code Example 11: Example 9 with textColor attributeview smilText code Example 12: Example 9 with textStyle and textWeight attributesview smilText code Example 13: Example 9 with textFontSize and textFontFamily attributesview smilText code Example 14: Example 9 with textWritingMode and textAlign attributesNote: textWritingMode will be available in CSS3. So far only IE supports 'tb-rl' and 'lr-tb'view smilText code Example 15: textDirection attributeview smilText code Example 16: textMode = replaceview smilText code Example 17: textPlace attributeNote: I still do not know how to do it.Example 18: textStyle and textStyling elements (+ some timing to make it fun).view smilText code Example 19: Testing xml:space. smilText code inside html.Note: IE doesn't keep whitespaces correctly (Problem reported in some foruns). Finally, for xml:space=preserve and textWrapOption=wrap I've used a CSS style property called whiteSpace='pre-wrap' and it is not supported by IE.view smilText code view smilText code |
smilText Examples: TextMotion ModuleExample 20: textMode = crawlview smilText code Example 21: textMode = scrollview smilText code Example 22: textMode = jumpNote: TODOview smilText code Example 23: textRate attributeNote: IE seems to present a problem while using different textRates. I did not find out the reason yet.Crawl modeview smilText code view smilText code view smilText code Scroll modeview smilText code view smilText code view smilText code Jump modeNote: TODOExample 24: textConceal attributeNote: TODO |