I'm looking to make something which will have 100s of if statements I'm sure this isn't the best way but it's the way I know how to do it and I'm sure it will work. I want the user to be presented with two images when they click one it takes them to another set of images etc..
I'm not 100% sure how to do it using mouse click, would it be something along these lines
if($('IMAGE ID').click())
{
page2a.html
}
else
{
page2b.html
}
thanks!
So I would like some guidance on how to create an if statement, using images and mouse clicks. I know how to make one using the outcome of math for example;
if (5 > 10) etc..
But I have never used media, images before how do I add those to an if statement my attempt is posted above is this correct?
if clickwithon click