Question

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.

Footer Links on any page

the content page where scroll to the specific area content

Was it helpful?

Solution

You can create an anchor in your HTML with <a id="some-content"></a> and change the location to some/action#some-content.

OTHER TIPS

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
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top