On this page: Learn how to build a carousel that can be edited in the Visual Experience Composer (VEC).
A carousel built with the following structure can be edited in the Adobe Target Visual Experience Composer (VEC). The structure keeps the selector of each slide valid, so Target always identifies the correct slide, even when the displayed slide changes a few seconds after the page loads in the VEC.
-
Create the slides as static HTML placeholders, with one visible slide and the other slides hidden by class.
-
Design the look and feel with CSS only. Do not use JavaScript for this.
NOTE
The Render Using JavaScript option is currently not supported when it is used together with custom code in the Visual Experience Composer. -
Show the next slide by updating only the class names: hide the other slides and show the next one with a timer or an animation. Never update the DOM structure with JavaScript.
Was this content helpful?
Announcements
Get hands-on with agentic AI.
Explore how AI agents work together through real examples and hands-on practice. Join your local User Group to design an agent workflow with your peers and leave with a practical framework you can apply to your own work.
Find an eventAdobe Target Roadmap Webinar - Americas & EMEA
Preview the Adobe Target roadmap and ask the product team your questions live.
Adobe Target Roadmap Webinar - Americas & APAC
Preview the Adobe Target roadmap and ask the product team your questions live.