<!–#elif expr=”expression”–><!–#else–><!–#endif–>They work as you would expect with any if/else statements. In JavaScript, the above would be equivalent in logic to “if”, “else if”, and “else”, respectively. The last command is an odd ball; it serves no particular purpose except that’s it’s needed at the end of each conditional SSI definition. Take a look at the following example, which embeds two different files onto the page, depending on whether the user is
continue >>
Author:
Time:
Sunday, February 10th, 2008 at 10:56 am
Category:
Comments:
You can leave a response, or trackback from your own site.
RSS:
You can follow any responses to this entry through the RSS 2.0 feed.
Navigation: