- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
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>
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report

- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Hey! You got the slideshow to work!
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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report

- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Hey! You got the slideshow to work!
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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report