<?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: Add custom help icon on every splunk dashboard panel in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-custom-help-icon-on-every-splunk-dashboard-panel/m-p/344413#M39957</link>
    <description>&lt;P&gt;hi niketan&lt;/P&gt;

&lt;P&gt;following is the code:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$( window ).on( "load", function() {
        $(".dashboard-element-header").append("&amp;lt;div id='imageIcon_div' style='position: absolute; top: 14px; right: 20px; z-index:9999; width: 20px;'&amp;gt; &amp;lt;img id='imageIcon_ico' class='imageIcon_class' src='/static/app/APP_adobe_security_dashboards/info.png' /&amp;gt; &amp;lt;/div&amp;gt;");
        $(".dashboard-element-header").append("&amp;lt;div id='tooltip_div' class='tooltip_class' style='position: absolute; top: -60px; right: 5px; z-index:9999; width: 250px;'&amp;gt; &amp;lt;div class='tooltip fade top in'&amp;gt; &amp;lt;div class='tooltip-inner'&amp;gt;Total count of accounts that are currently active for DME&amp;lt;/div&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;/div&amp;gt;");
        $('.tooltip_class').hide();
        $('.imageIcon_class').hover(function() {
                 console.log('reached showss');
                 $(this).parent().parent().children('.tooltip_class').show();
             }, function() {
                 console.log('reached hidess');
                 $('.tooltip_class').hide();
             });
    });
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;My intent is to attach these 2 divs as children to all elements on webpage having class "dashboard-element-header" because this is the class that all panels have. &lt;/P&gt;</description>
    <pubDate>Sun, 04 Feb 2018 16:37:48 GMT</pubDate>
    <dc:creator>jainvaibhav98</dc:creator>
    <dc:date>2018-02-04T16:37:48Z</dc:date>
    <item>
      <title>Add custom help icon on every splunk dashboard panel</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-custom-help-icon-on-every-splunk-dashboard-panel/m-p/344411#M39955</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
I am trying to add help icon each dashboard panel of my splunk app so that user gets to see help message when they hover over that icon.&lt;/P&gt;

&lt;P&gt;I created a js file to add div of this implementation dynamically on window load. It works fine on my local Splunk Enterprise installation version 6.6.4. But same code stops working on our Production Splunk Enterprise which is also on same version with the only difference that it is running on search head cluster.&lt;/P&gt;

