Subversion Repositories My Stuff

Compare Revisions

Ignore whitespace Rev 15 → Rev 16

/trunk/JavaScripts/ae-gallery-mine.js
27,9 → 27,20
'showNavArrows': false,
'showCloseButton': true,
'href': $(this).attr('src'),
'title': $(this).parent().find('p').html()
'title': $(this).parent().find('p').html(),
'onComplete' : function() {
$("#fancybox-wrap").hover(function() {
$("#fancybox-title").slideDown();
}, function() {
$("#fancybox-title").slideUp();
});
}
}
);
}).hover(function(){
$(this).parent().find('.ae-image-description:first').slideDown();
}, function(){
$(this).parent().find('.ae-image-description:first').slideUp();
});
var context = this;
this.preloadImage(this.current_index + 1);
/trunk/JavaScripts/fancybox_add_cv.js
1,38 → 1,39
$(document).ready(function() {
$("a.group").each(function(){
var $link = $(this);
$link.click(function(){
$.fancybox({
'speedIn': 300,
'speedOut': 300,
'overlayColor': '#000',
'overlayOpacity': 0.7,'centerOnScroll': true,
'padding': 0,
'title': $(this).find('div.link_title:first').html(),
'href': $(this).attr('href'),
'titlePosition': 'over',
'transitionIn': 'elastic',
'transitionOut': 'elastic'
});
return false;
});
$("a.group").fancybox({
'speedIn': 300,
'speedOut': 300,
'overlayColor': '#000',
'overlayOpacity': 0.7,'centerOnScroll': true,
'padding': 0,
'href': $(this).attr('href'),
'titlePosition': 'over',
'transitionIn': 'elastic',
'transitionOut': 'elastic',
'titleShow': false
});
$("a.pages").each(function(){
var $link = $(this);
$link.click(function(){
$.fancybox({
'width' : '75%',
'height' : '75%',
'autoScale' : false,
'padding': 0,
'overlayOpacity': 0.7,'centerOnScroll': true,
'transitionIn' : 'elastic',
'transitionOut' : 'elastic',
'type' : 'iframe',
'href': $(this).attr('href'),
'titleShow': false
});
return false;
});
$("a.pages").fancybox({
'width' : '75%',
'height' : '75%',
'autoScale' : false,
'padding': 0,
'overlayOpacity': 0.7,'centerOnScroll': true,
'transitionIn' : 'elastic',
'transitionOut' : 'elastic',
'type' : 'iframe',
'href': $(this).attr('href'),
'titleShow': false
});
$("a.specification").fancybox({
'scrolling' : 'no',
'titleShow' : false,
'overlayOpacity': 0.7,'centerOnScroll': true,
'padding' : 0,
'transitionIn' : 'elastic',
'transitionOut' : 'elastic'
}).tooltip({
effect: 'slide',
tipClass : 'imgtooltip',
opacity : 0.7
}).dynamic({ bottom: { direction: 'down', bounce: true } });
});