I'm trying to figure out how to show an image in a div in a certain order (but only show if the variable that corresponds for that image has something in it).
I basically need something like the following... And, Thanks in advance!
if helm == "" {}
else showdiv(helm);
if weapon (or weaponh) == "" {}
else showdiv(weapon);
if armor == "" {}
else showdiv(armor);
if shield == "" {}
else showdiv(shield);
But that code doesn't work lol
This post has been edited by Dormilich: 03 March 2011 - 07:48 AM
Reason for edit:: please use [code] /* your code source here */ [/code] tags when posting code

New Topic/Question
Reply


MultiQuote



|