How to put an image next to container of images

I admit I am newbie and don't know what I am doing. I borrow and adapt code from others.

I have images that flip from one to another over and over. I put the code in a HTML block. Next to that I want to put another fixed image. How do I get it to the side (right or left, I don't care) of what I have?

My site is and my code (I shortened the long stuff) is below.

https://leewghctest2.weebly.com/

<style>

.mySlides {display: block;

    margin-left: auto;

    margin-right: auto

overflow-x:hidden}

</style>

<div id="container">

                <div class="slide show" style="max-width:550px"; overflow-x: hidden; position: fixed >

            <img class="mySlides" src="https://www.weebly.com/editor/uploads/9/6/5/4/96548382/custom_themes/396706588513934575/files/images..." alt="">

            <img class="mySlides" src="https://www.weebly.com/editor/uploads/9/6/5/4/96548382/custom_themes/396706588513934575/files/images..." alt="">

            <img class="mySlides" src="https://www.weebly.com/editor/uploads/9/6/5/4/96548382/custom_themes/396706588513934575/files/images..." alt="">

    </div>

</div>

<script>

var myIndex = 0;

carousel();

function carousel() {

    var i;

    var x = document.getElementsByClassName("mySlides");

    for (i = 0; i < x.length; i++) {

       x[i].style.display = "none"; 

    }

    myIndex++;

    if (myIndex > x.length) {myIndex = 1}   

    x[myIndex-1].style.display = "block"; 

    setTimeout(carousel, 2000); // Change image every 2 seconds

}

</script>

937 Views
Message 1 of 3
Report
1 Best Answer
Square

Best Answer

Hey! You got the slideshow to work! Smiley Very Happy

I see in the editor that your code includes the slideshow, 6 images, and some text example. Have you ever tried just using our elements from the Build menu? I've made a sample page for you in your account so you can see what I mean. Login, click Pages, then Test Page. I used the Slideshow, Image, and Text elements to recreate your homepage. The images in the slide show look really small because they are just screenshots. Smiley Happy

View Best Answer >

925 Views
Message 4 of 3
Report
2 REPLIES 2
Square

Best Answer

Hey! You got the slideshow to work! Smiley Very Happy

I see in the editor that your code includes the slideshow, 6 images, and some text example. Have you ever tried just using our elements from the Build menu? I've made a sample page for you in your account so you can see what I mean. Login, click Pages, then Test Page. I used the Slideshow, Image, and Text elements to recreate your homepage. The images in the slide show look really small because they are just screenshots. Smiley Happy

926 Views
Message 4 of 3
Report

Thanks much for your work. How did you get that on my page? you must work there.

I have decided to use your method. I couldn't get the scrolling pictures to work and this does and almost as good. This way I can get the rest of it as I want.

Lee

914 Views
Message 4 of 3
Report
This thread has been archived and locked. Please start a new thread if you would like to continue the conversation.