I am trying to use RICO for the first time, and thought I would start of
with something easy. Rounded Corners.
I get this error every time: "Error: e has no properties"
And it takes me to line 765 in rico.js, which is this line
bgColor = this._background(e.offsetParent);
You can check the error on
http://www.philmccarty.com/pbm/js2.html
But my source is here:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="javascript" src="js/prototype.js"></script>
<script language="javascript" src="js/rico.js"></script>
<script language="javascript" src="js/util.js'"></script></script>
<script language="javascript">
Rico.Corner.round("mydiv");
</script>
</head>
<body>
<DIV id="mydiv" style="background-color: #FFE6BF">
some text 3
</DIV>
</body>
</html>
on 23.11.2007 19:37


