Advertisement
Marcelohenrique20

Untitled

Sep 25th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script>
  2.  
  3. $("body").addClass("cruzeiro-layout-v2");
  4.  
  5. var qntA = $("#menu-item-9722 > ul:eq(0) li");
  6. var hmtlA = "";
  7.  
  8. for (var i = 0; i < qntA.length; i++) {
  9.  
  10.     if (i != qntA.length - 1) {
  11.         hmtlA += qntA.eq(i).html() + " | ";
  12.     }
  13.  
  14.     else {
  15.         hmtlA += qntA.eq(i).html();
  16.     }
  17.  
  18. }
  19.  
  20. $(".li-lista-destinos-cruzeiros > div").html("<p>"+hmtlA+"</p>");
  21.  
  22. //$("meta[name=viewport]").attr("content",$("meta[name=viewport]").attr("content").replace("width=device-width","width=350px"));
  23.  
  24. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement