<?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 How to create HTML code in separate panels? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-HTML-code-in-separate-panels/m-p/654292#M226083</link>
    <description>&lt;P&gt;Dears, i have a problem with my dashboard using html inside the &amp;lt;row&amp;gt;. what i want to achieve is having 2&amp;nbsp; tabs so that when i click on each of them a different query will be executed. the problem is that i have a&amp;nbsp; separate&amp;nbsp; &amp;nbsp;html code in each of them and both links appear as active&amp;nbsp; regardless of the tab i select. i followed this tutorial:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://splunkonbigdata.com/create-multiple-tabs-within-a-single-dashboard/" target="_blank" rel="noopener"&gt;Splunk Dashboard Customization: Create Multiple Tabs Within A Single Dashboard - Splunk on Big Data&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;my code is :&lt;/P&gt;
&lt;P&gt;&amp;lt;dashboard script="tabs.js" stylesheet="tabs.css"&amp;gt;&lt;BR /&gt;&amp;lt;label&amp;gt;test&amp;lt;/label&amp;gt;&lt;BR /&gt;&amp;lt;row id="tabs"&amp;gt;&lt;BR /&gt;&amp;lt;panel&amp;gt;&lt;BR /&gt;&amp;lt;html&amp;gt;&lt;BR /&gt;&amp;lt;ul id="tabs" class="nav nav-tabs"&amp;gt;&lt;BR /&gt;&amp;lt;li class="active"&amp;gt;&lt;BR /&gt;&amp;lt;a href="#" class="toggle-tab" data-elements="tab_Map" data-token="control_token_non_internal" style="color:orangered;font-weight: bolder;"&amp;gt;tab1&amp;lt;/a&amp;gt;&lt;BR /&gt;&amp;lt;/li&amp;gt;&lt;BR /&gt;&amp;lt;li&amp;gt;&lt;BR /&gt;&amp;lt;a href="#" class="toggle-tab" data-elements="tab_Tab2" data-token="control_token_non_internal" style="color:orangered;font-weight: bolder;"&amp;gt;tab2&amp;lt;/a&amp;gt;&lt;BR /&gt;&amp;lt;/li&amp;gt;&lt;BR /&gt;&amp;lt;/ul&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;BR /&gt;&amp;lt;/panel&amp;gt;&lt;BR /&gt;&amp;lt;/row&amp;gt;&lt;BR /&gt;&amp;lt;row id="tab_Map" &amp;gt;&lt;BR /&gt;&amp;lt;panel &amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;html &amp;gt;&lt;BR /&gt;&amp;lt;a href=...(ommiting this part)&amp;gt;&amp;lt;button class="button"&amp;gt;tab1&amp;lt;/button&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;/row&amp;gt;&lt;/P&gt;
&lt;P&gt;and another row for the other tab. i get both buttons like below. i want to have only tab1 button when i click on tab1 , not both of buttons. any idea what am i missing&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Splunk_ZE_0-1692029431035.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/26786iE2EB27CF9D0A7CDA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Splunk_ZE_0-1692029431035.png" alt="Splunk_ZE_0-1692029431035.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Aug 2023 17:47:05 GMT</pubDate>
    <dc:creator>Splunk_ZE</dc:creator>
    <dc:date>2023-08-14T17:47:05Z</dc:date>
    <item>
      <title>How to create HTML code in separate panels?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-HTML-code-in-separate-panels/m-p/654292#M226083</link>
      <description>&lt;P&gt;Dears, i have a problem with my dashboard using html inside the &amp;lt;row&amp;gt;. what i want to achieve is having 2&amp;nbsp; tabs so that when i click on each of them a different query will be executed. the problem is that i have a&amp;nbsp; separate&amp;nbsp; &amp;nbsp;html code in each of them and both links appear as active&amp;nbsp; regardless of the tab i select. i followed this tutorial:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://splunkonbigdata.com/create-multiple-tabs-within-a-single-dashboard/" target="_blank" rel="noopener"&gt;Splunk Dashboard Customization: Create Multiple Tabs Within A Single Dashboard - Splunk on Big Data&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;my code is :&lt;/P&gt;
