Smooth Scrolling For Anchor Links dont’t work with full url followed by the anchor

Asked on December 30, 2015 in Customization.

I followed this tutorial for anchor links that use IDs

https://docs.layerswp.com/doc/how-to-add-smooth-scrolling-for-anchor-links/

But with the full url on the menu does not work the smooth scrolling effect (http://www.mysite.com/#layers-widget-column-16), if I leave only the anchor links works fine.

So how do I make it work the effect with the full url?

Thanks in advanced.

maxi2004 Layers User

Hi there,

Sorry I insist on this issue, but please someone can provide a solution?

Thanks in advanced.

on February 5, 2016.
Reply
  • Possible Answers to Your Question:

  • 2 Answer(s)
    Answered on January 5, 2016.

    Make sure you are using the correct Javascript – you need the one that targets #, not a named anchor.  You also need to ensure the URL is to your actual site, not “mysite.com”as in the example.  For further troubleshooting please provide your site link so we can see the issue in action.

    Reply
    Answered on January 12, 2016.

    Hi, I have exactly the same problem as maxi2004.
    He also perfectly described the problem here.

    I use the correct Javascript, links are: #layers-widget-column-1 etc. Perfecly works but if I use full link 

    
    http://www.mysite.com/#layers-widget-column-1
    
    
     it doesn’t.
    But I can’t use only #layers-widget-column-1 because it does’t work on a subpage (
    http://www.mysite.com/blog/#layers-widget-column-1
    ) —> we want back to 
    http://www.mysite.com/#layers-widget-column-1

    So there is not a solution how can I use smooth scroll effect if I have a subpage, is it?
    Thank you

    Thank you cedukcz for explaining more clearly.

    Any cooperation to solve this problem is much appreciated.

    Thanks in advanced.

    on January 22, 2016.

    I’ve been surfing online more than 5 hours today, yet I never found any interesting article like yours without a doubt. It’s pretty worth enough for me. Thanks…lock for cabinet doors

    on July 24, 2022.

    Thank you quite definitely with this great post. info here

    on August 2, 2022.

    Thanks for taking the time to discuss that, I feel strongly about that and so love getting to know more on this kind of field. Can you mind updating your blog post with additional insight? It ought to be really helpful for every one of us. Sinter Powder Metal Filter Cartridge

    on August 2, 2022.

    Thanks for another informative website. Where else could I get that kind of information written in such a perfect way? his explanation

    on August 22, 2022.

    I know this is one of the most meaningful information for me. And I’m animated reading your article. But should remark on some general things, the website style is perfect; the articles are great. Thanks for the ton of tangible and attainable help.pest control new smyrna beach fl

    on September 13, 2022.

    Awesome! I appreciate your blog post to this matter. It has been insightful. my blog: maple syrupmuscle cars for sale

    on November 2, 2022.

    When you use a genuine service, you will be able to provide instructions, share materials and choose the formatting style.slot88

    on November 3, 2022.

    Hi, Neat post. There’s a problem with your website in internet explorer, would test this… IE still is the market leader and a big portion of people will miss your fantastic writing due to this problem.RTP live

    on November 6, 2022.

    I would like ones own spot. It is in reality more advanced than view every person verbalize inside core along with readability with this subject matter essential location usually are ideally recognized.바카라

    on November 7, 2022.

    I was reading through some of your blog posts on this site and I think this web site is really instructive! Keep on putting up.mega game

    on November 9, 2022.

    We are a full-service asphalt and concrete paving and repair company in Charlotte, NC. We provide complete services for all concrete needs such as driveways and patios, as well as repairing damaged sidewalks and curbing. Our concrete services include Decorative concrete, stamped concrete.

    on November 9, 2022.

    One of the best manufacturers of stair carpet exclusive invites you to a special occasion.read more

    on November 10, 2022.

    Welcome to the best online slot site in Korea. For you to use with confidence, Slot Moara carefully selects and provides only fully verified companies by reviewing all sites through experts. Don’t miss out on various events and bonuses only available at Slot Moara.슬롯사이트

    on November 12, 2022.

    At eMoney247, we help International Banking Services with multi currency digital banking services like a GBP Account, Euro IBAN Bank Account, USD Account UK, Forex, Best FX Services.

    on November 19, 2022.

    I consider, that you are not right. Let’s discuss it. Write to me in PM.slot online

    on November 21, 2022.

    Immediately after study a couple of of the blog posts on your internet site now, and I truly like your way of blogging. I bookmarked it to my bookmark site list and will be checking back soon. Pls check out my web website as well and let me know what you think.RTP slot

    on November 23, 2022.

    An interesting discussion may be valued at comment. I’m sure that you simply write read more about this topic, it will not be a taboo subject but generally individuals are not enough to communicate on such topics. To another location. Cheersacim

    on November 26, 2022.

    hi!,I like your writing so much! share we keep up a correspondence extra approximately your post on AOL? I require a specialist on this space to solve my problem. May be that is you! Looking ahead to peer you.raja gacor

    on December 3, 2022.

    At eMoney247, we help International Banking Services with multi currency digital banking services like a GBP Account, Euro IBAN Bank Account, USD Account UK, Forex, Best FX Services.

    on December 7, 2022.

    We need many stories, Like genuinely appreciated, You want addiitional data over it, mainly because it can be reasonably exceptional., Take care exclusively for declaring.bet77

    on December 8, 2022.

    Some really fantastic info , Sword lily I noticed this.description

    on December 17, 2022.

    Hiya, have you at any time wondered to publish regarding Nintendo or PS handheld?judi slot

    on December 22, 2022.

    That’s why it is best that you relevant researching previously penning. You’re able to construct more desirable put up this way.ourocean2018

    on December 27, 2022.

    Their own acquired on your weblog even though deciding acknowledgement just a few tid little bit submits. Satisfying technique for future, I’ll be book-marking before beginning get items summary spgs completely upward. dewa slot 88

    on December 28, 2022.

    When I originally commented I clicked the “Notify me when new comments are added” checkbox and now each time a comment is added I get four e-mails with the same comment. Is there any way you can remove people from that service? Many thanks!Recommended Reading

    on December 28, 2022.

    Cause of Arthritis… […]here are some links to sites that we link to because we think they are worth visiting[…]… Bong88

    on December 31, 2022.

    The look favorably fantastic. Many of these small data tend to be designed making use of lots of background encounter. I’d like everything considerably.agen sbobet terpercaya

    on January 3, 2023.

    since i have been running my own busines at home, i have always been monitoring business news on the internet and cable television.สล็อต444

    on January 5, 2023.

    An fascinating discussion may be worth comment. I do think that you can write much more about this topic, it will not certainly be a taboo subject but usually folks are not enough to speak on such topics. To a higher. Cheerslook at this site

    on January 5, 2023.

    To observe picked up against your site even now setting up procedure in plain english only one minimal little bit of submits. Pleasurable way of possibilities long run, We’re also book-marking at a time safe and sound forms prevent rises along. 메이저놀이터리스트

    on January 9, 2023.

    Promptly your blog might irrefutably typically possibly be visible related to each one of blog site people today, on account of diligent studies and as well lab tests. 안전놀이터

    on January 10, 2023.

    Now i’m thinking about kinds write-up. It is actually good to find out folks verbalize around the cardiovascular system as well as comprehending through this considerable concept is normally basically identified.

    on January 11, 2023.

    Now i’m thinking about kinds write-up. It is actually good to find out folks verbalize around the cardiovascular system as well as comprehending through this considerable concept is normally basically identified.스포츠토토추천

    on January 11, 2023.

    It really is concurrently a significant spot that i really savored exploring. Just isn’t everyday offering the outlook to see or watch something. slot gacor

    on January 12, 2023.

    I would like to express my thanks to this writer for rescuing me from this particular setting. As a result of surfing around through the internet and finding advice that were not beneficial, I was thinking my life was over. Existing without the approaches to the problems you have solved by way of your review is a critical case, as well as the ones which might have in a negative way affected my career if I hadn’t come across your blog post. Your own knowledge and kindness in dealing with every item was useful. I don’t know what I would’ve done if I hadn’t encountered such a stuff like this. I’m able to at this moment look forward to my future. Thanks a lot so much for this expert and effective help. I will not think twice to refer the website to anyone who needs and wants guidance about this subject.롤스크린

    on January 18, 2023.

    I simply couldn’t go away your website before suggesting that I actually enjoyed the standard information an individual provide on your visitors? Is gonna be back frequently in order to inspect new posts.먹튀검증

    on January 22, 2023.

    What a lovely blog. I will certainly be back. Please keep writing!Primus Email Support

    on January 23, 2023.

    Outstanding post, I conceive people should larn a lot from this weblog its very user friendly .canopy tool box

    on January 23, 2023.

    Oh my goodness! an incredible article dude. Thank you Nevertheless I am experiencing challenge with ur rss . Don’t know why Unable to subscribe to it. Is there anyone getting identical rss downside? Anybody who knows kindly respond. Thnkx Brigade Valencia

    2 days ago.

    I do consider all of the concepts you’ve introduced on your post. They’re very convincing and will certainly work. Nonetheless, the posts are too short for starters. Could you please lengthen them a bit from next time? Thanks for the post. Pristina Hotels What is the best back scratcher

    2 days ago.
    Reply