\r
}\r
\r
-\r
+function addClassHover(hoverEl, applicableEl){ \r
+ $(hoverEl).hover(\r
+ function () {\r
+ \r
+ $(applicableEl).addClass('red-border')\r
+ }, \r
+ function () {\r
+ $(applicableEl).removeClass('red-border');\r
+ \r
+ });\r
+}\r
//equal heights\r
\r
(function($) {\r
}\r
//end of fix\r
\r
+ \r
$(document).ready(function() {\r
\r
\r
});\r
});\r
\r
-
+ \r
+ \r
$('table .more-info').click(function(e){\r
-
e.preventDefault();\r
$(this).toggleClass('open');\r
if ($(this).hasClass('open')){\r
\r
\r
\r
- $('.auth_methods').find('li>a').click(function(e){\r
- e.preventDefault();\r
- $(this).siblings('.wrap').toggle('slow');\r
- $(this).toggleClass('up');\r
- });\r
- \r
- $('.auth_methods a.red').click(function(e){\r
- e.preventDefault();\r
- $(this).siblings('.dialog').show();\r
- })\r
- \r
+ \r
\r
- $('.auth_methods .dialog .no').click( function(e){ \r
- e.preventDefault();\r
- console.log($(this));\r
- $(this).parents('.dialog').hide();\r
- })\r
\r
setTimeout(function() {\r
if ($('input#id_username').val()){ \r
}\r
}, 100);\r
\r
+ \r
+ \r
+ \r
+ $('.landing-page .cms').hover(\r
+ function () {\r
+ el = $('.cloudbar ul.services li').first();\r
+ var offset = el.offset();\r
+ positionX = offset.left;\r
+ $('#hand').css('left',positionX); \r
+ $('#hand').show();\r
+ }, \r
+ function () {\r
+ $('#hand').hide();\r
+ \r
+ }); \r
+ \r
+ $('.landing-page .pithos').hover(\r
+ function () {\r
+ el = $('.cloudbar ul.services li:nth-child(3)');\r
+ var offset = el.offset();\r
+ positionX = offset.left;\r
+ left = parseInt(positionX) +20;\r
+ $('#hand').css('left',left+'px'); \r
+ $('#hand').show();\r
+ }, \r
+ function () {\r
+ $('#hand').hide();\r
+ \r
+ }); \r
+ \r
+ $('.landing-page .cyclades').hover(\r
+ function () {\r
+ el = $('.cloudbar ul.services li:nth-child(2)').first();\r
+ var offset = el.offset();\r
+ positionX = offset.left;\r
+ left = parseInt(positionX) +20;\r
+ $('#hand').css('left',left+'px'); \r
+ $('#hand').show();\r
+ }, \r
+ function () {\r
+ $('#hand').hide();\r
+ \r
+ }); \r
+ \r
+ \r
+ $('.landing-page .dashboard').hover(\r
+ function () {\r
+ el = $('.cloudbar .profile');\r
+ var offset = el.offset();\r
+ positionX = offset.left +50;\r
+ $('#hand').css('left',positionX); \r
+ $('#hand').show();\r
+ }, \r
+ function () {\r
+ $('#hand').hide();\r
+ \r
+ }); \r
+ \r
+ $('.pagination a.disabled').click(function(e){\r
+ e.preventDefault();\r
+ });\r
+ \r
+ // fix for recaptcha fields\r
+ $('#okeanos_recaptcha').parents('.form-row').find('.extra-img').hide(); \r
+ \r
\r
\r
});\r
$(window).resize(function() {\r
\r
setContainerMinHeight('.container .wrapper');\r
-
-});
-
+ \r
+\r
+});
\ No newline at end of file