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
--
You received this message because you are subscribed to the Google Groups
"RedDot CMS Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/reddot-cms-users/-/CbnKYTnyaBcJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/reddot-cms-users?hl=en.