Please disregard the 'View article...' shown at the bottom of many posts as this is the result of restoring old forum posts from a backup.
Search results - below the fold
Hi,
I've got exponent 2.5.0 p1. I'm using a search box in the header. The main container, where the search results show, is below the fold. Is it possible to let the page scroll, after hitting submit, to the main container? I've been looking and experimenting within the tpl's but no succes...
I've got exponent 2.5.0 p1. I'm using a search box in the header. The main container, where the search results show, is below the fold. Is it possible to let the page scroll, after hitting submit, to the main container? I've been looking and experimenting within the tpl's but no succes...
Comments
and then add this at the very bottom of that file (though I've not tested it)
$('html, body').animate({ scrollTop: $("search-top").offset().top },1000); }