Here you can find examples and tutorials for all kind of scripting idea’s.
Javascript, Actionscript, Lingo and XHTML.
Tip: For adding CSS into an XHTML document use CDATA like:
<style type="text/css"> /*<![CDATA[*/ p.c1 {font-weight: bold} /*]]>*/ </style>
Making also javascript compatible for xhtml
<script type="text/javascript">
//<![CDATA[
alert("<This is compatible with XHTML>");
//]]>
</script>