<?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 LocalLayer PopUp with buttons and CSS in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/locallayer-popup-with-buttons-and-css/m-p/763790#M919</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, I need a popup with a button so I configured the property popup--&amp;gt;infoTemplates--&amp;gt;description with this text:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "description": "theFieldValue: {CODE}&amp;lt;br&amp;gt;&amp;lt;button data-dojo-type=\"dijit/form/Button\"&amp;nbsp; type=\"button\" onclick=\"javascript:void window.open('url{CODE}.pdf','url code', 'width=1024,height=768,status=0,resizable=0');\"&amp;gt;Link to PDF&amp;lt;/button&amp;gt;&lt;BR /&gt;It perfectly works but my problem is that I'm not able to set the css like &lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/235707_Capture1.PNG" style="height: auto;" /&gt; &lt;BR /&gt;I tried to set class...but I'm always getting a button like this &lt;IMG alt="" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/235708_Capture2.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;How can I do to set the correct class for the button?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Naty&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Sep 2016 14:13:13 GMT</pubDate>
    <dc:creator>NatashaManzuiga</dc:creator>
    <dc:date>2016-09-28T14:13:13Z</dc:date>
    <item>
      <title>LocalLayer PopUp with buttons and CSS</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/locallayer-popup-with-buttons-and-css/m-p/763790#M919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, I need a popup with a button so I configured the property popup--&amp;gt;infoTemplates--&amp;gt;description with this text:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "description": "theFieldValue: {CODE}&amp;lt;br&amp;gt;&amp;lt;button data-dojo-type=\"dijit/form/Button\"&amp;nbsp; type=\"button\" onclick=\"javascript:void window.open('url{CODE}.pdf','url code', 'width=1024,height=768,status=0,resizable=0');\"&amp;gt;Link to PDF&amp;lt;/button&amp;gt;&lt;BR /&gt;It perfectly works but my problem is that I'm not able to set the css like &lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/235707_Capture1.PNG" style="height: auto;" /&gt; &lt;BR /&gt;I tried to set class...but I'm always getting a button like this &lt;IMG alt="" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/235708_Capture2.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;How can I do to set the correct class for the button?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Naty&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 14:13:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/locallayer-popup-with-buttons-and-css/m-p/763790#M919</guid>
      <dc:creator>NatashaManzuiga</dc:creator>
      <dc:date>2016-09-28T14:13:13Z</dc:date>
    </item>
  </channel>
</rss>