&lt;P&gt;&amp;lt;dashboard script="tabs.js" stylesheet="tabs.css"&amp;gt;&lt;BR /&gt;&amp;lt;label&amp;gt;test&amp;lt;/label&amp;gt;&lt;BR /&gt;&amp;lt;row id="tabs"&amp;gt;&lt;BR /&gt;&amp;lt;panel&amp;gt;&lt;BR /&gt;&amp;lt;html&amp;gt;&lt;BR /&gt;&amp;lt;ul id="tabs" class="nav nav-tabs"&amp;gt;&lt;BR /&gt;&amp;lt;li class="active"&amp;gt;&lt;BR /&gt;&amp;lt;a href="#" class="toggle-tab" data-elements="tab_Map" data-token="control_token_non_internal" style="color:orangered;font-weight: bolder;"&amp;gt;tab1&amp;lt;/a&amp;gt;&lt;BR /&gt;&amp;lt;/li&amp;gt;&lt;BR /&gt;&amp;lt;li&amp;gt;&lt;BR /&gt;&amp;lt;a href="#" class="toggle-tab" data-elements="tab_Tab2" data-token="control_token_non_internal" style="color:orangered;font-weight: bolder;"&amp;gt;tab2&amp;lt;/a&amp;gt;&lt;BR /&gt;&amp;lt;/li&amp;gt;&lt;BR /&gt;&amp;lt;/ul&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;BR /&gt;&amp;lt;/panel&amp;gt;&lt;BR /&gt;&amp;lt;/row&amp;gt;&lt;BR /&gt;&amp;lt;row id="tab_Map" &amp;gt;&lt;BR /&gt;&amp;lt;panel &amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;html &amp;gt;&lt;BR /&gt;&amp;lt;a href=...(ommiting this part)&amp;gt;&amp;lt;button class="button"&amp;gt;tab1&amp;lt;/button&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;/row&amp;gt;&lt;/P&gt;
&lt;P&gt;and another row for the other tab. i get both buttons like below. i want to have only tab1 button when i click on tab1 , not both of buttons. any idea what am i missing&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Splunk_ZE_0-1692029431035.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/26786iE2EB27CF9D0A7CDA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Splunk_ZE_0-1692029431035.png" alt="Splunk_ZE_0-1692029431035.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 17:47:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-HTML-code-in-separate-panels/m-p/654292#M226083</guid>
      <dc:creator>Splunk_ZE</dc:creator>
      <dc:date>2023-08-14T17:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to create HTML code in separate panels?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-HTML-code-in-separate-panels/m-p/654320#M226093</link>
      <description>&lt;P&gt;I have seen a tabs.js that does not currently work with Splunk - not sure if that's the version you're using, however, there is a problem in that you appear to be using the same token for both tabs&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;control_token_non_internal&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 06:34:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-HTML-code-in-separate-panels/m-p/654320#M226093</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2023-08-15T06:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to create HTML code in separate panels?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-HTML-code-in-separate-panels/m-p/654325#M226094</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i corrected the token but still have same issue. has someone had any success with such ? in other words i want that html to show only for specific panels and to be controlled by a token.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 07:28:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-HTML-code-in-separate-panels/m-p/654325#M226094</guid>
      <dc:creator>Splunk_ZE</dc:creator>
      <dc:date>2023-08-15T07:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to create HTML code in separate panels?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-HTML-code-in-separate-panels/m-p/654415#M226116</link>
      <description>&lt;P&gt;I use this approach for tabs, doesn't need JS and allows you to totally customise the CSS.&lt;/P&gt;&lt;P&gt;This is an example app with techniques in the XML you can use to generate the tabs, using linked list inputs.&lt;/P&gt;&lt;P&gt;&lt;A href="https://splunkbase.splunk.com/app/5256" target="_blank"&gt;https://splunkbase.splunk.com/app/5256&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 23:10:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-HTML-code-in-separate-panels/m-p/654415#M226116</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2023-08-15T23:10:51Z</dc:date>
    </item>
  </channel>
</rss>

