You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

86 lines
3.5 KiB
JavaScript

// JavaScript Document
$(function(){
$("a[rel='imgrelmodel']").fancybox({
'transitionIn' : 'none',
'transitionOut' : 'none',
'titlePosition' : 'over',
'titleFormat' : function(title, currentArray, currentIndex, currentOpts) {
if(!title)title =' ';
return '<span id="fancybox-title-over">Photo ' + (currentIndex + 1) + ' / ' + currentArray.length +' '+ title +'</span>';
}});
$("a[rel='imgrelmodel2']").fancybox({
'transitionIn' : 'none',
'transitionOut' : 'none',
'titlePosition' : 'over',
'titleFormat' : function(title, currentArray, currentIndex, currentOpts) {
if(!title)title =' ';
return '<span id="fancybox-title-over">Photo ' + (currentIndex + 1) + ' / ' + currentArray.length +' '+ title +'</span>';
}});
$("a[rel='imgrelmodel3']").fancybox({
'transitionIn' : 'none',
'transitionOut' : 'none',
'titlePosition' : 'over',
'titleFormat' : function(title, currentArray, currentIndex, currentOpts) {
if(!title)title =' ';
return '<span id="fancybox-title-over">Photo ' + (currentIndex + 1) + ' / ' + currentArray.length +' '+ title +'</span>';
}});
$("a[rel='imgrelmodel4']").fancybox({
'transitionIn' : 'none',
'transitionOut' : 'none',
'titlePosition' : 'over',
'titleFormat' : function(title, currentArray, currentIndex, currentOpts) {
if(!title)title =' ';
return '<span id="fancybox-title-over">Photo ' + (currentIndex + 1) + ' / ' + currentArray.length +' '+ title +'</span>';
}});
$("a[rel='imgrelmodel5']").fancybox({
'transitionIn' : 'none',
'transitionOut' : 'none',
'titlePosition' : 'over',
'titleFormat' : function(title, currentArray, currentIndex, currentOpts) {
return '<span id="fancybox-title-over">Photo ' + (currentIndex + 1) + ' / ' + currentArray.length +' '+ title +'</span>';
}});
$("a[rel='imgrelmodel6']").fancybox({
'transitionIn' : 'none',
'transitionOut' : 'none',
'titlePosition' : 'over',
'titleFormat' : function(title, currentArray, currentIndex, currentOpts) {
if(!title)title =' ';
return '<span id="fancybox-title-over">Photo ' + (currentIndex + 1) + ' / ' + currentArray.length +' '+ title +'</span>';
}});
$("a[rel='imgrelmodel7']").fancybox({
'transitionIn' : 'none',
'transitionOut' : 'none',
'titlePosition' : 'over',
'titleFormat' : function(title, currentArray, currentIndex, currentOpts) {
if(!title)title =' ';
return '<span id="fancybox-title-over">Photo ' + (currentIndex + 1) + ' / ' + currentArray.length +' '+ title +'</span>';
}});
$("a[rel='imgrelmodel8']").fancybox({
'transitionIn' : 'none',
'transitionOut' : 'none',
'titlePosition' : 'over',
'titleFormat' : function(title, currentArray, currentIndex, currentOpts) {
if(!title)title =' ';
return '<span id="fancybox-title-over">Photo ' + (currentIndex + 1) + ' / ' + currentArray.length +' '+ title +'</span>';
}});
$("a[rel='imgrelmodel9']").fancybox({
'transitionIn' : 'none',
'transitionOut' : 'none',
'titlePosition' : 'over',
'titleFormat' : function(title, currentArray, currentIndex, currentOpts) {
if(!title)title =' ';
return '<span id="fancybox-title-over">Photo ' + (currentIndex + 1) + ' / ' + currentArray.length +' '+ title +'</span>';
}});
$("a[rel='imgrelmodel10']").fancybox({
'transitionIn' : 'none',
'transitionOut' : 'none',
'titlePosition' : 'over',
'titleFormat' : function(title, currentArray, currentIndex, currentOpts) {
return '<span id="fancybox-title-over">Photo ' + (currentIndex + 1) + ' / ' + currentArray.length +' '+ title +'</span>';
}});
});