SueF Posted August 7, 2020 Share Posted August 7, 2020 squarespace help recommended this forum for advice. I want to display what criteria were used to create a summary page. Ie, If I select archive search: Cat a, I want the summary page to show that Cat a was the search criteria. Any ideas? I want to minimize coding, but am willing to put some in if needed. Thanks! Sue Link to comment
RyanDejaegher Posted August 7, 2020 Share Posted August 7, 2020 @SueF can you share a link to the site? Philadelphia, PA 👉 Squarespace Tutorials Chat/Message on FB Messenger for quickest response: https://m.me/dejaegherryan Link to comment
SueF Posted August 7, 2020 Author Share Posted August 7, 2020 Hi. Site is still not published. Right now I put in a code block that has a button that just pops up the url. The url shows the criteria. Ugly but at least it is a start 🙂 Code copied tutorial republic <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Get Current URL in JavaScript</title> </head> <body> <script> function getURL() { alert("The URL of this page is: " + window.location.href); } </script> <button type="button" onclick="getURL();">See page criteria</button> </body> </html> Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment