- Posts: 17
- Thank you received: 0
"Scroll To" doesn’t work in any browser
-
veritas
Inactive member - Topic Author
- New Member
Less
More
13 years 7 months ago - 13 years 7 months ago #7229
by veritas
"Scroll To" doesn’t work in any browser was created by veritas
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:
It seems to be an incompatibility with the slide js because in Line 246 my homepage code source shows:
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
"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:
Code:
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:
Code:
<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: 13 years 7 months ago by veritas.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 7 months ago #7242
by ivan.milic
Replied by ivan.milic on 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.
-
veritas
Inactive member - Topic Author
- New Member
Less
More
- Posts: 17
- Thank you received: 0
13 years 7 months ago #7252
by veritas
Replied by veritas on 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
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.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 7 months ago #7265
by ivan.milic
Replied by ivan.milic on 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.
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.
Time to create page: 0.269 seconds