hi guys can any one have idea whenever i click from footer link a new page will be open and the will scroll to a specific content below is the screen shot. Condition is the website is in yii framework and nothing others.
Asked
Active
Viewed 3,786 times
2 Answers
4
You can create an anchor in your HTML with <a id="some-content"></a>
and change the location to some/action#some-content
.

DaSourcerer
- 6,288
- 5
- 32
- 55
2
using <a> you can create that functionality
<a id="travel">Travel Privileges</a>
and try to add #travel
in the location bar
Ex:
http://somedomain/privileges#travel

StaleMartyr
- 778
- 5
- 18