Copy link to clipboard
Copied
Hello everyone!
I want to ask if it's possible to loop an HTML banner 3 times on Dreamweaver. I have the index coded to loop infinite times but I want to change it to 3 times only. Is that possible?
Thank you a lot!
Copy link to clipboard
Copied
HTML is content. To create an action, you need JavaScript or some other programming language. We need more context.
For example, If you're looping an animated GIF or WebP image, you can control the number of iterations from your animation software.
Copy link to clipboard
Copied
The banner is likely not simply HTML if you are looping. There is a loop attribute to video/audio tags, a GIF animation can loop infinitely. Likely you need some sort of script to auto rotate your banners. What may be more helpful is understanding is the goal you are trying to accomplish whether these are banners from partners that you need to control like reselling space on your website, or is this something that you do have control over the images/source?