Skip to content

Commit

Permalink
[v.1.9.3.1] Ready to release
Browse files Browse the repository at this point in the history
  • Loading branch information
dziudek committed Dec 11, 2015
1 parent 0c1ec7d commit 5f55208
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 16 deletions.
18 changes: 12 additions & 6 deletions mod_news_pro_gk5/interface/scripts/engine.jquery.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,19 +100,22 @@ NSP5.prototype = {
$this.arts_anim(i);
});
}else {
jQuery(item).click(function(){
jQuery(item).click(function(e){
e.preventDefault();
$this.arts_anim(i);
});
}
});
}
//
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');
});
}
Expand All @@ -124,19 +127,22 @@ NSP5.prototype = {
$this.lists_anim(i);
});
}else {
jQuery(item).click(function(){
jQuery(item).click(function(e){
e.preventDefault();
$this.lists_anim(i);
});
}
});
}
//
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');
});
}
Expand Down
18 changes: 12 additions & 6 deletions mod_news_pro_gk5/interface/scripts/engine.mootools.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
});
}
Expand Down
7 changes: 3 additions & 4 deletions mod_news_pro_gk5/mod_news_pro_gk5.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<extension type="module" version="3.0" client="site" method="upgrade">
<name>News Show Pro GK5</name>
<creationDate>10/12/2015</creationDate>
<creationDate>11/12/2015</creationDate>
<author>Gavick.com</author>
<copyright>(C) 2009-2015 Gavick.com</copyright>
<license>http://www.gnu.org/copyleft/gpl.html GNU/GPL</license>
<authorEmail>[email protected]</authorEmail>
<authorUrl>www.gavick.com</authorUrl>
<version>1.9.3.0</version>
<version>1.9.3.1</version>
<description>
<![CDATA[
<style type='text/css'>
Expand All @@ -20,10 +20,9 @@
span.tooltip-content { display: none; }
.tip-text span.readonly { display: none; }
.tip-text span.tooltip-content { display: block; }
</style>
<span class='readonly'>
<h1>News Show Pro GK5 <small>ver. 1.9.3.0</small></h1>
<h1>News Show Pro GK5 <small>ver. 1.9.3.1</small></h1>
<p>GK5 is new generation of our extensions dedicated to Joomla 3+.</p>
<p>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.</p>
<p class='homepage'><a href='http://www.gavick.com/news-show-pro-gk5.html' target='_blank'>Learn more at the NSP GK5 project website.</a></p>
Expand Down

0 comments on commit 5f55208

Please sign in to comment.