Advertisement
BladeMechanics

For Nina

May 23rd, 2019
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 3.88 KB | None | 0 0
  1. {% if theme.image_sets.slideshow.size > 0 %}
  2.   <div class="flexslider home-slideshow">
  3.     <ul class="slides">
  4.       {% for image in theme.image_sets.slideshow %}http://www.facebook.com/
  5.         <li><img alt="Slideshow image" src="{{ image.url | constrain: 1800 }}"></li>
  6.       {% endfor %}
  7.     </ul>
  8.   </div>
  9. {% endif %}
  10.  
  11. <script type="text/javascript" src="https://code.jquery.com/jquery-1.8.2.js"></script>
  12. <style type="text/css">
  13. #overlay {
  14. position: fixed;
  15. top: 0;
  16. left: 0;
  17. width: 100%;
  18. height: 100%;
  19. background-color: #000;
  20. filter:alpha(opacity=70);
  21. -moz-opacity:0.7;
  22. -khtml-opacity: 0.7;
  23. opacity: 0.7;
  24. z-index: 100;
  25. display: none;
  26. }
  27. .cnt223 a{
  28. text-decoration: none;
  29. }
  30. .popup{
  31. display: none;
  32. z-index: 101;
  33. }
  34. .cnt223{
  35. width: 1000px;
  36. height: 100%;
  37. background: #f3f3f3;
  38. position: absolute;
  39. z-index: 103;
  40. padding: 15px 35px;
  41. border-radius: 5px;
  42. box-shadow: 0 2px 5px #000;
  43. }
  44. .cnt223 p{
  45. clear: both;
  46.     color: #555555;
  47.     /* text-align: justify; */
  48.     font-size: 20px;
  49.     font-family: sans-serif;
  50. }
  51. .cnt223 p a{
  52. color: #d91900;
  53. font-weight: bold;
  54. }
  55. .cnt223 .x{
  56. float: right;
  57. height: 35px;
  58. left: 22px;
  59. position: absolute;
  60. top: -25px;
  61. width: 34px;
  62. }
  63. .cnt223 .x:hover{
  64. cursor: pointer;
  65. }
  66. </style>
  67. <script type='text/javascript'>
  68. $(function(){
  69. var overlay = $('<div id="overlay"></div>');
  70. overlay.show();
  71. overlay.appendTo(document.body);
  72. $('.popup').show();
  73. $('.close').click(function(){
  74. $('.popup').hide();
  75. overlay.appendTo(document.body).remove();
  76. return false;
  77. });
  78.  
  79.  
  80. $('.x').click(function(){
  81. $('.popup').hide();
  82. overlay.appendTo(document.body).remove();
  83. return false;
  84. });
  85. });
  86. </script>
  87.  
  88. <div class='popup'>
  89. <div class='cnt223'>
  90. <h1>Hi, Nina!</h1>
  91. <br/>
  92. <p>
  93. <img src="https://i.ibb.co/JpS1LY6/60800045-295248654745616-3537788720906240000-n.jpg" alt="anoto" style="width:85%;height:85%;margin: auto">
  94. <br/>
  95. <a href='' class='close'>Click Here</a>
  96. <br/>
  97. </p>
  98. </div>
  99. </div>
  100.  
  101. {% if theme.featured_items > 0 %}
  102.   {% get products from products.all limit:theme.featured_items order:theme.featured_order %}
  103.     {% if products != blank %}
  104.       <div class="product-list">
  105.         {% for product in products %}
  106.           {% assign product_status = '' %}
  107.           {% case product.status %}
  108.             {% when 'active' %}
  109.               {% if product.on_sale %}{% assign product_status = 'On sale' %}{% endif %}
  110.             {% when 'sold-out' %}
  111.               {% assign product_status = 'Sold out' %}
  112.             {% when 'coming-soon' %}
  113.               {% assign product_status = 'Coming soon' %}
  114.           {% endcase %}
  115.           <a class="product-list-item {{ theme.show_overlay }}" href="{{ product.url }}" title="View {{ product.name | escape }}">
  116.             <div class="product-list-item-container">
  117.               <figure class="product-list-image-container">
  118.                 <img alt="Image of {{ product.name | escape }}" class="fade-in product-list-image {% if product.image.height > product.image.width %}image-tall{% elsif product.image.height < product.image.width %}image-wide{% else %}image-square{% endif %}" src="{{ product.image | product_image_url | constrain: 1000, 1000 }}">
  119.               </figure>
  120.             </div>
  121.             <div class="product-list-item-info">
  122.               <div class="product-list-item-background"></div>
  123.               <div class="product-list-item-info-headers">
  124.                 {% if product_status != blank %}<div class="product-list-item-status">{{ product_status }}</div>{% endif %}
  125.                 <div class="product-list-item-name">{{ product.name }}</div>
  126.                 <div class="product-list-item-price">{{ product.default_price | money: theme.money_format }}</div>
  127.               </div>
  128.             </div>
  129.           </a>
  130.         {% endfor %}
  131.       </div>
  132.     {% else %}
  133.       <div class="empty-products centered-message">No products found.</div>
  134.     {% endif %}
  135.   {% endget %}
  136. {% endif %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement