Adaptive Background help (JQuery)

Discussion in 'jQuery' started by Erick G, Feb 5, 2014.

  1. #1
    Hello all,

    I have been trying to get the Adaptive Backgrounds JQuery plugin to work with no luck.

    Adaptive Background plugin -
    http://briangonzalez.github.io/jquery.adaptive-backgrounds.js/

    This is what I have so far.

    <!doctype html>
    <html lang="en">
    <head>
        <title>Adaptive Background Test</title>
    
        <meta charset="UTF-8">
    
        <script>src="js/jquery-2.1.0.min.js"</script>
        <script>src="js/jquery.adaptive-backgrounds.min.js"</script>
    
    </head>
    <body>
    
    
        <img src="img/lion.jpg" data-adaptive-background='1'>
    
        <br>
    
        <img src="img/lion2.jpg" data-adaptive-background='1'>
    
            <script>
        $(document).ready(function(){
      $.adaptiveBackground.run()
    });
        </script>
    
    
    </body>
    </html>
    HTML:
    If anyone can help me out I would really appreciate it!

    Thank you in advance! :)
     
    Erick G, Feb 5, 2014 IP