Skip to content

Instantly share code, notes, and snippets.

@fern4lvarez
Created May 26, 2012 11:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fern4lvarez/2793591 to your computer and use it in GitHub Desktop.
Save fern4lvarez/2793591 to your computer and use it in GitHub Desktop.
Simple bXSlider example
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Slider</title>
<style type="text/css"></style>
<script src="http://code.jquery.com/jquery-latest.js" type="text/javascript"></script>
<script src="http://bxslider.com/sites/default/files/jquery.bxSlider.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){ $('#slider1').bxSlider(); });
</script>
</head>
<body>
<div id="slider1">
<div>Slide one content</div>
<div>Slide two content</div>
<div>Slide three content</div>
<div>And so on...</div>
</div>
</body>
</html>
@bhavik-obl
Copy link

How can I change the background color of slider as well as the arrows ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment