Backstretch jQuery Plugin
Permalink
Hey,
I wanna try jQuery Plugin backstretchhttp://srobbin.com/jquery-plugins/backstretch/...
I set it up as explained but it only works with V1, not with V2. What am I doin wrong?
heres my site:
http://lmenges.org
Thanks!
I wanna try jQuery Plugin backstretchhttp://srobbin.com/jquery-plugins/backstretch/...
I set it up as explained but it only works with V1, not with V2. What am I doin wrong?
heres my site:
http://lmenges.org
Thanks!
Not sure why someone is charging for a free jquery plug-in? Just add the jquery code to the function.js file in the js folder - in whatever theme you are using - just don't load the jquery library again because it is already loaded by Concrete5.
Also - besides the jquery twice thing - the order that some scripts load make a difference - if a javascript file changes a css class and then the CSS loads after - it may cancel the switch in the first place. Anyway they have to be in the right order. usually CSS first then Javascript - most people these days put the javascript at the bottom - just before the </body> tag
Got it!
I included the backstretch.js and the call under the <?php Loader::element('footer_required'); ?> tag.
Thank you!
I included the backstretch.js and the call under the <?php Loader::element('footer_required'); ?> tag.
Thank you!
http://www.concrete5.org/marketplace/addons/backstretch/...
You could also use CSS to do the heavy lifting depending on the browsers you're looking to support:
More on that stuff:
http://adamjohnsondesign.com/blog/use-background-size-yepnope-moder...