Amazing Background & Slideshow Plugin - Vegas

Amazing Background & Slideshow Plugin - Vegas
File Size: 30.3 KB
Views Total:
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

How to start using jQuery?

More in this category...

View our Recommended Plugins

TOP 100 jQuery Plugins 2013

Vegas is a amazing jQuery Plugin for adding beautiful fullscreen backgrounds to your webpages. You can also use it to create a stylish Slideshwo for your webpage.

Basic Usage:

1. Include jQuery Library and jquery.vegas.js in your head section

<script type="text/javascript" src="/jquery.js"></script>
<script type="text/javascript" src="/vegas/jquery.vegas.js"></script>

2. Include the CSS

<link rel="stylesheet" type="text/css" href="/vegas/jquery.vegas.css" />

3. call the plugin with the options you want

$( function() {
  $.vegas({
    src:'/images/background.jpg'
  });
  $.vegas('overlay', {
    src:'/vegas/overlays/13.png'
  });
});

Change log:

v1.3.5 (2014-10-14)

v1.3.4 (2013-12-16)

  • Allow overlay(false) to disable overlay when vegas is already running
  • Fix loading option which didn't work on slideshows

This awesome jQuery plugin is developed by jaysalvat. For more Advanced Usages, please check the demo page or visit the official website.