- Impact
- 18
Code:
function menu(what, id){
name = getElementById(id);
if(what == "" || !isset(what)){
alert("Something Wrong");
}
elseif(what == "over"){
name.className = 'menu_over';
name.style.cursor='pointer';
name.style.cursor='hand';
alert("heya babe!");
}
elseif(what == "out"){
name.className = 'menu';
name.style.cursor='default';
}
else{
alert("Something Wrong");
}
}
function click(link){
location.href = link;
}
That keeps pulling up errors!
What is wrong?
Thanks
Tom








