diff --git a/mod_news_pro_gk5/interface/scripts/engine.jquery.js b/mod_news_pro_gk5/interface/scripts/engine.jquery.js index 20f4588..24537e6 100644 --- a/mod_news_pro_gk5/interface/scripts/engine.jquery.js +++ b/mod_news_pro_gk5/interface/scripts/engine.jquery.js @@ -100,7 +100,8 @@ NSP5.prototype = { $this.arts_anim(i); }); }else { - jQuery(item).click(function(){ + jQuery(item).click(function(e){ + e.preventDefault(); $this.arts_anim(i); }); } @@ -108,11 +109,13 @@ NSP5.prototype = { } // if(this.modInterface.top && this.modInterface.top.find('.nspPrev')){ - this.modInterface.top.find('.nspPrev').click(function(){ + this.modInterface.top.find('.nspPrev').click(function(e){ + e.preventDefault(); $this.arts_anim('prev'); }); - this.modInterface.top.find('.nspNext').click(function(){ + this.modInterface.top.find('.nspNext').click(function(e){ + e.preventDefault(); $this.arts_anim('next'); }); } @@ -124,7 +127,8 @@ NSP5.prototype = { $this.lists_anim(i); }); }else { - jQuery(item).click(function(){ + jQuery(item).click(function(e){ + e.preventDefault(); $this.lists_anim(i); }); } @@ -132,11 +136,13 @@ NSP5.prototype = { } // if(this.modInterface.bottom && this.modInterface.bottom.find('.nspPrev')){ - this.modInterface.bottom.find('.nspPrev').click(function(){ + this.modInterface.bottom.find('.nspPrev').click(function(e){ + e.preventDefault(); $this.lists_anim('prev'); }); - this.modInterface.bottom.find('.nspNext').click(function(){ + this.modInterface.bottom.find('.nspNext').click(function(e){ + e.preventDefault(); $this.lists_anim('next'); }); } diff --git a/mod_news_pro_gk5/interface/scripts/engine.mootools.js b/mod_news_pro_gk5/interface/scripts/engine.mootools.js index ff1cd33..c953502 100644 --- a/mod_news_pro_gk5/interface/scripts/engine.mootools.js +++ b/mod_news_pro_gk5/interface/scripts/engine.mootools.js @@ -100,36 +100,42 @@ var NSP5 = new Class({ // if(this.modInterface.top && this.modInterface.top.getElement('.nspPagination')){ this.modInterface.top.getElement('.nspPagination').getElements('li').each(function(item,i){ - item.addEvent($this.hover_anim ? 'mouseenter' : 'click', function(){ + item.addEvent($this.hover_anim ? 'mouseenter' : 'click', function(e){ + e.preventDefault(); $this.arts_anim(i); }); }); } // if(this.modInterface.top && this.modInterface.top.getElement('.nspPrev')){ - this.modInterface.top.getElement('.nspPrev').addEvent("click", function(){ + this.modInterface.top.getElement('.nspPrev').addEvent("click", function(e){ + e.preventDefault(); $this.arts_anim('prev'); }); - this.modInterface.top.getElement('.nspNext').addEvent("click", function(){ + this.modInterface.top.getElement('.nspNext').addEvent("click", function(e){ + e.preventDefault(); $this.arts_anim('next'); }); } // bottom interface if(this.modInterface.bottom && this.modInterface.bottom.getElement('.nspPagination')){ this.modInterface.bottom.getElement('.nspPagination').getElements('li').each(function(item,i){ - item.addEvent($this.hover_anim ? 'mouseenter' : 'click', function(){ + item.addEvent($this.hover_anim ? 'mouseenter' : 'click', function(e){ + e.preventDefault(); $this.lists_anim(i); }); }); } // if(this.modInterface.bottom && this.modInterface.bottom.getElement('.nspPrev')){ - this.modInterface.bottom.getElement('.nspPrev').addEvent("click", function(){ + this.modInterface.bottom.getElement('.nspPrev').addEvent("click", function(e){ + e.preventDefault(); $this.lists_anim('prev'); }); - this.modInterface.bottom.getElement('.nspNext').addEvent("click", function(){ + this.modInterface.bottom.getElement('.nspNext').addEvent("click", function(e){ + e.preventDefault(); $this.lists_anim('next'); }); } diff --git a/mod_news_pro_gk5/mod_news_pro_gk5.xml b/mod_news_pro_gk5/mod_news_pro_gk5.xml index b9fa681..b2ac6bf 100644 --- a/mod_news_pro_gk5/mod_news_pro_gk5.xml +++ b/mod_news_pro_gk5/mod_news_pro_gk5.xml @@ -1,13 +1,13 @@ News Show Pro GK5 - 10/12/2015 + 11/12/2015 Gavick.com (C) 2009-2015 Gavick.com http://www.gnu.org/copyleft/gpl.html GNU/GPL info@gavick.com www.gavick.com - 1.9.3.0 + 1.9.3.1 @@ -20,10 +20,9 @@ span.tooltip-content { display: none; } .tip-text span.readonly { display: none; } .tip-text span.tooltip-content { display: block; } - -

News Show Pro GK5 ver. 1.9.3.0

+

News Show Pro GK5 ver. 1.9.3.1

GK5 is new generation of our extensions dedicated to Joomla 3+.

Basing on experiences gathered, we created probably the best tool to present articles for Joomla! Huge amount of options and possibilities of formatting causes News Show Pro GK5 is a complex tool in making www pages content attractive. News Show Pro is appropriate while preparing simple structures with an individual article, the same as, complex arrangements including few articles and a list of links.

Learn more at the NSP GK5 project website.