/trunk/JavaScripts/ae-gallery-mine.js |
---|
0,0 → 1,39 |
$(document).ready(function(){ |
var galleries = $('.ae-gallery').aeGallery({ |
loader_image: 'modules/Gallery/templates/ae-gallery/loader.gif', |
slideshow: { |
autostart: false, |
speed: 5000, |
start_label: 'Start', |
stop_label: 'Stop', |
stop_on_scroll: false, |
}, |
callbacks: { |
init: function() { |
this.preloadImage(0); |
}, |
afterImageVisible: function() { |
$('.ae-image > img').click(function(){ |
$.fancybox( |
{ |
'speedIn': 300, |
'speedOut': 300, |
'overlayColor': '#000', |
'overlayOpacity': 0.7, |
'centerOnScroll': true, |
'titlePosition': 'over', |
'transitionIn': 'elastic', |
'transitionOut': 'elastic', |
'showNavArrows': false, |
'showCloseButton': true, |
'href': $(this).attr('src'), |
'title': $(this).parent().find('p').html() |
} |
); |
}); |
var context = this; |
this.preloadImage(this.current_index + 1); |
} |
} |
}); |
}); |
Property changes: |
Added: svn:mime-type |
## -0,0 +1 ## |
+text/plain |
\ No newline at end of property |
Index: trunk/JavaScripts/browser_main.js |
=================================================================== |
--- trunk/JavaScripts/browser_main.js (nonexistent) |
+++ trunk/JavaScripts/browser_main.js (revision 15) |
@@ -0,0 +1,6 @@ |
+$(document).ready(function(){ |
+ jQuery.each(jQuery.browser, function(i, val) { |
+ if((i=="msie" && jQuery.browser.version<8)||(i=="opera" && jQuery.browser.version>9)||(i=="safari" && jQuery.browser.version<4)||(i=="mozilla" && jQuery.browser.version<1.7)) |
+ window.location.replace("http://www.kardasa.pl/polish/stara_przegladarka.html"); |
+ }); |
+}); |
\ No newline at end of file |
/trunk/JavaScripts/browser_main.js |
---|
Property changes: |
Added: svn:mime-type |
## -0,0 +1 ## |
+text/plain |
\ No newline at end of property |
Index: trunk/JavaScripts/browser_main_eng.js |
=================================================================== |
--- trunk/JavaScripts/browser_main_eng.js (nonexistent) |
+++ trunk/JavaScripts/browser_main_eng.js (revision 15) |
@@ -0,0 +1,6 @@ |
+$(document).ready(function(){ |
+ jQuery.each(jQuery.browser, function(i, val) { |
+ if((i=="msie" && jQuery.browser.version<8)||(i=="opera" && jQuery.browser.version>9)||(i=="safari" && jQuery.browser.version<4)||(i=="mozilla" && jQuery.browser.version<1.7)) |
+ window.location.replace("http://www.kardasa.pl/english/old_browser.html"); |
+ }); |
+}); |
\ No newline at end of file |
/trunk/JavaScripts/browser_main_eng.js |
---|
Property changes: |
Added: svn:mime-type |
## -0,0 +1 ## |
+text/plain |
\ No newline at end of property |
Index: trunk/JavaScripts/comment_form.js |
=================================================================== |
--- trunk/JavaScripts/comment_form.js (revision 14) |
+++ trunk/JavaScripts/comment_form.js (revision 15) |
@@ -22,6 +22,11 @@ |
checkBoxChange(); |
toggleLinkClickSlide(); |
$('#comment_form > #comments-indicator').hide(); |
+ $.scrollTo( '#comments', 800, {onAfter:function(){ |
+ $('.error').effect('pulsate'); |
+ $('.pagemessage').effect('pulsate'); |
+ } |
+ }); |
}, |
beforeSubmit: function() { |
$('#comment_form > #comments-indicator').show(); |
Index: trunk/JavaScripts/dialog_email_form_open.js |
=================================================================== |
--- trunk/JavaScripts/dialog_email_form_open.js (revision 14) |
+++ trunk/JavaScripts/dialog_email_form_open.js (revision 15) |
@@ -8,7 +8,6 @@ |
# The full version of the licencse can be obtainted by visiting: |
# http://www.gnu.org/licenses/gpl.html |
#######################################################################*/ |
-$.fx.speeds._default = 1000; |
$(document).ready(function() { |
$('a.email_link').each(function() { |
var $link = $(this); |
@@ -19,7 +18,8 @@ |
height: 'auto', |
title: $link.attr('title'), |
resizable: false, |
- modal: true, |
+ modal: true, |
+ position: 'center', |
show: 'blind', |
hide: 'explode' |
}); |
@@ -30,7 +30,7 @@ |
var options = { |
target: '#email_form', |
success: function() { |
- $('#email_form > #form-idicator').hide(); |
+ $('#email_form > #form-idicator').hide(); |
$('#email_form > form').ajaxForm(options); |
}, |
beforeSubmit: function() { |
@@ -39,8 +39,8 @@ |
}; |
$dialog.load($link.attr('href'),function(){ |
$('#email_form > form').ajaxForm(options); |
- $('#ajax-indicator').hide(); |
- $('#overlay').hide(); |
+ $('#ajax-indicator').hide(); |
+ $('#overlay').hide(); |
$dialog.dialog('open'); |
}); |
return false; |
Index: trunk/JavaScripts/dialog_sms_form_open.js |
=================================================================== |
--- trunk/JavaScripts/dialog_sms_form_open.js (revision 14) |
+++ trunk/JavaScripts/dialog_sms_form_open.js (revision 15) |
@@ -8,7 +8,6 @@ |
# The full version of the licencse can be obtainted by visiting: |
# http://www.gnu.org/licenses/gpl.html |
#######################################################################*/ |
-$.fx.speeds._default = 1000; |
$(document).ready(function() { |
$('a.sms_link').each(function() { |
var $link = $(this); |
@@ -19,7 +18,8 @@ |
height: 'auto', |
title: $link.attr('title'), |
resizable: false, |
- modal: true, |
+ modal: true, |
+ postion: 'center', |
show: 'blind', |
hide: 'explode' |
}); |
@@ -30,18 +30,18 @@ |
var options = { |
target: '#sms_form', |
success: function() { |
- $('#sms_form > #form-indicator').hide(); |
- $('#sms_form > form').ajaxForm(options); |
+ $('#sms_form > #form-indicator').hide(); |
+ $('#sms_form > form').ajaxForm(options); |
}, |
beforeSubmit: function() { |
- $('#sms_form > #form-indicator').show(); |
+ $('#sms_form > #form-indicator').show(); |
} |
}; |
$dialog.load($link.attr('href'),function(){ |
- $('#sms_form > form').ajaxForm(options); |
- $('#ajax-indicator').hide(); |
- $('#overlay').hide(); |
- $dialog.dialog('open'); |
+ $('#sms_form > form').ajaxForm(options); |
+ $('#ajax-indicator').hide(); |
+ $('#overlay').hide(); |
+ $dialog.dialog('open'); |
}); |
return false; |
}); |
Index: trunk/JavaScripts/fancybox_add.js |
=================================================================== |
--- trunk/JavaScripts/fancybox_add.js (nonexistent) |
+++ trunk/JavaScripts/fancybox_add.js (revision 15) |
@@ -0,0 +1,13 @@ |
+$(document).ready(function() { |
+ $("a.group").fancybox({ |
+ 'speedIn': 300, |
+ 'speedOut': 300, |
+ 'overlayColor': '#000', |
+ 'overlayOpacity': 0.7,'centerOnScroll': true, |
+ 'padding': 0, |
+ 'cyclic': true, |
+ 'titlePosition': 'inside', |
+ 'transitionIn': 'elastic', |
+ 'transitionOut': 'elastic' |
+ }); |
+}); |
/trunk/JavaScripts/fancybox_add.js |
---|
Property changes: |
Added: svn:mime-type |
## -0,0 +1 ## |
+text/plain |
\ No newline at end of property |
Index: trunk/JavaScripts/fancybox_add_cv.js |
=================================================================== |
--- trunk/JavaScripts/fancybox_add_cv.js (nonexistent) |
+++ trunk/JavaScripts/fancybox_add_cv.js (revision 15) |
@@ -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; |
+ }); |
+ }); |
+}); |
\ No newline at end of file |
/trunk/JavaScripts/fancybox_add_cv.js |
---|
Property changes: |
Added: svn:mime-type |
## -0,0 +1 ## |
+text/plain |
\ No newline at end of property |
Index: trunk/JavaScripts/menu.js |
=================================================================== |
--- trunk/JavaScripts/menu.js (revision 14) |
+++ trunk/JavaScripts/menu.js (revision 15) |
@@ -9,20 +9,21 @@ |
# http://www.gnu.org/licenses/gpl.html |
#######################################################################*/ |
$(document).ready(function(){ |
- var $menu = $('.artmenu'); |
- $menu.children('li.nav_menu').each(function(){ |
- var $this = $(this); |
- var $anchor = $this.children('a'); |
- $anchor.data('width',$anchor.width()); |
- |
- $this.bind('mouseenter',function(){ |
- $menu.find('ul.submenu').stop(true,true).hide(); |
- $anchor.stop().animate({'width':'180px'},300,function(){ |
- $this.find('ul.submenu').slideDown(500); |
- }); |
- }).bind('mouseleave',function(){ |
- $this.find('ul.submenu').stop(true,true).hide(); |
- $anchor.stop().animate({'width':$anchor.data('width')+'px'},300); |
- }); |
- }); |
+ var $menu = $('.artmenu'); |
+ $menu.children('li.nav_menu').each(function(){ |
+ var $this = $(this); |
+ var $anchor = $this.children('a'); |
+ var $submenu = $menu.find('ul.submenu'); |
+ $anchor.data('width',$anchor.width()); |
+ |
+ $this.mouseenter(function(){ |
+ $submenu.stop(true,true).hide(); |
+ $anchor.stop().animate({'width':'227px'},300,function(){ |
+ $this.find('ul.submenu').slideDown(500); |
+ }); |
+ }).mouseleave(function(){ |
+ $submenu.stop(true,true).hide(); |
+ $anchor.stop().animate({'width':$anchor.data('width')+'px'},300); |
+ }); |
+ }); |
}); |
\ No newline at end of file |
Index: trunk/JavaScripts/scroll_page.js |
=================================================================== |
--- trunk/JavaScripts/scroll_page.js (nonexistent) |
+++ trunk/JavaScripts/scroll_page.js (revision 15) |
@@ -0,0 +1,4 @@ |
+$(document).ready(function(){ |
+ $.localScroll({filter: ':not(.toggle_link)'}); |
+}); |
+ |
/trunk/JavaScripts/scroll_page.js |
---|
Property changes: |
Added: svn:mime-type |
## -0,0 +1 ## |
+text/plain |
\ No newline at end of property |
Index: trunk/JavaScripts/toggle_slide.js |
=================================================================== |
--- trunk/JavaScripts/toggle_slide.js (revision 14) |
+++ trunk/JavaScripts/toggle_slide.js (revision 15) |
@@ -9,9 +9,9 @@ |
# http://www.gnu.org/licenses/gpl.html |
#######################################################################*/ |
$(document).ready(function(){ |
- $('div.toggle').each(function(){ |
+ $('.toggle').each(function(){ |
var $link = $(this).children('a.toggle_link:first'); |
- var $content = $(this).children('div.toggle_content:first'); |
+ var $content = $(this).children('.toggle_content:first'); |
$link.click(function(){ |
if ($link.is('.toggle_close')){ |
$link.removeClass('toggle_close'); |