Advertisement
Guest User

Untitled

a guest
Dec 4th, 2019
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
jQuery 3.87 KB | None | 0 0
  1. var sections = [
  2.                 {
  3.                     containers: {app: "#UfEmbeddedHub1574073497002"},
  4.                     collection: "3185312",
  5.                     openLink: function (url) {
  6.                         window.top.location.href = url;
  7.                     },
  8.                     lazyloader: {
  9.                         itemDisplayLimit: 20,
  10.                         maxTilesPerRow: 6,
  11.                         maxItemsTotal: 6
  12.                     },
  13.                     tileSize: "medium",
  14.                     isEmbedded: false,
  15.                     enablePageTracking: false,
  16.                     baseUrl: "https://resources.ecovadis.com/",
  17.                     filesUrl: "https://resources.ecovadis.com/",
  18.                     generatedAtUTC: "2019-11-18 10:37:07"
  19.                 },
  20.                 {
  21.                     containers: {app: "#UfEmbeddedHub1574073601757"},
  22.                     collection: "3185309",
  23.                     openLink: function (url) {
  24.                         window.top.location.href = url;
  25.                     },
  26.                     lazyloader: {
  27.                         itemDisplayLimit: 20,
  28.                         maxTilesPerRow: 6,
  29.                         maxItemsTotal: 6
  30.                     },
  31.                     tileSize: "medium",
  32.                     isEmbedded: false,
  33.                     enablePageTracking: false,
  34.                     baseUrl: "https://resources.ecovadis.com/",
  35.                     filesUrl: "https://resources.ecovadis.com/",
  36.                     generatedAtUTC: "2019-11-18 10:39:35"
  37.                 },
  38.                 {
  39.                     containers: {app: "#UfEmbeddedHub1574073637915"},
  40.                     collection: "3451523",
  41.                     openLink: function (url) {
  42.                         window.top.location.href = url;
  43.                     },
  44.                     lazyloader: {
  45.                         itemDisplayLimit: 20,
  46.                         maxTilesPerRow: 6,
  47.                         maxItemsTotal: 6
  48.                     },
  49.                     tileSize: "medium",
  50.                     isEmbedded: false,
  51.                     enablePageTracking: false,
  52.                     baseUrl: "https://resources.ecovadis.com/",
  53.                     filesUrl: "https://resources.ecovadis.com/",
  54.                     generatedAtUTC: "2019-11-18 10:40:29"
  55.                 },
  56.                 {
  57.                     containers: {app: "#UfEmbeddedHub1574073657034"},
  58.                     collection: "5681716",
  59.                     openLink: function (url) {
  60.                         window.top.location.href = url;
  61.                     },
  62.                     lazyloader: {
  63.                         itemDisplayLimit: 20,
  64.                         maxTilesPerRow: 6,
  65.                         maxItemsTotal: 6
  66.                     },
  67.                     tileSize: "medium",
  68.                     isEmbedded: false,
  69.                     enablePageTracking: false,
  70.                     baseUrl: "https://resources.ecovadis.com/",
  71.                     filesUrl: "https://resources.ecovadis.com/",
  72.                     generatedAtUTC: "2019-11-18 10:40:50"
  73.                 }
  74.             ];
  75.             window._ufHubConfig = window._ufHubConfig || sections;
  76.  
  77.             (function (d, t, u) {
  78.                 function load() {
  79.                     var s = d.createElement(t);
  80.                     s.src = u;
  81.                     d.body.appendChild(s);
  82.                 }
  83.  
  84.                 if (window.addEventListener) {
  85.                     window.addEventListener('load', load, false);
  86.                 } else if (window.attachEvent) {
  87.                     window.attachEvent('onload', load);
  88.                 } else {
  89.                     window.onload = load;
  90.                 }
  91.             }(
  92.                 document,
  93.                 'script',
  94.                 'https://resources.ecovadis.com/hubsFront/embed_collection'
  95.             ));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement