What's new

Welcome to the forum 👋, Visitor

To access the forum content and all our services, you must register or log in to the forum. Becoming a member of the forum is completely free.

Help with randomizing image....

fobovox

New member
Joined
Sep 22, 2021
Messages
5
Reaction score
0
HTML Coins
0
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:

Theme customization system

You can customize some areas of the forum theme from this menu.

  • Wide/Narrow view

    You can control a structure that you can use to use your theme wide or narrow.

    Grid view forum list

    You can control the layout of the forum list in a grid or ordinary listing style structure.

    Picture grid mode

    You can control the structure where you can open/close images in the grid forum list.

    Close sidebar

    You can get rid of the crowded view in the forum by closing the sidebar.

    Fixed sidebar

    You can make it more useful and easier to access by pinning the sidebar.

    Close radius

    You can use the radius at the corners of the blocks according to your taste by closing/opening it.

  • Choose the color combination that reflects your taste
    Background images
    Color gradient backgrounds
Back