Me again...to be more specific, why does the following NOT work in a
Windows XP install of Turbogears?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Javascript visual test</title>
<script type="text/javascript" src="/tg_js/MochiKit.js"></script>
</head>
<body>
<script language="javascript">
function test(theid){
new Highlight(theid);
fade(theid);
shake(theid);
}
</script>
<div id="div1"><p>The effects should take place here on div1 at the
click</p></div>
<form id="testform" title="testform">
<input type="button" id="mybuttonid" name="mybutton"
value="click" onclick="test('div1')" />
</form>
</body>
</html>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---