Results 1 to 2 of 2

Thread: Website Fading Slideshow div background?!

  1. #1
    Join Date
    Apr 2011
    Location
    Harrogate
    Posts
    3

    Website Fading Slideshow div background?!

    Hello and firstly thank you for taking the time to look at my [First] post in your wonderful knowledge rich forum.

    I am making a website which needs a fading background image slideshow in a centered DIV on the homepage... I have downloaded a Javascript fading slideshow and put it into the centered div. I then needed to put my text on top of the slideshow background so made a content div and tried to position it on top of the other using various methods including Z-index.. but the slideshow would not go behind the text it always shows above..

    I have an example website the uses the desired effect;
    http://www.louisebradley.co.uk/portfolio/

    Could anyone help me out with trying to find out how to re-create this effect

  2. #2
    Join Date
    May 2011
    Posts
    19
    Bradley's got a lot of stuff going on. (Impressive site!) Which are you trying to do?

    Is the slideshow in some JS that you neither wrote nor understand? Writing a slideshow is a good beginner's JS project.

    Try this in HTML (no JS). Put up a page with a lovely image. Create a second div, over the image. Put some text into div 2. If the image comes first in the HTML, it will be painted first. (That implies that the second image is painted over it.) If you DO NOT use any background in the second div, the text will be pained over the image.

    My site begins with a div that says Welcome! in the center. The Welcome! fades away (5 second cheshire cat act). You might want to steal some of my fade code - it solves ugly cross-browser issues. www.MartinRinehart.com.

Similar Threads

  1. Fading background images Randomly
    By jwalker80 in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 0
    Last Post: 23 Jun 2009, 05:21 PM
  2. CSS div/background issue
    By greggory.hz in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 18 Jun 2009, 03:36 PM
  3. Help:Background fading
    By afam4eva in forum Web Design, HTML Reference and CSS
    Replies: 1
    Last Post: 21 Mar 2009, 06:27 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •