HOME ➔ SUPPORT ➔ Community ➔ General CourseLab issues ... Bookmarking / Saving & Recalling Last Location
Bookmarking / Saving & Recalling Last Location
  View type:
Does anyone know if it is possible to handle bookmarking with CourseLab 2.3?

I can't figure it out. I was trying to store the page location as an objective score but I can't recall the value.
 
Hi Kevin
Bookmarking is a function of the LMS and not the module. The LMS 'hosts' the module and supplies the supporting API for it, the module just pushes info out.
If you are running without an LMS say off of a CD then there isn't a real mechanism for this as it requires an external file save somewhere.
 
 
You could try to go with cookies.

If you write a cookie named "MyPersonalCookie" with a parameter called "MyBookmarkedPage", you could read:

function readCookie(name) {
var nameEQ = name + "=";
var ca = document.cookie.split(';');
for(var i=0;i < ca.length;i++) {
var c = ca[i];
while (c.charAt(0)==' ') c = c.substring(1,c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
}
return null;
}

MyBookmarkedPage = 0;

var x = readCookie('MyPersonalCookie')
if (x) {
MyBookmarkedPage = x;
}

Then you have MyBookmarkedPage available inside the course.

Not sure its a good solution but I cant imagine any alternative yet.
Subject:
Message options
No additional options