• 0
Sign in to follow this  
Followers 0

Div Background Slideshow


Question

Posted · Report post

In Pagelines 2.0, Adam Munns created a plugin called Superfade that was free and based upon Scott Robbin's jQuery "Backstretch" script.

 

Well, while that might not be available for DMS, I'm trying to just load the script and write a little jQuery to make it work.  Scott Robbin's gave some instructions on his website, but for the life of me, I can't get it to work for the background of one of my elements.

 

I'm trying to get it to work on this page: http://convertwith.me/our-process/

For the ID #pl_area3o2o3m which has a class equivalency of .tester-area

 

This is what I have in the "custom scripts" area:

<script>  
   $(document).ready(function()
  {
      $("#pl_area3o2o3m").backstretch([
      "http://dl.dropbox.com/u/515046/www/outside.jpg"
    , "http://dl.dropbox.com/u/515046/www/garfield-interior.jpg"
    , "http://dl.dropbox.com/u/515046/www/cheers.jpg"
  ], {duration: 3000, fade: 750});
  });
 </script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery-backstretch/2.0.4/jquery.backstretch.min.js"></script>
<script src="jquery.backstretch.min.js"></script>

I've also try switching out the ID for the class .tester-area

 

jquery.backstretch.min.js is loading properly, so it has to be how I'm calling it in, but I can't figure out where I'm missing the mark.  

Suggestions would be great!

 

Thanks,

Steve

Share this post


Link to post
Share on other sites

7 answers to this question

  • 0

Posted · Report post

well, I try to help others out here on the forums when I can... but no help on this?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

cmunns, any suggestions?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Still nothing on the Superfade section/plugin?  

 

I'd really like to see that added to DMS.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

@cmunns, any chance you'll migrate this to DMS?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

alisamski thanks for the suggestion! Were you able to make this work with individual sections?  

 

An chance you have a DMS site I could look at as an example?

 

Thanks!

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

tsalstrand

I ended up not utilizing the plugin...went in another directions... but it did work in dms. I believe it takes on the entire site background...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0