Bookmark With Javascript

Here is a JS file that I use that will save the actual page name to a lectora variable called "location".


 


 



//Copyright 2009 Greg Moore.


theURL=location.href


slash=location.href.lastIndexOf("/")


scoURL=theURL.slice(slash+1)


 


 


Varlocation.setByVar(Varlocation);


Varlocation.set(scoURL);



 

Discussions have been disabled for this post