Hello all.
Version: Interwoven TeamSite 6.7.2.0
Build Number: 69626
W2k3 server
I am trying to put a slideshow on a page, and we use .cfg and .tpl files to generate the .asp pages.
First, here is the jQuery javascript, that uses the jQuery cycle plugin.
Fairly simple, it reads each child element within a certain div (.slideshow), counts them, and places a mini navigation under it, incremental numbers..i.e. [1] [2] [3]...etc..etc...
[html]<script type="text/javascript" src="
http://cloud.github.com/downloads/malsup/cycle/jquery.cycle.all.latest.js"></script><script type="text/javascript">
$(function() {
$('.slideshow').after('
').cycle({
fx: 'fade',
speed: 'fast',
timeout: 5500,
pause: 1,
pager: '#mininav',
before: function() { if (window.console) console.log(this.src); }
});
});
</script>
<script type="text/javascript">
$(function() {
$('.slideshow').hover(function() {
$('#mininav-pause').show();
},
function() {
$('#mininav-pause').hide();
});
});
</script>[/html]
In the .cfg file, i am trying to set this div to "replicant" so that i can just keep adding slides as i add more content which consists of an image, headline, and text.
[html]
Background Image
Enter headline title
Enter text
<br> maxlength="700" validation-regex="^[\s\S]{0,700}$" external-editor-inline="true" /><br> <br> </item> <br> </replicant><br> </item> <br>[/html]<br><br>So for instance, if i have 5 of these replicants populated, it will create 5 slides each with a headline, image and text...<br><br>HOWEVER, i get a compiling error when i try to generate the page from the visual editor... here is my HTML<br><br>I am unable to see what the error specifically is, becuase i do not have access to the logs.<br><br>[html]<br><div id="mininav-pause"></div><br><div class="tabContainer slideshow"><br><br> <br><iw_iterate list='dcr.main.slideshow-content' var ='slideshow-content'><br> <![CDATA[<br> <div class="tab current" style="background:#fff url({iw_value name='slideshow-content.slideshow-image'/}) no-repeat top left;"><br> <div class="copy"><br> <h2>{iw_value name='slideshow-content.slideshow-headline'/}</h2><br> <p>{iw_value name='slideshow-content.slideshow-text'/}</p> <br> </div><br> </div><br>]]></iw_iterate><br> <br> <br> <br></div><!--/tabContainer slideshow--><br>[/html]<br><br>Is there something blatantly glaring that i am doing completly wrong???<br>Is there something blatantly glaring that i am doing completly wrong???