This is the markup I was given to build a gallery "slider" of sorts:
<div id="panel_1" class="panel">
<div class="inside">
<a title="" rel="fade" href="my-full-size-image.jpg"><img src="my-full-size-image.jpg" alt="" /></a>
<h2>Title</h2>
<p>My Caption | <a title="" rel="fade2" href="my-full-size-image.jpg">Click for larger image</a></p>
</div>
</div>
That is the code that I have placed inside the content area using the content call:
When I preview the site, for the most part everything works. It’s a jquery slider-thingy that uses colorbox to display the full-sized image. However, when I click "Edit Resource" within the quick editor, the editor starts to load then the page goes completely blank.
I have chased it down to the first div tag. If I place nothing but an empty set of div tags the same thing happens.
If I were developing this site from scratch, I would write a loop using the above markup as a chunk and output each portfolio image.
I’m not sure the best way to handle this?