Does any know if you can do a mouse over in an if statement?
what im looking to do is
If spoint is less then or equal to 0
Mouse over ......when the user goes to click on use spell in battle arena it will popup a window  and show that they have no spoints
else
 the rest of the code 
If looked on line and have not found anything that will do this. Could be that im not smart enough to google it, but i have tried
			
			
									
						
							if statement with mouse over help
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: if statement with mouse over help
if you change your spells to actual pics it will make it much easier. You can still mouse over links but pics are far better to work with. 
Basically to get you started make the mouse over text a PHP variable like $mspelltext. Have the if statement run before the link stating something like
the make your mouse over = $mspelltext...
			
			
									
						
										
						Basically to get you started make the mouse over text a PHP variable like $mspelltext. Have the if statement run before the link stating something like
Code: Select all
if($spellpoints < 1)
{
$mspelltext = "You do not have enough spell Points!";
}
else
{
$mspelltext = "";
}

