What's new
HTML Forums | An HTML and CSS Coding Community

Welcome to HTMLForums; home of web development discussion! Please sign in or register your free account to get involved. Once registered you will be able to connect with other members, send and receive private messages, reply to topics and create your very own. Our registration process is hassle-free and takes no time at all!

Help with randomizing image....

fobovox

New member
HI..

I'm completely new to javascript & have recently started using "easy_background" to add a background slideshow to my startpage. Everything works perfectly as expected, but the images are only displayed in the order I have specified in my html. Is there any way I can make them be randomized instead ?? Like I said I'm completely new to javascript & could use some help. Many thanks in advanced for any replies or help. Here's the javescript I have in my html....


HTML:
<script src="easy_background.js"></script>

  <script>
    easy_background("body",

      {
        slide: ["001.jpg", "002.jpg", "003.jpg", "004.jpg", "005.jpg", "006.jpg", "007.jpg", "008.jpg", "009.jpg", "010.jpg", "011.jpg", "012.jpg", "013.jpg", "014.jpg", "015.jpg", "016.jpg", "017.jpg", "018.jpg", "019.jpg", "020.jpg", "021.jpg", "022.jpeg", "023.jpg", "024.jpg", "025.jpg", "026.jpg","027.jpg",],

        delay: [4000, 4000, 4000, 4000, 4000, 4000, 4000, 4000, 4000, 4000, 4000, 4000, 4000, 4000, 4000, 4000, 4000, 4000, 4000, 4000, 4000, 4000]
      }


    );
  </script>
 
Last edited:
Organizational size: Companies that focus on a large number of projects typically have large budgets. However, it's important to choose a company based on the size of the project. Big banks, tech giants, and other large businesses will often work with larger, more stable software development companies for example this article https://syndicode.com/blog/custom-software-development-cost/. Moreover, small and mid-size firms are well-suited for smaller, isolated projects. It is important to understand that each type of organization possesses distinct advantages and disadvantages.
 
Last edited:
Back
Top