May 15, 2009 • posted by KickApps
Place in the GPT head: <script> window.onl oad= function(){ DisableEnableLinks(true) } function DisableEnableLinks(uDSBL){ objLinks = document.getElementById(“ka_profileLinksShort”).getElementsByTagName(“a”); for(i=0;i<objLinks.length;i++){ objLinks[i].disabled = uDSBL; //link with onclick if(objLinks[i].onclick && uDSBL){ objLinks[i].onclick = new Function(“event”, “return false;” + objLinks[i].onclick.toString().getFuncBody()); } else if(uDSBL){ objLinks[i].onclick = function(){return false;} } else if(!uDSBL && objLinks[i].onclick.toString().indexOf(“function(){return false;}”) != -1){ objLinks[i].onclick = null; } else [...]