Jump to content

Background image


jeremie
 Share

Recommended Posts

Hi ,

I'm having issue with a script i try to integrate to my homepage.

it is working just like i wanted but it's covering my title and menu bar which i have fixed on top.

i'm not sure if I explain myself right as i'm very new to this.

here is the script:

	<script type="text/javascript">
			jQuery(document).ready(function($){
					'use strict';
					jQuery('body').backstretch([
						<?php foreach($page->images as $image) { echo '"'."$image->url".'",'; } ?>
					], {duration: 4000, fade: 500, centeredY: 2000 });

			});
	</script>

thanks for your help.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...