Subversion Repositories My Stuff

Compare Revisions

Ignore whitespace Rev 14 → Rev 15

/trunk/JavaScripts/fancybox_add_cv.js
0,0 → 1,38
$(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.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;
});
});
});
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property