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

Compare with Current View Page History

« Previous Version 3 Next »

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.

สามารถวางสลิปที่ folllowing ใน Inbox หรือ Datalist Inbox เพื่อให้หลังจากการมอบหมายเสร็จสิ้นเมื่อกลับไปที่รายชื่อของการมอบหมายการมอบหมายแรกในรายการจะถูกเปิดโดยอัตโนมัติ

กำหนดค่ากล่องขาเข้าของคุณหรือกล่องขาเข้าดาต้าลิสต์และเพิ่มในสคริปต์ต่อไปนี้ตามลำดับ

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>

Related Elements

องค์ประกอบที่เกี่ยวข้อง




  • No labels