- Posts: 14
- Thank you received: 0
Smooth scroll stopped working.
-
jdockett
Inactive member -
Topic Author
- New Member
-
Less
More
10 years 2 months ago #44050
by jdockett
Replied by jdockett on topic Smooth scroll stopped working.
It looks like adding the catch caused an error. Try removing it and I'll take another look at it later today.
Please Log in to join the conversation.
-
info@keesvandenboogaart.nl
Inactive member -
- Member
-
Less
More
- Posts: 24
- Thank you received: 0
10 years 2 months ago #44051
by info@keesvandenboogaart.nl
Replied by info@keesvandenboogaart.nl on topic Smooth scroll stopped working.
I.ll removed the script.
I'm curious if you can find a solution
thanks Kees
I'm curious if you can find a solution
thanks Kees
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
10 years 2 months ago #44052
by ivan.milic
Replied by ivan.milic on topic Smooth scroll stopped working.
You have error in:
templates/hot_one_page/js/hot_onepage.js
use one in attachment.
templates/hot_one_page/js/hot_onepage.js
use one in attachment.
Please Log in to join the conversation.
-
jdockett
Inactive member -
Topic Author
- New Member
-
Less
More
- Posts: 14
- Thank you received: 0
10 years 2 months ago #44054
by jdockett
Replied by jdockett on topic Smooth scroll stopped working.
Ivan,
I don't see an attachment.
Kees,
When you track down the attachment I'd replace it as instructed. I'm just seeing errors in the hot_onepage.js script too. I haven't worked on the site in over a year now. I'm a little rusty.
I don't see an attachment.
Kees,
When you track down the attachment I'd replace it as instructed. I'm just seeing errors in the hot_onepage.js script too. I haven't worked on the site in over a year now. I'm a little rusty.
Please Log in to join the conversation.
-
info@keesvandenboogaart.nl
Inactive member -
- Member
-
Less
More
- Posts: 24
- Thank you received: 0
10 years 2 months ago #44060
by info@keesvandenboogaart.nl
Replied by info@keesvandenboogaart.nl on topic Smooth scroll stopped working.
I m sorry"
Here is the attachment
I think you mean the script in
templates/hot_one_page/js/hot_onepage.js
// calling tabs
jQuery("#tabs").tabs();
jQuery(".scroll, .mp_topmenu a").click(function(event){
event.preventDefault();
jQuery('html,body').animate({scrollTop:jQuery(this.hash).offset().top}, 500);
}catch(e){
jQuery('html,body').animate({scrollTop:0}, 500);
}
});
// set big image container height
var bodyHeight = jQuery(window).height();
var bodyHeightSinglePage = jQuery(window).height() - 240;
jQuery('.fullwidth').css('height', bodyHeight);
jQuery('div.item-page').css('min-height', bodyHeightSinglePage);
});
Here is the attachment
I think you mean the script in
templates/hot_one_page/js/hot_onepage.js
// calling tabs
jQuery("#tabs").tabs();
jQuery(".scroll, .mp_topmenu a").click(function(event){
event.preventDefault();
jQuery('html,body').animate({scrollTop:jQuery(this.hash).offset().top}, 500);
}catch(e){
jQuery('html,body').animate({scrollTop:0}, 500);
}
});
// set big image container height
var bodyHeight = jQuery(window).height();
var bodyHeightSinglePage = jQuery(window).height() - 240;
jQuery('.fullwidth').css('height', bodyHeight);
jQuery('div.item-page').css('min-height', bodyHeightSinglePage);
});
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
10 years 2 months ago #44064
by ivan.milic
Replied by ivan.milic on topic Smooth scroll stopped working.
yes I see sorry, here it is.
Please Log in to join the conversation.
Time to create page: 0.094 seconds