Jump to content
Sign in to follow this  
jeremie

Background image

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.

Share this post


Link to post
Share on other sites

Is the title and menu bar contained within a wrapping div? You could do this for the individual elements, but have you tried bumping up the z-index of the wrapping div or the ind. elements to bring them on top of the background image.

  • Like 1

Share this post


Link to post
Share on other sites

sorry for the dumb question I realised it was css related.

anyway thanks for the hint .

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...