javascriptcssjqueryyiijquery-scrollable

Redirect and scroll to specific content


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


Solution

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