Skip to content

Instantly share code, notes, and snippets.

@pavlakis
Created February 3, 2013 19:16
Show Gist options
  • Save pavlakis/4703236 to your computer and use it in GitHub Desktop.
Save pavlakis/4703236 to your computer and use it in GitHub Desktop.
A simple template for the slider example app
<!DOCTYPE HTML>
<html>
<head>
<title>A simple slider with jQuery and curl.js</title>
<link rel="stylesheet" type="text/css" href="/jQuery_curl/styles/slides.css">
<script src="/jQuery_curl/lib/jquery/jquery-1.9.0.js" type="text/javascript"></script>
<script src="/jQuery_curl/lib/curl/curl.js" type="text/javascript"></script>
<script type="text/javascript">
curl(
{
baseUrl: "/jQuery_curl/lib/projectA"
},
// call the main script
["slides/main"]
);
</script>
</head>
<body>
<div id="container">
<div id="frame">
<div id="slides_container">
</div>
</div>
</div>
<button id="arrow_left">Click for left</button>
<button id="arrow_right">Click for right</button>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment