Hi Neil,
Out of box, probably not, but here is the JavaScript/AJAX code to do it
<a href="<%hit_lst_page_next%>" id="next-page-link">next</a>
<script>
$.get("<%hit_lst_page_next%>", function(data){
// assuming the headline of the page in within <h2>
var next_page_headline = $(data).find("h2").text();
// replace next text with next page headline
$("#next-page-link").text(next_page_headline);
});
</script>
Hope that helps.
-Jian
On Thursday, March 15, 2012 7:09:36 AM UTC-4, Neil Fegen wrote:
Hi guys
I've been using the browse element to list the next and previous page in a list of news articles, which works well.
Is it possible to also pull through the title of the next/previous page, with rendertags or otherwise? Bit disappointing that the element is only capable of getting the URL and not headline.
Thanks
Neil