The Slim Framework support forum has moved to http://discourse.slimframework.com.
This Tender forum is no longer maintained or monitored.
Route to section
Hello
I have a website that have a dropdown menu. I want to link the dropdown links to different sections on the same page. How do I do that? I tried $app->get('/url#test') but it gave errors. I use urlFor in the menu to generate links.
Thanks in advance!
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Rob Allen on 06 Mar, 2016 07:10 PM
That has to be handled by the webpage as the fragment (
#test
) is not passed to PHP when you click a link.Josh Lockhart closed this discussion on 12 Feb, 2021 07:39 PM.