Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

Make it one page
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Make it one page

Make it one page 7 years ago #32556

Hello,
I like to set this page working by onepage but if i set the links of menu to: index.php/en/#content_main3 or something # this doesn't slide...
it is possible make it sliding by the page when I click on the menu?

best regards,

Re: Make it one page 7 years ago #32583

Dear Claudio Machado

It is working normally with this function when use the #anchor
our template don't support slide when click the link menu.
you can refer: www.w3schools.com/html/html_links.asp

Thanks

Re: Make it one page 7 years ago #32586

hello
I tried this:

<script>
var $root = jQuery('html, body');
jQuery('#content_main3').click(function() {
var href = jQuery.attr(this, 'href');
$root.animate({
scrollTop: $(href).offset().top
}, 2000, function () {
window.location.hash = href;
});
return false;
});
</script>

on the template/sj_justice/index.php but it don't work...
I need to find one way to set it sliding..
please help me

Re: Make it one page 7 years ago #32610

Dear Claudiopardal

I checked your site, it is sliding when click the menu item. thanks for your solution.

Thanks
  • Page:
  • 1
Time to create page: 0.25 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes