- Posts: 24
- Thank you received: 0
Smooth scroll stopped working.
-
info@keesvandenboogaart.nl
Inactive member - Member
Less
More
9 years 11 months ago #44067
by info@keesvandenboogaart.nl
Replied by info@keesvandenboogaart.nl on topic Smooth scroll stopped working.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
9 years 11 months ago #44069
by ivan.milic
Replied by ivan.milic on topic Smooth scroll stopped working.
This line:
jQuery("#tabs").tabs();
replace with:
try{
jQuery("#tabs").tabs();
}catch(e){}
jQuery("#tabs").tabs();
replace with:
try{
jQuery("#tabs").tabs();
}catch(e){}
Please Log in to join the conversation.
-
info@keesvandenboogaart.nl
Inactive member - Member
Less
More
- Posts: 24
- Thank you received: 0
9 years 11 months ago #44071
by info@keesvandenboogaart.nl
Replied by info@keesvandenboogaart.nl on topic Smooth scroll stopped working.
"/js/hot_onepage.js" in template "hot_one_page".
jQuery(document).ready(function(){
// calling tabs
try{
jQuery("#tabs").tabs();
}catch(e){}
jQuery(".scroll, .mp_topmenu a").click(function(event){
try{
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);
});
with no result
sorry next try
greeting kees
jQuery(document).ready(function(){
// calling tabs
try{
jQuery("#tabs").tabs();
}catch(e){}
jQuery(".scroll, .mp_topmenu a").click(function(event){
try{
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);
});
with no result
sorry next try
greeting kees
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
9 years 11 months ago #44077
by ivan.milic
Replied by ivan.milic on topic Smooth scroll stopped working.
I see it works now, maybe you need refresh
Please Log in to join the conversation.
Time to create page: 0.135 seconds