Results of the Creativepool & printed.com Small Business Branding ...
Results of the Creativepool & printed.com Small Business Branding Survey ? Creativepool Blog ? Opinions and articles for the UK Creative Community "; var leftPNG = ""; function changeSecondNav(val) { document.getElementById(val).className="secondary-nav"; //document.getElementById("id1").className="sub-secondary-nav"; } function goLogin() { var username=document.getElementById('username').value; var password=document.getElementById('password').value; var redirectURL=document.getElementById('redirectURL').value; var rememberMe=0; if(document.getElementById('rememberMe').checked==true){ rememberMe=1; } document.getElementById('login-error-message').innerHTML=""; //alert("ajaxResponse.php?username="+username+"&password="+password+"&redirectURL="+redirectURL+"&action=login"); var url = "cp-ajaxResponse.php?username="+username+"&password="+password+"&redirectURL="+redirectURL+"&action=login&rememberMe="+rememberMe; // makeRequestLogin("login-error-message","cp-ajaxResponse.php?username="+username+"&password="+password+"&redirectURL="+redirectURL+"&action=login&rememberMe="+rememberMe); makeRequestLogin("login-error-message", url); } function showforgot() { document.getElementById("divbase-pop").innerHTML = ""; } function showConfirm() { var val=document.getElementById('useremail').value; if(val=="" || !isEmail(val)) { document.getElementById("divbase-pop").innerHTML = "
Please check the following errors marked in red below.
Your email address does not exist. Try again.
back to login"; } else { makeRequest("divbase-pop","http://creativepool.co.uk/ajaxResponse.php?value="+val+"&action=setpassword"); } /*makeRequest("divbase-pop","http://creativepool.co.uk/ajaxResponse.php?value="+val+"&action=setpassword");*/ } function showLogin() { showLoginNext("divbase-pop"); } function showLoginNext(str) { document.getElementById(str).innerHTML = ' '; } function validateTitle(tmpVar) { var strtxt; with(tmpVar) { if(blankField(crititle)) { document.getElementById("crititle_txt").className="sub-heading1-error"; document.getElementById("criMsg").innerHTML="Please check the following errors marked in red below."; error = 1; } else { error=0; } } if(error == 1) { //alert(strtxt); return false; } else { return true; } } function validateDate(tmpVar) { var strtxt; with(tmpVar) { if(blankField(crititle)) { document.getElementById("crititle_txt").className="sub-heading1-error"; document.getElementById("criMsg").innerHTML="Please check the following errors marked in red below."; error = 1; } else { url="ajaxResponse.php?avl=2&"+"date="+tmpVar.crititle.value; makeRequestNoDiv(url); Dialog.closeInfo(); return false; } } if(error == 1) { //alert(strtxt); return false; } else { return true; } } var lastStr = ""; function callPopUp(str) { var strDisp=$(str).innerHTML; if(strDisp!='') { $(str).innerHTML=''; } else { showLoginNext(str); strDisp=$(str).innerHTML; $(str).innerHTML=''; } Dialog.info(strDisp, {className:"alphacube", width:430, height:360, showProgress: false}); //setFoucs(); if (str=="lightbox"){ var t=setTimeout("document.getElementById('username').focus()",500); } lastStr = str; } // -->
This entry was posted on Wednesday, August 8th, 2012 at 4:37 pm and is filed under branding, Creative, Design, Freelancing. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.