Search Form and Social Buttons

HotThemes Logo and Top Menu

To request a forum account, please login here and open support ticket. Only customers with active order(s) can open forum account!

× Discussion about "Skies" Joomla template.

Topic-icon "Scroll To" doesn’t work in any browser

More
6 years 1 month ago - 6 years 1 month ago #7229 by veritas
veritas created the topic: "Scroll To" doesn’t work in any browser
Hello,

"Scroll To" doesn’t work in any browser.

It only happens in the homepage, the other pages are OK.

When I click on it in IE, the IE popup window reports this error:
Line: 246
Char:3
Error: Object doesn’t support this property or method
Code:0

It seems to be an incompatibility with the slide js because in Line 246 my homepage code source shows:
<script type="text/javascript"> 
    if(!window.slider) var slider={};slider.data=[
									{"id":"slide-img-1","client":"Articles","desc":"Heilung Seminar"},{"id":"slide-img-2","client":"Meditation Temple","desc":"Farbige Dachluke"},{"id":"slide-img-3","client":"Maracuja-Feldern","desc":"Maracuja-Feldern"},{"id":"slide-img-4","client":"Sonnenuntergang in Huacho","desc":"Sonnenuntergang in Huacho"}	];
   </script>

The only change I did was the one below your staff recommended in another post to repair the font resizer:

First go to Extensions->Template Manager->Edit HTML
Find this:

<script type="text/javascript">
jQuery(function() {
jQuery('#gallery a').lightBox();
});
</script>

,and change it to this:

<script type="text/javascript">
jQuery(function() {
if(jQuery('#gallery a')[0]){
jQuery('#gallery a').lightBox();
}
});
</script>



Thanks in advance for your help.

Veritas
Last Edit: 6 years 1 month ago by veritas.

Please Log in to join the conversation.

More
6 years 1 month ago #7242 by ivan.milic
ivan.milic replied the topic: Re: "Scroll To" doesn’t work in any browser
Disable jQuery in all og your modules and add reference in head section of index.php of template manually. Latest jQuery core and UI you can download from jquery.com
The following user(s) said Thank You: veritas

Please Log in to join the conversation.

More
6 years 1 month ago #7252 by veritas
veritas replied the topic: Re: "Scroll To" doesn’t work in any browser
Hello Ivan. Thank you.

Do you mean to disable momentarily jQuery in all modules, replace js with the latest from jQuery and and enable jQuery again?

How do you disable jQuery in all the modules? It is not enough uploading to server the latest jQuery files?

Veritas

Please Log in to join the conversation.

More
6 years 1 month ago #7265 by ivan.milic
ivan.milic replied the topic: Re: "Scroll To" doesn’t work in any browser
When you open settings of module that needs jquery, there will be parameter named like "load jQuery", set it to NO.

jQuery download link is:
jqueryui.com/download

You will need to copy css and js folders from download package to your server.
You need css reference to jquery-ui-1.8.11.custom.css
then two script references to jquery-1.5.1.min.js and jquery-ui-1.8.11.custom.min.js

When you finish adding that go to View source from your browser and make sure that that references are only there where you did added them manually.

Please Log in to join the conversation.

More
6 years 1 month ago #7290 by veritas
veritas replied the topic: Re: "Scroll To" doesn’t work in any browser
Thank you, Ivan. It worked like a charm!

Veritas

Please Log in to join the conversation.

Time to create page: 0.132 seconds

Links, Partners and Social Media