&lt;P&gt;folowing is my code:&lt;BR /&gt;
$( window ).on( "load", function() {&lt;BR /&gt;
    $(".dashboard-element-header").append("&lt;/P&gt;&lt;DIV id="imageIcon_div" style="position: absolute; top: 14px; right: 20px; z-index:9999; width: 20px;"&gt; &lt;IMG id="imageIcon_ico" class="imageIcon_class" src="https://community.splunk.com/static/app/APP_adobe_security_dashboards/info.png" /&gt; &lt;/DIV&gt;");&lt;BR /&gt;
    $(".dashboard-element-header").append("&lt;DIV id="tooltip_div" class="tooltip_class" style="position: absolute; top: -60px; right: 5px; z-index:9999; width: 250px;"&gt; &lt;DIV class="tooltip fade top in"&gt; &lt;DIV class="tooltip-inner"&gt;Total count of accounts that are currently active for DME&lt;/DIV&gt; &lt;/DIV&gt; &lt;/DIV&gt;");&lt;BR /&gt;
    $('.tooltip_class').hide();&lt;BR /&gt;
    $('.tooltip_class_main').hide();&lt;BR /&gt;
    $('.imageIcon_class').hover(function() {&lt;BR /&gt;
             console.log('reached showss');&lt;BR /&gt;
             $(this).parent().parent().children('.tooltip_class').show();&lt;BR /&gt;
         }, function() {&lt;BR /&gt;
             console.log('reached hidess');&lt;BR /&gt;
             $('.tooltip_class').hide();&lt;BR /&gt;
         });&lt;BR /&gt;
});&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Is there something incorrect in this code ?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 17:53:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Add-custom-help-icon-on-every-splunk-dashboard-panel/m-p/344411#M39955</guid>
      <dc:creator>jainvaibhav98</dc:creator>
      <dc:date>2020-09-29T17:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: Add custom help icon on every splunk dashboard panel</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-custom-help-icon-on-every-splunk-dashboard-panel/m-p/344412#M39956</link>
      <description>&lt;P&gt;@jainvaibhav98, Please re-post the code with &lt;CODE&gt;Code Button with 101010&lt;/CODE&gt; icon on Splunk Answers so that special characters do not escape.&lt;/P&gt;

&lt;P&gt;Also let us know the intent of the code. Is the Help content going to be some static message or dynamic? Also whether it is going to be some static/ dynamic link.&lt;/P&gt;

&lt;P&gt;Please add a mock screenshot which is working for you (ensure that you conceal any sensitive information).&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2018 17:55:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Add-custom-help-icon-on-every-splunk-dashboard-panel/m-p/344412#M39956</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-02-02T17:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: Add custom help icon on every splunk dashboard panel</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-custom-help-icon-on-every-splunk-dashboard-panel/m-p/344413#M39957</link>
      <description>&lt;P&gt;hi niketan&lt;/P&gt;

&lt;P&gt;following is the code:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$( window ).on( "load", function() {
        $(".dashboard-element-header").append("&amp;lt;div id='imageIcon_div' style='position: absolute; top: 14px; right: 20px; z-index:9999; width: 20px;'&amp;gt; &amp;lt;img id='imageIcon_ico' class='imageIcon_class' src='/static/app/APP_adobe_security_dashboards/info.png' /&amp;gt; &amp;lt;/div&amp;gt;");
        $(".dashboard-element-header").append("&amp;lt;div id='tooltip_div' class='tooltip_class' style='position: absolute; top: -60px; right: 5px; z-index:9999; width: 250px;'&amp;gt; &amp;lt;div class='tooltip fade top in'&amp;gt; &amp;lt;div class='tooltip-inner'&amp;gt;Total count of accounts that are currently active for DME&amp;lt;/div&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;/div&amp;gt;");
        $('.tooltip_class').hide();
        $('.imageIcon_class').hover(function() {
                 console.log('reached showss');
                 $(this).parent().parent().children('.tooltip_class').show();
             }, function() {
                 console.log('reached hidess');
                 $('.tooltip_class').hide();
             });
    });
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;My intent is to attach these 2 divs as children to all elements on webpage having class "dashboard-element-header" because this is the class that all panels have. &lt;/P&gt;</description>
      <pubDate>Sun, 04 Feb 2018 16:37:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Add-custom-help-icon-on-every-splunk-dashboard-panel/m-p/344413#M39957</guid>
      <dc:creator>jainvaibhav98</dc:creator>
      <dc:date>2018-02-04T16:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: Add custom help icon on every splunk dashboard panel</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-custom-help-icon-on-every-splunk-dashboard-panel/m-p/344414#M39958</link>
      <description>&lt;P&gt;I am unable to attach screenshot due to permission issue in this protal.&lt;/P&gt;</description>
      <pubDate>Sun, 04 Feb 2018 16:44:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Add-custom-help-icon-on-every-splunk-dashboard-panel/m-p/344414#M39958</guid>
      <dc:creator>jainvaibhav98</dc:creator>
      <dc:date>2018-02-04T16:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Add custom help icon on every splunk dashboard panel</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-custom-help-icon-on-every-splunk-dashboard-panel/m-p/344415#M39959</link>
      <description>&lt;P&gt;you can create a html block just after your panel, then you can set your js with some tokens from the search.&lt;/P&gt;</description>
      <pubDate>Sun, 04 Feb 2018 23:33:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Add-custom-help-icon-on-every-splunk-dashboard-panel/m-p/344415#M39959</guid>
      <dc:creator>felipesewaybric</dc:creator>
      <dc:date>2018-02-04T23:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: Add custom help icon on every splunk dashboard panel</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-custom-help-icon-on-every-splunk-dashboard-panel/m-p/344416#M39960</link>
      <description>&lt;P&gt;I actually want that each of my panel dynamically gets this div tag so adding html block would not help me here. Can you suggest why it would happen that my divs are not getting attached to parent class even when parent class&lt;BR /&gt;
 exists on checking source code&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 04:52:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Add-custom-help-icon-on-every-splunk-dashboard-panel/m-p/344416#M39960</guid>
      <dc:creator>jainvaibhav98</dc:creator>
      <dc:date>2018-02-05T04:52:07Z</dc:date>
    </item>
  </channel>
</rss>

