DavidWright
6 years agoQrew Member
Exact form conditional showing of image
I have a single part of my page that won't work.
Code is:
The image shows fine if I only use the img src tag, but i can't get it to show conditionally. Any ideas?
Img tag by itself would be:
Code is:
~=if(f['90'] != '')
{'<p><strong> </strong></p>
<p><strong> </strong></p>
<p><strong></strong></p>
<img src=' + f['92'] + ' height=200 style=transform:rotate(90deg); onclick=rotateBy90Deg(this)>
<p><strong> </strong></p>
<p><strong> </strong></p>';}
else {'<p><strong>No Tag On Pole</strong></p>';}~
The image shows fine if I only use the img src tag, but i can't get it to show conditionally. Any ideas?
Img tag by itself would be:
<img src=~92~ height="200" style="transform:rotate(90deg);" onclick="rotateBy90Deg(this)">