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.
<script type="text/javascript"> $( function(){ if( $.cookie('showNextInList') == 'yes'){ document.location = $("table").find("a").attr("href"); $.cookie('showNextInList', null, {path: '/'}); } }); </script> |
<script type="text/javascript"> $( function(){ $("input#assignmentComplete").click( function(){ $.cookie('showNextInList', 'yes', {path: '/'}); }); }); </script> |