Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

Search the Community

Showing results for tags 'anchors'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Forum
    • News and Announcements
    • Getting Started With Squarespace
    • Coding and Customization
    • Commerce
    • Feedback on Your Site
    • Images and Videos
    • Pages and Content
    • SEO and Marketing
    • Site Design and Styles
  • Squarespace Forum Club Guidelines's Topics

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Website


Location

Found 4 results

  1. Site URL: https://www.susanchalkermassage.com/ Hi Guys, I have added code in my header to link my folders in my navigation to an anchor on my homepage as I have created a one pager. Only the blog ,contact form and from Lomi Lomi in the dropdown of massages all goes to its own page. The issue I am having is ....It works at first as you will see when you go to the site https://www.susanchalkermassage.com/ but as soon as I Click the Logo to go to homepage and try and click on the Header links (Say I go to the About page, it says "This folder does not contain any pages."). Its also not linking on mobile at all. Did I add something wrong in my code or am I missing something. <script type="text/javascript" src="jquery-1.11.1.min.js"></script> <!-- Redirecting Testimonial on nav --> <script> Y.on('domready', function(){ Y.one('nav a[href="/testimonial"]').on('click', function(e){ e.preventDefault(); e.stopPropagation(); window.location = 'https://www.susanchalkermassage.com/#testimonial-home'; }); }); </script> <!-- Redirecting About on nav --> <script> Y.on('domready', function(){ Y.one('nav a[href="/about"]').on('click', function(e){ e.preventDefault(); e.stopPropagation(); window.location = 'https://www.susanchalkermassage.com/#susan'; }); }); </script> <!-- Redirecting Individualized Massage on nav --> <script> Y.on('domready', function(){ Y.one('nav a[href="/individualized"]').on('click', function(e){ e.preventDefault(); e.stopPropagation(); window.location = 'https://www.susanchalkermassage.com/#individualized-massage'; }); }); </script> <!-- Redirecting Location on nav --> <script> Y.on('domready', function(){ Y.one('nav a[href="/location"]').on('click', function(e){ e.preventDefault(); e.stopPropagation(); window.location = 'https://www.susanchalkermassage.com/#location-address'; }); }); </script> <!-- Redirecting Massages on nav--> <script> Y.on('domready', function(){ Y.one('nav a[href="/rates"]').on('click', function(e){ e.preventDefault(); e.stopPropagation(); window.location = 'https://www.susanchalkermassage.com/#massage-rates'; }); }); </script> <!-- Redirecting massages page --> <script> Y.on('domready', function(){ Y.one('nav a[href="/massages"]').on('click', function(e){ e.preventDefault(); e.stopPropagation(); window.location = 'https://www.susanchalkermassage.com/#massage-modalities'; }); }); </script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <script> function anchorLinks(){ Y.all("a.Mobile-overlay-nav-item").on('click', function() { Y.one('body').removeClass('is-mobile-overlay-active'); }); Y.all("a.Mobile-overlay-folder-item").on('click', function() { Y.one('body').removeClass('is-mobile-overlay-active'); }); if(!Y.one('.collection-type-index')){ Y.all(".Mobile-overlay-nav--primary .Mobile-overlay-nav-item:not(.Mobile-overlay-nav-item--folder')").each(function(){ this.on("click", function(){ var newURL = "http://"+window.location.host +(this.getAttribute('href')); window.location.href = newURL; }); }); } } function scrollToURLAnchor(){ setTimeout(function(){ if(window.location.hash){ $('html, body').animate({ scrollTop: $(window.location.hash).offset().top }, 600, function () { }); } }, 700); } Y.on('domready', function(){ anchorLinks(); scrollToURLAnchor(); if(window.location.hash != ''){ $('a[href*="#"].Mobile-overlay-nav-item').on('click', function(){ var newURL = 'http://'+window.location.host +$(this).attr('href'); window.location = newURL; }); } }); window.addEventListener('mercury:load', anchorLinks); window.addEventListener('mercury:load', scrollToURLAnchor); </script>
  2. Hello! The index page of my site (Clay Template) has multiple anchors allowing users to navigate to different parts of the page from the main navigation menu. The anchors are titled #mission, #facilities, and #contact. To get to their locations from somewhere other than the homepage I've added the full URL to the navigation link, ie. pvactx.org/#mission, etc. This is not working, so I'm writing here to see if anyone has any suggestions. Website is https://pvactx.org Thanks in advance!
  3. Hello,I've pasted a long essay (with footnotes) on a single page in the Miller template. I’m anchor-linking the 25 footnote numbers to the corresponding footnotes at the bottom of the page. So far so good, BUT I'd like for readers to be able to click the number of the bottom-page footnote to return them to the original footnoted text. Is it possible to create a two-way anchor link (as with the red hyperlinked Kindle footnotes in the attached image)? Thank you!
  4. I want to use images on the top of my page and link them to different sections of the same page. I know I can use anchor links, but the guide only explains how to use the text links. I want to use images as the links. Is it possible?
×
×
  • Create New...