anchor - HTML linking to a level inside current route -
I am trying to do a relative anchor at some level inside the current path, but it does not understand . For example, if I am in the following route: http://domain.com/first/second How do I link a relative link from here: http://domain.com / First / second / third
-
& lt; A href = "third" & gt;takes me tohttp: // domain I Com / first / third -
& lt; A href = "./ third" & gt;also takes me tohttp://domain.com/ first / third -
& lt; A href = "/ thirds" & gt;
The only way I have found that second / third or ./ second / third I am hesitant to use because I may need the same view from the other way and the other might be something else Is that what I am trying to do too?
Comments
Post a Comment