Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.
Help Appreciated
i have a script that has been bothering me and i REALLY need to void it. the script is as follows: [code] <!–
var ElapsedSeconds = 90;
var Seconds = 0;
var Minutes = 0;
var Hours = 0;
var clock;
var getById = (typeof document.getElementById != "undefined");
StartTimer();
//expand the header size
top.document.body.rows = "100,*,0";
function getRef(obj){
if(getById)
return(typeof obj == "string") ? document.getElementById(obj) : obj;
}
function StartTimer(){
setTimeout("UpdateTimer()",300);
}
function UpdateTimer(){
FormatMinutes();
FormatSeconds();
if(getRef("clock") != null){
getRef("clock").innerHTML = "" + Minutes + ":" + Seconds;
if(ElapsedSeconds > 0){
//document.bgColor="#F0F54C";
setTimeout("UpdateTimer()",1000);
}
else{
//CommunicateFrame("CourseNavigation","SecurityQuestion.aspx?TimerExpired=true");
parent.location = 'LoggedOut.aspx?logout=1&sec=2';
}
ElapsedSeconds = ElapsedSeconds - 1;
}
else{
//document.bgColor="red";
}
}
function FormatMinutes(){
Minutes = Math.floor(ElapsedSeconds/60 % 60);
if(Minutes <= 9) {
Minutes = "0"+Minutes;
}
}
function FormatSeconds(){
Seconds = Math.floor(ElapsedSeconds % 60);
if(Seconds <= 9) {
Seconds = "0"+Seconds;
}
}
function CommunicateFrame(FrameName, Location){
href = Location;
if(href.indexOf("?") == -1){
href += "?random=" + Math.random();
}
else{
href += "&random=" + Math.random();
}
parent.frames[FrameName].document.location.href = href;
return true;
}
// -->[code]
ive tried different approaches, but have come up with nothing. thanks in advance.