I'm currently building a site that allows previewing photos and videos using Shadowbox. I'm also using the jQuery Tools Scrollable tool to allows the thumbnails to be scrolled. I'm using ModX as the CMS.
I want whoever edits the page to be able to use TinyMCE as the editor, this has been OK for the photos but for the videos I want a description for each video too. I need the code to be in the following format as each of the elements for a video need to be wrapped in a div for the scrollable to work properly.
<div>
<a href="video_preview/stupid girl.flv"><img src="images/vid.gif" alt="video 1" title="Stupid Girl" /></a>
<h4>STUPID GIRL</h4>
<p>Garbage perform classic hit Stupid Girl</p>
</div>
<div>
<a href="video_preview/rehearsals.flv"><img src="images/rehearsals.jpg" alt="video 2" title="Rehearsals" /></a>
<h4>REHEARSALS</h4>
<p>Garbage back stage and at rehearsals</p>
</div>
Here there are 2 videos put I want to allow any number of videos to be entered. At the moment I can't get TinyMCE to generate code in this format. How do I go about doing this or is there a different way I should be looking at this. At the moment the above code section is contained within it's own Chunk