<!--^ RWDNavAutoMenu/modal/-18 -->
<script type="text/javascript">
$(document).ready(function() {
$('#<X-FC-URL-PARAMETER parentID>mc1').nyroModal({
//imageRegex: '[^\.]\.(jpg|jpeg|png|tiff|gif|bmp)', // Regex used to detect image link. If the link has parameter ?Templates=RWD. It displays raw data instead of image.
imageRegex: '[^\.]\.(jpg|jpeg|png|tiff|gif|bmp)\s*$', // Regex used to detect image link
//header: "A header can be sticked here throughout the whole gallery. I don't know what to do with this area yet.--Michael",
//footer: "A footer can be sticked here throughout the whole gallery. I don't know what to do with this area yet.--Michael",
callbacks: {
beforeShowCont: function(nm) {
if (nm._hasFilter('title') && nm.opener.is('[rev]') ) {
$('.nyroModalCont').corner('bottom tr');
var titletext=nm.opener.attr('title').length?nm.opener.attr('title')+' - ':'';
nm.store.title.html(titletext + '<a href="#" class="title_prev" title="Previous" onClick="$.nmTop()._callFilters(\'galleryPrev\');"><</a>' + ' ' + (nm.store.galleryIndex+1)+' of '+nm.store.galleryLinks.length + ' ' + '<a href="#" class="title_next" title="Next" onClick="$.nmTop()._callFilters(\'galleryNext\');">></a>');
} else {
$('.nyroModalCont').corner();
}
if ( RegExp(nm.imageRegex, 'i').test(nm.opener.attr('href')) ) {
nm.store.title.html( nm.store.title.html() + ' <a target="_top" title="Click here to display graphics in a traditional way. Will only display images" href="'+nm.opener.attr('rev')+'">Gallery View</a>');
}
},
afterShowCont: function(nm) {
}
}
}).nmCall();
});
</script><noscript>Your browser does not support JavaScript!</noscript>
|