You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

The folllowing scipts can be placed in Inbox or Datalist Inbox so that after the completion of an assignment, upon returning to the listing of assignments, the first assignment in the list will be opened automatically.

Configure your Inbox or Datalist Inbox and add in the following scripts accordingly.

List View Custom Header
<script type="text/javascript">
$( function(){
if( $.cookie('showNextInList') == 'yes'){
document.location = $("table").find("a").attr("href");
$.cookie('showNextInList', null, {path: '/'});
}
});
</script>
Assignment View Custom Header
<script type="text/javascript">
$( function(){
$("input#assignmentComplete").click( function(){
    $.cookie('showNextInList', 'yes', {path: '/'});
});
});
</script>
  • No labels