Responsive Banner Slider 2.2.3
- Posted by korrektkreativ (18) Offline
ive found out that these lines are doubled in code?
jQuery.noConflict();
jQuery(document).ready(function(){
var options = {
nextButton: true,
prevButton: true,
animateStartingFrameIn: true,
autoPlayDelay: 5000,
pauseOnHover: true
};
var sequence = jQuery("#sequence-130").sequence(options).data("sequence");
sequence.afterLoaded = function(){
jQuery("#seqnav").fadeIn(100);
jQuery("#seqnav li:nth-child("+(sequence.settings.startingFrameID)+") img").addClass("active");
}
sequence.beforeNextFrameAnimatesIn = function(){
jQuery("#seqnav li:not(:nth-child("+(sequence.nextFrameID)+")) img").removeClass("active");
jQuery("#seqnav li:nth-child("+(sequence.nextFrameID)+") img").addClass("active");
}
jQuery("#seqnav li").click(function(){
jQuery(this).children("img").removeClass("active").children("img").addClass("active");
sequence.nextFrameID = jQuery(this).index()+1;
sequence.goTo(sequence.nextFrameID);
});
});
// $doc->addScriptDeclaration($seqjs, "text/javascript");
in test we deaktivatet addScriptDeclaration and put this lines directly in template! now it works!!!
so why would be added this js code 2 times?? doubled? modul only 1 time activated!!!
BUG FOUND ALSO within banner links!!! first time weblink from 1st banner is wrong!!!
if you wait 5 sec and go from 2nd banner back to first...link is ok???? any idea??
11 years 3 months ago #7
by korrektkreativ
jQuery.noConflict();
jQuery(document).ready(function(){
var options = {
nextButton: true,
prevButton: true,
animateStartingFrameIn: true,
autoPlayDelay: 5000,
pauseOnHover: true
};
var sequence = jQuery("#sequence-130").sequence(options).data("sequence");
sequence.afterLoaded = function(){
jQuery("#seqnav").fadeIn(100);
jQuery("#seqnav li:nth-child("+(sequence.settings.startingFrameID)+") img").addClass("active");
}
sequence.beforeNextFrameAnimatesIn = function(){
jQuery("#seqnav li:not(:nth-child("+(sequence.nextFrameID)+")) img").removeClass("active");
jQuery("#seqnav li:nth-child("+(sequence.nextFrameID)+") img").addClass("active");
}
jQuery("#seqnav li").click(function(){
jQuery(this).children("img").removeClass("active").children("img").addClass("active");
sequence.nextFrameID = jQuery(this).index()+1;
sequence.goTo(sequence.nextFrameID);
});
});
// $doc->addScriptDeclaration($seqjs, "text/javascript");
in test we deaktivatet addScriptDeclaration and put this lines directly in template! now it works!!!
so why would be added this js code 2 times?? doubled? modul only 1 time activated!!!
BUG FOUND ALSO within banner links!!! first time weblink from 1st banner is wrong!!!
if you wait 5 sec and go from 2nd banner back to first...link is ok???? any idea??
Please Log in or Create an account to join the conversation.
- Posted by erwinschro (1034) Offline
why the js code was doubled? we've checked our module codes and no doubled from there. It must be something happen inside the template or maybe a plugin/module you've published there. You can prove it by using default/standart joomla template also you can see in our demo site, there's no double javascript/jquery from responsive banner module!!! ( just following you with that triple exclamation marks )
Also regarding the banner links that must be related with the previous conflict too and I have no idea what module/plugin/template there that causing it...(i have asked you before to one by one deactivate your plugin/module there...but you don't say anything on that) as you can see in our demo site with standart joomla template....that's not happen!!! ( again just following you with that triple exclamation marks )
so don't get a conclusion too fast that there's a bug in our module (it's possible...for sure) until you know exactly what causing it...
11 years 3 months ago #8
by erwinschro
Also regarding the banner links that must be related with the previous conflict too and I have no idea what module/plugin/template there that causing it...(i have asked you before to one by one deactivate your plugin/module there...but you don't say anything on that) as you can see in our demo site with standart joomla template....that's not happen!!! ( again just following you with that triple exclamation marks )
so don't get a conclusion too fast that there's a bug in our module (it's possible...for sure) until you know exactly what causing it...
Please Log in or Create an account to join the conversation.
- Posted by korrektkreativ (18) Offline
hi!
sorry 4 fast bug declaration!!!
ive tested your module on a fresh standard template with only your module inside
and same problem here
i used joomla standard template protostar
first weblink is everytime wrong
short description:
we have 3 banners
2nd is important so this will show first
and on standard template i get weblink from 3rd banner
and on our template we get weblink from banner 1 for banner 2 (important)
if i do nothing and 1st banner will be shown again the link is correct
11 years 3 months ago #9
by korrektkreativ
sorry 4 fast bug declaration!!!
ive tested your module on a fresh standard template with only your module inside
and same problem here
i used joomla standard template protostar
first weblink is everytime wrong
short description:
we have 3 banners
2nd is important so this will show first
and on standard template i get weblink from 3rd banner
and on our template we get weblink from banner 1 for banner 2 (important)
if i do nothing and 1st banner will be shown again the link is correct
Please Log in or Create an account to join the conversation.
- Posted by andy (759) Offline
Hi korrektkreativ, our apologies for the delay in responding, but honestly we're abit confusing with your problem, because we're unable to replicate the problem at our ends
By the way, when I visited your website today, it looks like everything is fine. Is the problem already solved now?
11 years 3 months ago #10
by andy
By the way, when I visited your website today, it looks like everything is fine. Is the problem already solved now?
Please Log in or Create an account to join the conversation.
- Posted by korrektkreativ (18) Offline
go to our site
www.meisinger.at/
Make it your race banner should have the link:
www.meisinger.at/component/banners/click/4
but if you refresh the site sometimes the link is wrong
www.meisinger.at/component/banners/click/1
its really confused perhaps sometime the links is right and sometimes wrong!!!
11 years 3 months ago #11
by korrektkreativ
www.meisinger.at/
Make it your race banner should have the link:
www.meisinger.at/component/banners/click/4
but if you refresh the site sometimes the link is wrong
www.meisinger.at/component/banners/click/1
its really confused perhaps sometime the links is right and sometimes wrong!!!
Please Log in or Create an account to join the conversation.
- Posted by andy (759) Offline
Hi, Just want to make sure, so the initial problems (auto play and previous / arrow issue) is already resolved now?
11 years 3 months ago #12
by andy
Please Log in or Create an account to join the conversation.