That's an onload conflict. Get rid of this:
Code:
<script type="text/JavaScript">
window.onload = function()
{
/*
The new 'validTags' setting is optional and allows
you to specify other HTML elements that curvyCorners
can attempt to round.
The value is comma separated list of html elements
in lowercase.
validTags: ["div", "form"]
The above example would enable curvyCorners on FORM elements.
*/
settings = {
tl: { radius: 20 },
tr: { radius: 20 },
bl: { radius: 20 },
br: { radius: 20 },
antiAlias: true,
autoPad: true,
validTags: ["div"]
}
/*
Usage:
newCornersObj = new curvyCorners(settingsObj, classNameStr);
newCornersObj = new curvyCorners(settingsObj, divObj1[, divObj2[, divObj3[, . . . [, divObjN]]]]);
*/
var myBoxObject = new curvyCorners(settings, "myBox");
myBoxObject.applyCornersToAll();
}
</script>
Find this in the slide show script (near its end):
Code:
window.onload=startscroll
Replace it with this:
Code:
window.onload = function()
{
/*
The new 'validTags' setting is optional and allows
you to specify other HTML elements that curvyCorners
can attempt to round.
The value is comma separated list of html elements
in lowercase.
validTags: ["div", "form"]
The above example would enable curvyCorners on FORM elements.
*/
settings = {
tl: { radius: 20 },
tr: { radius: 20 },
bl: { radius: 20 },
br: { radius: 20 },
antiAlias: true,
autoPad: true,
validTags: ["div"]
}
/*
Usage:
newCornersObj = new curvyCorners(settingsObj, classNameStr);
newCornersObj = new curvyCorners(settingsObj, divObj1[, divObj2[, divObj3[, . . . [, divObjN]]]]);
*/
var myBoxObject = new curvyCorners(settings, "myBox");
myBoxObject.applyCornersToAll();startscroll();
}
That will fix the onload conflict. There could be other problems.
Bookmarks