title: smarty: {if div with class="one" is enabled, (HTML snippet1) Else (HTML snippet")
body: <p>on the site I'm working on, I need to show two different HTML snippets depending if another element is activated or not. </p>
  
  <p>Like: </p>
  
  <pre><code>{if "div class="box expandResults" is enabled(or appearing on the page)"}
  
  ....HTML....
  
  {else}
  
  ....OTHER HTML....
  
  {/if}
  </code></pre>
  
  <p>How can I do this with Smarty or jQuery? I only have access to the .tpl files.</p>
  
  <p>Thanks :)</p>