Subversion Repositories My Stuff

Compare Revisions

Ignore whitespace Rev 15 → Rev 14

/trunk/JavaScripts/browser_main_eng.js
File deleted
\ No newline at end of file
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-text/plain
\ No newline at end of property
Index: JavaScripts/fancybox_add.js
===================================================================
--- JavaScripts/fancybox_add.js (revision 15)
+++ JavaScripts/fancybox_add.js (nonexistent)
@@ -1,13 +0,0 @@
-$(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'
- });
-});
/JavaScripts/fancybox_add.js
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-text/plain
\ No newline at end of property
Index: JavaScripts/ae-gallery-mine.js
===================================================================
--- JavaScripts/ae-gallery-mine.js (revision 15)
+++ JavaScripts/ae-gallery-mine.js (nonexistent)
@@ -1,39 +0,0 @@
-$(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);
- }
- }
- });
-});
\ No newline at end of file
/JavaScripts/ae-gallery-mine.js
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-text/plain
\ No newline at end of property
Index: JavaScripts/browser_main.js
===================================================================
--- JavaScripts/browser_main.js (revision 15)
+++ JavaScripts/browser_main.js (nonexistent)
@@ -1,6 +0,0 @@
-$(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
/JavaScripts/browser_main.js
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-text/plain
\ No newline at end of property
Index: JavaScripts/fancybox_add_cv.js
===================================================================
--- JavaScripts/fancybox_add_cv.js (revision 15)
+++ JavaScripts/fancybox_add_cv.js (nonexistent)
@@ -1,38 +0,0 @@
-$(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
/JavaScripts/fancybox_add_cv.js
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-text/plain
\ No newline at end of property
Index: JavaScripts/scroll_page.js
===================================================================
--- JavaScripts/scroll_page.js (revision 15)
+++ JavaScripts/scroll_page.js (nonexistent)
@@ -1,4 +0,0 @@
-$(document).ready(function(){
- $.localScroll({filter: ':not(.toggle_link)'});
-});
-
/JavaScripts/scroll_page.js
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-text/plain
\ No newline at end of property
Index: JavaScripts/comment_form.js
===================================================================
--- JavaScripts/comment_form.js (revision 15)
+++ JavaScripts/comment_form.js (revision 14)
@@ -22,11 +22,6 @@
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: JavaScripts/dialog_email_form_open.js
===================================================================
--- JavaScripts/dialog_email_form_open.js (revision 15)
+++ JavaScripts/dialog_email_form_open.js (revision 14)
@@ -8,6 +8,7 @@
# 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);
@@ -18,8 +19,7 @@
height: 'auto',
title: $link.attr('title'),
resizable: false,
- modal: true,
- position: 'center',
+ modal: true,
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: JavaScripts/dialog_sms_form_open.js
===================================================================
--- JavaScripts/dialog_sms_form_open.js (revision 15)
+++ JavaScripts/dialog_sms_form_open.js (revision 14)
@@ -8,6 +8,7 @@
# 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);
@@ -18,8 +19,7 @@
height: 'auto',
title: $link.attr('title'),
resizable: false,
- modal: true,
- postion: 'center',
+ modal: true,
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: JavaScripts/menu.js
===================================================================
--- JavaScripts/menu.js (revision 15)
+++ JavaScripts/menu.js (revision 14)
@@ -9,21 +9,20 @@
# 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');
- 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);
- });
- });
+ 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);
+ });
+ });
});
\ No newline at end of file
Index: JavaScripts/toggle_slide.js
===================================================================
--- JavaScripts/toggle_slide.js (revision 15)
+++ JavaScripts/toggle_slide.js (revision 14)
@@ -9,9 +9,9 @@
# http://www.gnu.org/licenses/gpl.html
#######################################################################*/
$(document).ready(function(){
- $('.toggle').each(function(){
+ $('div.toggle').each(function(){
var $link = $(this).children('a.toggle_link:first');
- var $content = $(this).children('.toggle_content:first');
+ var $content = $(this).children('div.toggle_content:first');
$link.click(function(){
if ($link.is('.toggle_close')){
$link.removeClass('toggle_close');