Kwiki-JSLog
view release on metacpan or search on metacpan
lib/Kwiki/JSLog.pm view on Meta::CPAN
// default positions if other positions are not available
var nTop=2;
var nLeft=2;
var sDisplay="none";
if (bPersistState) {
try {
var sPersistString = EC.F.getCookie(sInstance+"_position");
if (sPersistString != null) {
var aTemp = sPersistString.split("|");
if(!isNaN(parseInt(aTemp[0]))) {
nLeft = aTemp[0];
}
if(!isNaN(parseInt(aTemp[1]))) {
nTop = aTemp[1];
}
}
if(EC.F.getCookie(sInstance+"_visibility") == "block") {
sDisplay="block";
}
} catch (e) {
// nullop, just leave the arguments as the default
( run in 0.522 second using v1.01-cache-2.11-cpan-fd5d4e115d8 )