Charlie W Posted 11 hours ago Share Posted 11 hours ago I have a page that lists products for a lumber manufacturer; I'll call the manufacturer "Acme" for this example. Acme's products include both decking lumber and siding lumber. On the menu, when the user selects "siding", I need to load the page that lists the decking lumber and then the siding lumber and jump to the first siding product. Pretty straightforward...I have an <a id="siding">...</a> tag on the target page. The menu link target is "acme#siding", but when the URL gets rendered in Processwire, it changes it to "acme/#siding" (with the slash). I'm not sure how to get the result I am looking for. Any help is appreciated. Link to comment Share on other sites More sharing options...
ngrmm Posted 4 hours ago Share Posted 4 hours ago @Charlie W your question ist not directly related to processwire. You would get or find an answer more quickly on stackoverflow. Or just ask chatgpt, claude, … acme/#sliding is correct. Just make sure that you do not have multiple elements with the same id. Then you link <a href='#siding>siding</a> should get you to your target <div id='siding'></div> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now