anyone have any idea why the code below isn’t acting the way it looks like it should? i’d like to display 1 of three phrases based on the {elapsed_time} global variable.
basically i want,
0 - 0.2000 displays “(that’s fast)”
0.2001 - 0.5000 displays “(that’s mediocre)”
0.5000 + displays “(that’s kind of slow)”
{elapsed_time} seconds to load page {if elapsed_time <= 0.2000} (that is fast){/if}{if elapsed_time > 0.2000 && elapsed_time <= 0.5000} (that is mediocre){/if}{if elapsed_time > 0.5000} (that is kind of slow){/if}i’ve tried doing it this way, i’ve tried using the if, elseif, else scheme ... none are working for me. seems like this should work but i dunno. i’m on ee1.6.9 Build: 20101018
[Mod Edit: Moved to the Community Help forum]