summaryrefslogtreecommitdiffstats
path: root/webroot/js/functions.js
diff options
context:
space:
mode:
authorMichael Francis <edude03@gmail.com>2011-05-28 13:28:16 -0400
committerMichael Francis <edude03@gmail.com>2011-05-28 13:28:16 -0400
commit2389d66da849798f8d4ec5f10e3b07c11da49185 (patch)
treee22556d12982395b469a23420c662662e3e064cc /webroot/js/functions.js
downloadotakuhub-2389d66da849798f8d4ec5f10e3b07c11da49185.tar.xz
Initial Commit
Diffstat (limited to 'webroot/js/functions.js')
-rwxr-xr-xwebroot/js/functions.js46
1 files changed, 46 insertions, 0 deletions
diff --git a/webroot/js/functions.js b/webroot/js/functions.js
new file mode 100755
index 0000000..02319d8
--- /dev/null
+++ b/webroot/js/functions.js
@@ -0,0 +1,46 @@
+// Kameleon Template
+//Author: Chris Mooney (http://themeforest.net/user/ChrisMooney)
+
+// Cufon Setup
+jQuery(document).ready(function($) {
+Cufon.replace('h3,h4,h5,.process,#tagline ');
+
+
+//Portfolio Hover Effect
+ $('.portfolio-small li img, .portfolio-list li img').hover(function() {
+
+ $(this).children('a').show();
+ $('.portfolio-small li img, .portfolio-list li img').stop().animate({ opacity: .5 }, 300);
+ $(this).stop().css('opacity', 1);
+
+ }, function() {
+ $('.portfolio-small li img, .portfolio-list li img').stop().animate({ opacity: 1 }, 300);
+
+ });
+
+//Homepage Screenshot Scroll
+$(".scrollable").scrollable();
+
+
+//LightBox Setup
+ $('.portfolio-small a, .portfolio-list a').lightBox({
+ fixedNavigation:true,
+ overlayOpacity: 0.8,
+ imageLoading: 'img/lightbox/lightbox-ico-loading.gif',
+ imageBtnClose: 'img/lightbox/lightbox-btn-close.gif',
+ imageBtnPrev: 'img/lightbox/lightbox-btn-prev.gif',
+ imageBtnNext: 'img/lightbox/lightbox-btn-next.gif',
+ imageBlank: 'img/lightbox/lightbox-blank.gif'
+
+ });
+
+// Tipsy Tooltips
+$('.tooltip').tipsy({fade: true});
+$('.tooltip.north').tipsy({fade: true, gravity: 's'});
+$('.tooltip.east').tipsy({fade: true, gravity: 'w'});
+$('.tooltip.west').tipsy({fade: true, gravity: 'e'});
+// Form Tooltips
+$('form [title]').tipsy({fade: true, trigger: 'focus', gravity: 'w'});
+
+
+});