<?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: how to add html  in popup window in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-add-html-in-popup-window/m-p/105194#M44253</link>
    <description>&lt;P&gt;Hi, I am trying to do the same &lt;A href="http://splunk-base.splunk.com/answers/83090/customized-popup"&gt;here&lt;/A&gt;, I suggest you take a look. &lt;/P&gt;

&lt;P&gt;By the way, here is the code documentation from the Popup.js file:&lt;/P&gt;

&lt;P&gt;cloneFlag: (bool) Flag to tell popup whether to clone the passed contents into the popup (true) or move them.  This should generally only be left as true when passing a reference to an existing element that you wish to &lt;BR /&gt;
leave untouched, for example a dom scaffolding you intend to reuse.&lt;/P&gt;

&lt;P&gt;contents: (JQuery object or html) The contents of the popup.  (ex: $('.popupContainer')).  &lt;STRONG&gt;NOTE: if html is used, cloneFlag should be set to false&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Apr 2013 08:52:07 GMT</pubDate>
    <dc:creator>guilhem</dc:creator>
    <dc:date>2013-04-10T08:52:07Z</dc:date>
    <item>
      <title>how to add html  in popup window</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-add-html-in-popup-window/m-p/105192#M44251</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I want to show a popup window having checkboxes when i click a button.&lt;/P&gt;

&lt;P&gt;Here is the code i have tried,found from popup.js file.But iam not able to add any html content to that.Please help&lt;/P&gt;

&lt;P&gt;var popup = new Splunk.Popup($('.popupScaffolding'), {&lt;BR /&gt;
           title : "My Popup",&lt;BR /&gt;
           contents:"&lt;/P&gt;&lt;DIV&gt;some text&lt;/DIV&gt;&lt;INPUT id="accept_cb" type="checkbox" checked="checked" /&gt; Uncheck this box to disable.&lt;BR /&gt;",&lt;BR /&gt;
           pclass : "myPopupClass",&lt;BR /&gt;
           buttons : [&lt;BR /&gt;
               {&lt;BR /&gt;
                   label: 'Cancel',&lt;BR /&gt;
                   type : 'secondary',&lt;BR /&gt;
                   callback: function(){&lt;BR /&gt;
                       return this.popupCancel();&lt;BR /&gt;
                   }.bind(this)&lt;BR /&gt;
               },&lt;BR /&gt;
               {&lt;BR /&gt;
                   label: 'Apply',&lt;BR /&gt;
                   type : 'primary',&lt;BR /&gt;
                   callback: function(){&lt;BR /&gt;
                       return this.popupAccept();&lt;BR /&gt;
                   }.bind(this)&lt;BR /&gt;
               }&lt;BR /&gt;
           ]&lt;BR /&gt;
       });&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Oct 2012 05:31:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-add-html-in-popup-window/m-p/105192#M44251</guid>
      <dc:creator>john</dc:creator>
      <dc:date>2012-10-29T05:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to add html  in popup window</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-add-html-in-popup-window/m-p/105193#M44252</link>
      <description>&lt;P&gt;Anyone there....Please suggest the way to do this&lt;/P&gt;</description>
      <pubDate>Thu, 22 Nov 2012 07:34:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-add-html-in-popup-window/m-p/105193#M44252</guid>
      <dc:creator>john</dc:creator>
      <dc:date>2012-11-22T07:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: how to add html  in popup window</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-add-html-in-popup-window/m-p/105194#M44253</link>
      <description>&lt;P&gt;Hi, I am trying to do the same &lt;A href="http://splunk-base.splunk.com/answers/83090/customized-popup"&gt;here&lt;/A&gt;, I suggest you take a look. &lt;/P&gt;

&lt;P&gt;By the way, here is the code documentation from the Popup.js file:&lt;/P&gt;

&lt;P&gt;cloneFlag: (bool) Flag to tell popup whether to clone the passed contents into the popup (true) or move them.  This should generally only be left as true when passing a reference to an existing element that you wish to &lt;BR /&gt;
leave untouched, for example a dom scaffolding you intend to reuse.&lt;/P&gt;

&lt;P&gt;contents: (JQuery object or html) The contents of the popup.  (ex: $('.popupContainer')).  &lt;STRONG&gt;NOTE: if html is used, cloneFlag should be set to false&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2013 08:52:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-add-html-in-popup-window/m-p/105194#M44253</guid>
      <dc:creator>guilhem</dc:creator>
      <dc:date>2013-04-10T08:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to add html  in popup window</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-add-html-in-popup-window/m-p/105195#M44254</link>
      <description>&lt;P&gt;Where can i find the code documentation from the Popup.js file?&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2013 06:22:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-add-html-in-popup-window/m-p/105195#M44254</guid>
      <dc:creator>RohiniJindam</dc:creator>
      <dc:date>2013-05-20T06:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to add html  in popup window</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-add-html-in-popup-window/m-p/105196#M44255</link>
      <description>&lt;P&gt;Perhaps its:&lt;BR /&gt;&lt;BR /&gt;
$SPLUNKHOME\share\splunk\search_mrsparkle\exposed\js\popup.js&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2013 11:26:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-add-html-in-popup-window/m-p/105196#M44255</guid>
      <dc:creator>RohiniJindam</dc:creator>
      <dc:date>2013-05-20T11:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to add html  in popup window</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-add-html-in-popup-window/m-p/105197#M44256</link>
      <description>&lt;P&gt;This is an old post, but leaving this here in case someone else is looking for it (like me): &lt;A href="https://www.splunk.com/blog/2014/02/24/using-bootstrap-modal-with-splunk-simple-xml.html"&gt;https://www.splunk.com/blog/2014/02/24/using-bootstrap-modal-with-splunk-simple-xml.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 02:53:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-add-html-in-popup-window/m-p/105197#M44256</guid>
      <dc:creator>cblanton</dc:creator>
      <dc:date>2019-07-24T02:53:02Z</dc:date>
    </item>
  </channel>
</rss>

