<html>
<head>
<title>Abakada CSS Samples: Dynamically Changing CSS List Style Types</title>
<link rel="stylesheet" href="/shared/netdemos.css">
<style type="text/css">
<!--
#theList {
font: bold 13pt arial; text-align: left;
margin-left: 10em; cursor: hand }
-->
</style>
</head>
<body>
<!-- #include virtual="~/shared/top.inc" -->
<div class="header"><h2>Abakada HTML Demo: Dynamically Changing CSS List Style Types</h2></div>
<hr size=1 width=92%>
<center>
<h5>This example uses inline event handlers to dynamically set a list object's type.</h5>
<p id="msg">Move the mouse over the list to change its style type.
Click on the list to change to another type.
Double-click to change to another type.
Move the mouse out to reset. </p>
<ul id="theList" onmouseover="this.style.listStyleType='circle'"
onclick="this.style.listStyleType='decimal'"
ondblclick="this.style.listStyleType='lower-alpha'"
onmouseout="this.style.listStyleType='disc'">
<li>item one
<li>item two
<li>item three
<li>item four
</ul>
</center>
<hr size=1 width=92%>
<!-- #include virtual="~/shared/viewsrc.inc" -->
</body>
</html>