<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Responsive menu in ThingWorx Developers</title>
    <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Responsive-menu/m-p/504563#M2842</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found a solution.&lt;/P&gt;&lt;P&gt;I've added an Expression widget with expression = "0+$('body').width()&amp;gt;800" and mapped it output to the menu visibility.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Mar 2016 15:24:01 GMT</pubDate>
    <dc:creator>sponomarenko-3</dc:creator>
    <dc:date>2016-03-31T15:24:01Z</dc:date>
    <item>
      <title>Responsive menu</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Responsive-menu/m-p/504562#M2841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody!&lt;/P&gt;&lt;P&gt;Does anybody knows how to make responsive menu which swaps to the &lt;IMG __jive_id="2624" alt="menu-alt-24.png" class="image-1 jive-image" src="https://www.ptcusercommunity.com/legacyfs/online/thingworx/2624_menu-alt-24.png" style="height: auto;" /&gt; button.&lt;/P&gt;&lt;P&gt;My idea was to make 2 menus. One inside another.&lt;/P&gt;&lt;P&gt;The top level menu has 1 item with this image and no text.&lt;/P&gt;&lt;P&gt;And the second level menu has 4 text items.&lt;/P&gt;&lt;P&gt;Finally I've got this &lt;IMG __jive_id="2625" alt="ss2.jpg" class="image-2 jive-image" src="https://www.ptcusercommunity.com/legacyfs/online/thingworx/2625_ss2.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Popup menu and horizontal menu are the same.&lt;/P&gt;&lt;P&gt;Now I want to hide left (&lt;IMG __jive_id="2624" alt="menu-alt-24.png" class="image-1 jive-image" src="https://www.ptcusercommunity.com/legacyfs/online/thingworx/2624_menu-alt-24.png" style="font-size: 13.3333px;" /&gt;) menu when the screen is wide and in the contrary hide large horizontal menu on narrow screen (phone for ex).&lt;/P&gt;&lt;P&gt;But how could I retrieve the screen or window width? Something like $(window).width() analog?&lt;/P&gt;&lt;P&gt;Are there any other ways to create such responsive menu?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 15:12:15 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Responsive-menu/m-p/504562#M2841</guid>
      <dc:creator>sponomarenko-3</dc:creator>
      <dc:date>2016-03-31T15:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: Responsive menu</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Responsive-menu/m-p/504563#M2842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found a solution.&lt;/P&gt;&lt;P&gt;I've added an Expression widget with expression = "0+$('body').width()&amp;gt;800" and mapped it output to the menu visibility.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 15:24:01 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Responsive-menu/m-p/504563#M2842</guid>
      <dc:creator>sponomarenko-3</dc:creator>
      <dc:date>2016-03-31T15:24:01Z</dc:date>
    </item>
  </channel>
</rss>

