Jump to content
xisto Community

games4u

Members
  • Content Count

    7
  • Joined

  • Last visited


Reputation Activity

  1. Upvote
    games4u got a reaction from cityzen in Javascript Slideshow Tutorial How to make a slideshow in JavaScript   
    The easiest way of background image slideshow is by assigning different backgrounds to different <div> tags.So the following part of above code:

    <div id="slideShow"> ... <div id="slide10"> Some Text Here... </div> .... </div>
    can be changed to:

    <div id="slideShow"> ... <div id="slide10" style="background-image:url(bg_image_10.bmp)"> Some Text Here... </div> .... </div>
     
    The style attribute can be given for all <div> tags. And if needed the text in all <div> tags can be same - this creates a background changing effect.
     
    I hope that solved your problem

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.