
The Piggle
Secure checkout on the merchant’s Shopify store
<p> </p> <ul class="tabs" style="list-style: none; padding: 0; margin: 0; display: flex; border-bottom: 2px solid lightblue;"> <li style="margin-right: 20px;"> <a href="#tab1" class="active" onclick="setActiveTab(this, '#tab1')" style="text-decoration: none; color: #e85a71; position: relative;"> Piggle care <span style="content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 4px; background-color: #e85a71;"></span> </a> </li> <li style="margin-right: 20px;"> <a href="#tab2" onclick="setActiveTab(this, '#tab2')" style="text-decoration: none; color: black; position: relative;"> Dimensions & Materials </a> </li> </ul> <ul class="tabs-content" style="list-style: none; padding: 20px 0; margin: 0;"> <li id="tab1" class="active" style="display: block;"> <p>Spot clean as needed with a damp cloth.<br><br>For a full makeover, throw in the wash with unscented detergent only.</p> </li> <li id="tab2" style="display: none;"> <p><strong>Dimensions</strong><br><em>Measurements are L x W x H (inches)</em>.</p> <ol> <li type="disc">Piggle: ~12 x 8.5 x 5.5</li> <li type="disc">Heart: 3 x 5 x 2</li> <li type="disc">Stomach: 4.5 x 2 x 3.5</li> <li type="disc">Intestines: 7 x 2 x 3</li> <li type="disc">Panel: 7.25 x 5.5</li> </ol> <br> <p><strong>Materials</strong></p> <ol> <li type="disc">Body is made with lined sponge material for durability and to help hold the Piggle's shape.</li> <li type="disc">Industrial-grade "Velcro®" ensures panel stays in place while snuffling.</li> <li type="disc">Adheres to U.S. safety regulations for children's plush toys.</li> </ol> </li> </ul> <script> function setActiveTab(clickedTab, tabId) { // 1. Remove active class and styles from all tabs and content let tabs = document.querySelectorAll('.tabs a'); tabs.forEach(tab => { tab.classList.remove('active'); tab.querySelector('span') && tab.querySelector('span').remove(); // Remove existing active line tab.style.color = 'black'; }); let tabContents = document.querySelectorAll('.tabs-content li'); tabContents.forEach(content => { content.style.display = 'none'; content.classList.remove('active'); }); // 2. Add active class and styles to the clicked tab clickedTab.classList.add('active'); clickedTab.style.color = '#e85a71'; let activeLine = document.createElement('span'); activeLine.style.content = ''; activeLine.style.position = 'absolute'; activeLine.style.left = '0'; activeLine.style.right = '0'; activeLine.style.bottom = '-2px'; activeLine.style.height = '4px'; activeLine.style.backgroundColor = '#e85a71'; clickedTab.appendChild(activeLine); // 3. Show the corresponding content document.querySelector(tabId).style.display = 'block'; document.querySelector(tabId).classList.add('active'); } </script>



