<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Show&#x2F;hide entity on graphical pages]]></title><description><![CDATA[<p dir="auto">hi,</p>
<p dir="auto">what would be the easiest way to show or hide an entity on the pages?</p>
<p dir="auto">i.e. simple point showing mins remaning... but no relevant when the process is not running...</p>
<p dir="auto">i've had a look and not been able to see anything other than making a white image block and covering the item in question based on simple point integer value.</p>
<p dir="auto">thanks</p>
<p dir="auto">Neil</p>
]]></description><link>https://forum.mango-os.com/topic/454/show-hide-entity-on-graphical-pages</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Apr 2026 01:32:19 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/454.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 22 Jul 2010 09:00:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Show&#x2F;hide entity on graphical pages on Thu, 22 Jul 2010 14:30:50 GMT]]></title><description><![CDATA[<p dir="auto">thanks, that worked fine... like to say i understood it lol.....</p>
]]></description><link>https://forum.mango-os.com/post/4024</link><guid isPermaLink="true">https://forum.mango-os.com/post/4024</guid><dc:creator><![CDATA[skiv71]]></dc:creator><pubDate>Thu, 22 Jul 2010 14:30:50 GMT</pubDate></item><item><title><![CDATA[Reply to Show&#x2F;hide entity on graphical pages on Thu, 22 Jul 2010 14:12:26 GMT]]></title><description><![CDATA[<p dir="auto">Try this:</p>
<pre><code>
var s = &amp;quot;&amp;quot;;
if (value &amp;gt 0) {
  s += '&amp;lt;span style="background-color:#F8BB00;font-size:10px;';
  s += 'font-weight:regular;border:1px solid #F07800;';
  s += 'padding:1px 5px 1px 5px;"&amp;gt;defrost time left: &amp;lt;span style="';
  s += 'font-weight:bold"&amp;gt; '+ value +' mins&amp;lt;/span&amp;gt;';
}
return s;

</code></pre>
]]></description><link>https://forum.mango-os.com/post/4022</link><guid isPermaLink="true">https://forum.mango-os.com/post/4022</guid><dc:creator><![CDATA[mlohbihler]]></dc:creator><pubDate>Thu, 22 Jul 2010 14:12:26 GMT</pubDate></item><item><title><![CDATA[Reply to Show&#x2F;hide entity on graphical pages on Thu, 22 Jul 2010 12:51:40 GMT]]></title><description><![CDATA[<p dir="auto">i got this but i dont know how to display the value within the &lt;span&gt; bit :-/</p>
<p dir="auto">please help</p>
<p dir="auto">[code]</p>
<p dir="auto">if (value&gt;0)<br />
return '&lt;span style="background-color:#F8BB00;font-size:10px;font-weight:regular;border:1px solid #F07800;padding:1px 5px 1px 5px;"&gt;defrost time left:  &lt;span style="font-weight:bold"&gt; 0 mins&lt;/span&gt;'<br />
else;</p>
]]></description><link>https://forum.mango-os.com/post/4020</link><guid isPermaLink="true">https://forum.mango-os.com/post/4020</guid><dc:creator><![CDATA[skiv71]]></dc:creator><pubDate>Thu, 22 Jul 2010 12:51:40 GMT</pubDate></item><item><title><![CDATA[Reply to Show&#x2F;hide entity on graphical pages on Thu, 22 Jul 2010 11:03:38 GMT]]></title><description><![CDATA[<p dir="auto">if i cannot do this, i know i can do this, but i dont know the code :-/</p>
<p dir="auto">server side script... holding register tag...</p>
<p dir="auto">test tag &gt; 0 then show text box but embed tag value next to text</p>
<p dir="auto">else show nothing...</p>
<p dir="auto">i been messing with some syntax but not working..</p>
<p dir="auto">any pointers please...</p>
<p dir="auto">thanks</p>
]]></description><link>https://forum.mango-os.com/post/4019</link><guid isPermaLink="true">https://forum.mango-os.com/post/4019</guid><dc:creator><![CDATA[skiv71]]></dc:creator><pubDate>Thu, 22 Jul 2010 11:03:38 GMT</pubDate></item></channel></rss>