2009-05-03, 09:32 PM
OK, so I am going to make and release a theme for MyBB, or at least I plan on it.
BUT, I want to make a script for the theme that lets the user know if he or she has the right image file.
I have
Is there something im doing wrong?
BUT, I want to make a script for the theme that lets the user know if he or she has the right image file.
I have
var img1 ="help.gif"
function imgcheck() {
if (img1 == "help.gif"){
window.location="help.php";
}
else{
alert("Hey! Fix the image!")
}
}
But its not working.Is there something im doing wrong?