Soldato
- Joined
- 11 Jul 2004
- Posts
- 16,147
- Location
- Neptune
Trying to implement a version of this: http://www.bbc.co.uk/glow/docs/1.7/api/glow.widgets.carousel.shtml
On this page: http://www.bbc.co.uk/glow/docs/1.7/furtherinfo/widgets/carousel/ it gives some different variations of how to implement some of the various carousels supported.
I can't get it working!
Playing about I have this VERY basic page working, but can someone help me get any of the carousels on that page working? I'm confused.
This is the basics page I have working just fine:
On this page: http://www.bbc.co.uk/glow/docs/1.7/furtherinfo/widgets/carousel/ it gives some different variations of how to implement some of the various carousels supported.
I can't get it working!

Playing about I have this VERY basic page working, but can someone help me get any of the carousels on that page working? I'm confused.

This is the basics page I have working just fine:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Hello Glow</title>
<script src="../js/glow/1.7.3/core/core.js" type="text/javascript"></script>
<script src="../js/glow/1.7.3/widgets/widgets.js" type="text/javascript"></script>
<link href="../js/glow/1.7.3/widgets/widgets.css" type="text/css" rel="stylesheet" />
<script type="text/javascript">
glow.ready(function() {
glow.dom.get("p").css("border", "2px dashed #CCC");
glow.events.addListener(
".salutation",
"click",
function () {
alert(glow.dom.get(this).html());
}
);
});
</script>
</head>
<body>
<p class="salutation">Hello,</p>
<p class="salutation">World</p>
</body>
</html>