Jump to content


Photo
- - - - -

Scroll to Page Location When Clicking on Feature Link


  • Please log in to reply
1 reply to this topic

#1 MusicGal

MusicGal

    Member

  • Members
  • 24 posts
  • Framework Version:Pagelines
  • Country: Country Flag

Posted 01 April 2011 - 04:58 PM

I'm wondering if there is a way to do the following: When a visitor clicks the "More" button in my feature slider, instead of opening a new page, the page just scrolls down to the blog post's location.

Please Login or Register to see this Hidden Content



#2 kastelic

kastelic

    Advocate

  • Members

  • 3081 posts
  • Country: Country Flag

Posted 01 April 2011 - 11:35 PM

You can make a link that jumps to any element with an id, which all posts do have. For example:

Please Login or Register to see this Hidden Content

To make it animate you need to use javascript.