?
Path : /home/admin/domains/happytokorea.com/public_html/backend/js/ |
Current File : /home/admin/domains/happytokorea.com/public_html/backend/js/global.js |
function doUnderlineOver(){ window.event.srcElement.style.textDecoration="underline"; } function doUnderlineOut(){ window.event.srcElement.style.textDecoration="none"; } function doCodeBlock(srcElement) { //var srcElement, parentElement; srcElement = window.event.srcElement; parentElement = srcElement.parentElement; if(parentElement.bgColor == "#ffffff") { parentElement.bgColor = "#EEFCDA"; //#CAE1F9 }else{ //alert(parentElement.bgColor); parentElement.bgColor = "#ffffff"; } } function doBlock(srcElement) { if(srcElement.bgColor == "#ffffff") { srcElement.bgColor = "#CAE1F9"; //"#EEFCDA"; //#CAE1F9 }else{ srcElement.bgColor = "#ffffff"; } } function doBlock2(srcElement) { if(srcElement.bgColor == "#ffffff") { srcElement.bgColor = "#000000"; //"#EEFCDA"; //#CAE1F9 }else{ srcElement.bgColor = "#ffffff"; } } function doSidebar(srcElement, Type) { if (Type == 0) { if(srcElement.bgColor == "#dde8f3") { srcElement.bgColor = "#FFC71C"; }else{ srcElement.bgColor = "#dde8f3"; } }else{ if(srcElement.bgColor == "#8eb3d7") { srcElement.bgColor = "#FFC71C"; }else{ srcElement.bgColor = "#8eb3d7"; } } } function doSideBar2() { var srcElement; srcElement = window.event.srcElement; if(srcElement.bgColor=="#7087d6") { srcElement.bgColor = "#E8E8D2"; srcElement.style.color = "#000000"; }else{ srcElement.bgColor = "#7087d6"; srcElement.style.color = "#FFFFFF"; } } function doShowDesc(){ var targetId, srcElement, targetElement; srcElement = window.event.srcElement; targetId = srcElement.id + "d"; targetElement = document.all(targetId); if (targetElement.style.display == "none") { targetElement.style.display = ""; srcElement.src = "http://abstractvb.com/images/minus.gif"; }else{ targetElement.style.display="none"; srcElement.src = "http://abstractvb.com/images/plus.gif"; } } function doShowMenu(){ var targetId, srcElement, targetElement; srcElement = window.event.srcElement; targetId = srcElement.id + "d"; targetElement = document.all(targetId); if (targetElement.style.display == "none") { targetElement.style.display = ""; }else{ targetElement.style.display="none"; } } function doImageOver() { var targetId, srcElement, targetElement; srcElement = window.event.srcElement; targetId = srcElement.id + "d"; targetElement = document.all(targetId); targetElement.src = img2.src } function doImageOut() { var targetId, srcElement, targetElement; srcElement = window.event.srcElement; targetId = srcElement.id + "d"; targetElement = document.all(targetId); targetElement.src = img1.src }