I have the following html:
link link
You just need to remove the hash from the beginning:
$('a.pagerlink').click(function() { var id = $(this).attr('id').substring(1); $container.cycle(id); return false; });