<?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 Pagination into Long Creative Format - Carousel Ad Unit in SAS 360 Match</title>
    <link>https://communities.sas.com/t5/SAS-360-Match/How-To-add-Pagination-into-Long-Creative-Format-Carousel-Ad-Unit/m-p/274232#M16</link>
    <description>&lt;P&gt;Hey Maan, Yes, browser add-on. &amp;nbsp;Or alternatively, to use some third-party free add-on like TamperMonkey:&amp;nbsp;&lt;A href="https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en" target="_blank"&gt;https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 31 May 2016 23:04:40 GMT</pubDate>
    <dc:creator>Ryan_Lee</dc:creator>
    <dc:date>2016-05-31T23:04:40Z</dc:date>
    <item>
      <title>How To: add Pagination into Long Creative Format - Carousel Ad Unit</title>
      <link>https://communities.sas.com/t5/SAS-360-Match/How-To-add-Pagination-into-Long-Creative-Format-Carousel-Ad-Unit/m-p/269297#M10</link>
      <description>&lt;P&gt;&lt;STRONG&gt;This article is designed for Chrome / Firefox Add-On Developer.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1)&amp;nbsp;Do you know the&amp;nbsp;code below will tell you the creative format id of the creative page:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;$("#creative_format_id").val();&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/3094iD71748192DD2F768/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="p1.PNG" title="p1.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Benfit, it will give you an ability to apply different CSS style based on different&amp;nbsp;creative format id.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2a) Try this code to hide the HTML, ALT Text and ALT Image field if you don't need them:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;$("#creative_template_input,#creative_alt_input,#creative_alt_image_type_input").hide();&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2b) And this, for hidden&amp;nbsp;MEDIA and CLICKURL from the&amp;nbsp;creative format:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;$("#creative_location_type_input,#creative_image_url,#creative_click_url_input").hide();&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/3095i88A93F632A968BF6/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="p5.PNG" title="p5.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) Are you thinking about to setup pagination&amp;nbsp;for caoursel ad unit&amp;nbsp;as it will be too many fields in the&amp;nbsp;single creative?&lt;/P&gt;&lt;P&gt;if you can start label the field in the following naming conversation, e.g.:&lt;/P&gt;&lt;P&gt;0-Brand_Logo&lt;/P&gt;&lt;P&gt;0-Brand_URL&lt;/P&gt;&lt;P&gt;0-Brand_Sponsored_Text&lt;/P&gt;&lt;P&gt;1-IMG&lt;/P&gt;&lt;P&gt;1-URL&lt;/P&gt;&lt;P&gt;1-TXT&lt;/P&gt;&lt;P&gt;1-CTA&lt;/P&gt;&lt;P&gt;2-IMG&lt;/P&gt;&lt;P&gt;2-URL&lt;/P&gt;&lt;P&gt;2-TXT&lt;/P&gt;&lt;P&gt;2-CTA&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can run the following code to group them with different CSS classes:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;$('label:contains("0-")').parents('li').addClass("Group0");&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;$('label:contains("1-")').parents('li').addClass("Group1");&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;$('label:contains("2-")').parents('li').addClass("Group2");&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My example below, is using the Tab to paginate the general branding message, as well as the 1st and 2nd Frame of the caoursel ad unit. &amp;nbsp;By inject a Tab Navigation bar to control the&amp;nbsp;Group0, Group1, and&amp;nbsp;Group2 class, for instance:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;div class="tabs"&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;lt;ul&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;lt;li class="first"&amp;gt;&amp;lt;a id="p0" href="javascript&amp;amp;colon;void(0)"&amp;gt;General&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;lt;li &amp;gt;&amp;lt;a id="p1" href="javascript&amp;amp;colon;void(0)"&amp;gt;Frame 1&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;lt;li &amp;gt;&amp;lt;a id="p2" href="javascript&amp;amp;colon;void(0)"&amp;gt;Frame 2&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;lt;/ul&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;lt;/div&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is basic&amp;nbsp;show / hide jquery code and trigger on click event:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;$('#p0').on('click', function(){&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; $('[class*=Group]').hide();&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; $('.Group0').show();&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;});&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;$('#p1').on('click', function(){&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; $('[class*=Group]').hide();&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; $('.Group1').show();&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;});&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;$('#p2').on('click', function(){&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; $('[class*=Group]').hide();&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; $('.Group2').show();&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;});&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully, the&amp;nbsp;code will bring you the outcome like this:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/3091iDCFBB0688C7A4779/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="p2.PNG" title="p2.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/3092i5E38410EC80F7866/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="p3.PNG" title="p3.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/3093i7931013E3D0CC083/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="p4.PNG" title="p4.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please note, this method is not supported by SAS Tech Support or SAS R&amp;amp;D team.&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2016 01:21:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-360-Match/How-To-add-Pagination-into-Long-Creative-Format-Carousel-Ad-Unit/m-p/269297#M10</guid>
      <dc:creator>Ryan_Lee</dc:creator>
      <dc:date>2016-05-10T01:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: How To: add Pagination into Long Creative Format - Carousel Ad Unit</title>
      <link>https://communities.sas.com/t5/SAS-360-Match/How-To-add-Pagination-into-Long-Creative-Format-Carousel-Ad-Unit/m-p/271123#M13</link>
      <description>&lt;P&gt;Awesome, this is&amp;nbsp;very Ryan-esque!&lt;/P&gt;&lt;P&gt;I am having trouble figuring out where the code gets added - would this be through a browser&amp;nbsp;add-on?&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2016 21:46:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-360-Match/How-To-add-Pagination-into-Long-Creative-Format-Carousel-Ad-Unit/m-p/271123#M13</guid>
      <dc:creator>Maan</dc:creator>
      <dc:date>2016-05-17T21:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: How To: add Pagination into Long Creative Format - Carousel Ad Unit</title>
      <link>https://communities.sas.com/t5/SAS-360-Match/How-To-add-Pagination-into-Long-Creative-Format-Carousel-Ad-Unit/m-p/274232#M16</link>
      <description>&lt;P&gt;Hey Maan, Yes, browser add-on. &amp;nbsp;Or alternatively, to use some third-party free add-on like TamperMonkey:&amp;nbsp;&lt;A href="https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en" target="_blank"&gt;https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2016 23:04:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-360-Match/How-To-add-Pagination-into-Long-Creative-Format-Carousel-Ad-Unit/m-p/274232#M16</guid>
      <dc:creator>Ryan_Lee</dc:creator>
      <dc:date>2016-05-31T23:04:40Z</dc:date>
    </item>
  </channel>
</rss>

