- Posts: 6
Postings
You can freely browse the forum and post in the community forum.
However, you need a valid license to write posts for support (own a valid commercial software license or have purchased a support membership).
Posts only show once reviewed. This is mainly preventive to keep spam away. Thank you for your understanding!
Issue with faded slider
- mattnewton27
-
Topic Author
- New Member
-
Less
More
IP: 1.124.85.84
14 years 2 months ago #941
by mattnewton27
Issue with faded slider was created by mattnewton27
Hello, love the plugin!
It did fix my google maps not showing on my contact page but it made my template script not work. You will see on my home page there is a faded slider at the top that does not work when I enable your plugin. Unfortunately if I don' enable your plugin then other things stop working. Any idea how to fix it? Thanks a lot.
It did fix my google maps not showing on my contact page but it made my template script not work. You will see on my home page there is a faded slider at the top that does not work when I enable your plugin. Unfortunately if I don' enable your plugin then other things stop working. Any idea how to fix it? Thanks a lot.
- admin
-
- Administrator
-
Less
More
- Posts: 1931
IP: 207.229.131.129
14 years 2 months ago #942
by admin
Olivier.
Replied by admin on topic Re: Issue with faded slider
Hello!
Thank you, glad you love the plugin.
Can you give me the URL of your website so I can check the source code out? Thanks.
Thank you, glad you love the plugin.
Can you give me the URL of your website so I can check the source code out? Thanks.
Olivier.
- mattnewton27
-
Topic Author
- New Member
-
Less
More
- Posts: 6
IP: 1.124.85.84
14 years 2 months ago #943
by mattnewton27
Replied by mattnewton27 on topic Re: Issue with faded slider
- admin
-
- Administrator
-
Less
More
- Posts: 1931
IP: 207.229.131.129
14 years 2 months ago #944
by admin
Olivier.
Replied by admin on topic Re: Issue with faded slider
No problem 
There is an issue with the plugin, it erases some code but this has no effect on your site because it is supposed to work when jQuery is not present, which it is. This line is:
I would just get rid of it (the 'GARBAGE' word comes from the jQuery Easy plugin). I will try to find a way of avoiding that for the next release.
The fade does not work because it uses the variable '$j' instead of 'jQuery'. You can see it here:
I have written an article on how to deal with this kind of case in a case study
I think you just need to add the script declaration
to the 'add script declarations' option of the plugin (you need to use the beta version 1.3.0) to make the fade work.
There is an issue with the plugin, it erases some code but this has no effect on your site because it is supposed to work when jQuery is not present, which it is. This line is:
Code:
<script>!window.jQuery && document.write(unescape('%3Cscript src="/GARBAGE"%3E%3C/script%3E'))</script>
I would just get rid of it (the 'GARBAGE' word comes from the jQuery Easy plugin). I will try to find a way of avoiding that for the next release.
The fade does not work because it uses the variable '$j' instead of 'jQuery'. You can see it here:
Code:
$j(window).load(function(){
$j(function(){
$j("#faded").faded({
speed: 500,
crossfade: false,
sequentialloading: true,
autoplay: 5000 });
$j("#faded li img").show();
});
});
I have written an article on how to deal with this kind of case in a case study
I think you just need to add the script declaration
Code:
var $j = jQuery.noConflict();
Olivier.
- mattnewton27
-
Topic Author
- New Member
-
Less
More
- Posts: 6
IP: 1.124.85.84
14 years 2 months ago #945
by mattnewton27
Replied by mattnewton27 on topic Re: Issue with faded slider
Thanks for that. I tried your suggestion and it fixed the faded slider but now the news scroller on the bottom does not work haha.. bummer. At least the maps on the contact page works which was my major concern.
- admin
-
- Administrator
-
Less
More
- Posts: 1931
IP: 207.229.131.129
14 years 2 months ago #946
by admin
Olivier.
Replied by admin on topic Re: Issue with faded slider
It seems that you have removed options from the plugin. The jquerynoconflict.js file is missing ('add no conflict code' thru script) and you need to keep the 'strip no conflict code' option to yes.
Olivier.
