• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Looping 3 times only

Community Beginner ,
Oct 14, 2024 Oct 14, 2024

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! 

Views

81

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 14, 2024 Oct 14, 2024

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.

 

 

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 15, 2024 Oct 15, 2024

Copy link to clipboard

Copied

LATEST

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines