How to customize a full screen background image slideshow with Vegas jquery plugin -
I need help customizing a jQuery plugin I do not have much experience with javascript or jQuery. I am a very newbie
I downloaded the Vegas 1.3.4 plugin because I have to do a full screen background slideshow on a school project that I'm working on. But I do not know how to customize this plugin. I think 'jquery.vegas.js' is where all the magic happens
I read through the documentation for slideshows here: and found this piece of code:
$ Vegas ('Slideshow', {Background: [src: '/img/background1.jpg'}, {src: '/ img / background2.jpg'}, {src: '/ img / background3.jpg'}]} ) ('Overlay');
Where will I keep this piece of code? Whether & lt; Head & gt; Here? & Lt; / Head & gt;
seems to go in or does it 'jquery.vegas.js' that I will specify your background picture?
It would be very helpful if someone can help me solve this little puzzle :)
Viewing Source, Code to & lt; Head & gt; & Lt ;! - here - & gt; & Lt; / Head & gt;
After importing
Jquery.vegas.js
script it conforms to W3C.
But for demonstration, before closing,
& lt; Script type = "text / javascript" src = "http://code.jquery.com/jquery-1.11.1.min .js" & gt; & Lt; / Script & gt; & Lt; Script type = "text / javascript" src = "jquery.vegas.js" & gt; & Lt; / Script & gt; & Lt; Script & gt; $ Egaze ('Slide Show', {Background: [[src: '/ img / bg1.jpg', Fade: 1000}, {src: '/ img / bg2.jpg', Fade: 1000}, {src: / img /bg3.jpg ', Fade: 1000}]}) (' Overlay ', {src:' / vegas / overlays / 11.png '}); & Lt; / Script & gt; & Lt; / Body & gt;
Comments
Post a Comment