var card_img_containers = document.querySelectorAll('.card-img-container');
var product_name = document.querySelectorAll('.prod-name a');
setInterval(function () {
// Reset tabindex for card_img_containers
card_img_containers.forEach(function (container) {
var anchorElements = container.getElementsByTagName('a');
for (var i = 0; i < anchorElements.length; i++) {
anchorElements[i].setAttribute('tabindex', '0');
}
});
// Reset tabindex for product_name
product_name.forEach(function (item) {
item.setAttribute('tabindex', '0');
});
}, 1000);
setInterval(function () {
var sideTopSellers = document.getElementById('sideTopSellers');
if (sideTopSellers) {
var anchorElements = sideTopSellers.querySelectorAll('a');
anchorElements.forEach(function (anchor) {
anchor.setAttribute('tabindex', '0');
});
}
}, 1000);
setInterval(function () {
var radioButtons = document.querySelectorAll('.form-option, .form-label');
radioButtons.forEach(function (item) {
item.setAttribute('tabindex', '0');
item.addEventListener('keydown', function (event) {
if (event.keyCode === 13) {
var radioInput = document.getElementById(this.getAttribute('for'));
if (radioInput) {
radioInput.checked = true;
}
event.preventDefault();
}
});
});
}, 1000)
if ($(window).width() > 767) {
setTimeout(() => {
setInterval(function () {
$('.spb_table').attr('tabindex', '1');
$('.spb_table_cell').attr('tabindex', '1');
$('.icon-close').attr('tabindex', '1');
}, 10);
}, 2000);
// setInterval(() => {
// $("#gift-certificate-preview").click(function () {
// Trigger = $(this);
// var fId = "modal";
// setTimeout(function () {
// // console.log(fId);
// document.getElementById(fId).focus();
// $("#" + fId).find(".modal-close").attr("data-reveal-back", "back");
// }, 800);
// });
// }, 1000);
if ($("#gift-certificate-preview")) {
setInterval(() => {
$("#gift-certificate-preview").click(function () {
Trigger = $(this);
var fId = "modal";
setTimeout(function () {
// console.log(fId);
document.getElementById(fId).focus();
$("#" + fId).find(".modal-close").attr("data-reveal-back", "back");
}, 800);
});
}, 1000);
}
}
// Start: Uncomment code 01-12-2023
// $(document).ready(function () {
// setInterval(function () {
// const classess_array = [
// ".GiftIntro",
// ".GiftCertificateCode span",
// "#LogoContainer a",
// "#GiftCertificateAmount",
// ".GiftCertificateFrom",
// ".GiftCertificateTo",
// "#GiftCertificateMessage",
// ".GiftCertificateExpiry",
// ".GiftCertificateShopNow"
// ];
// classess_array.forEach((selector) => {
// const elements = document.querySelectorAll(selector);
// elements.forEach((element) => {
// element.setAttribute("tabindex", "0");
// });
// });
// $('.page-type-giftcertificates .modal-close').attr('aria-label', ' gift certificate pop up open and you are on a close');
// }, 100);
// var Trigger = null;
// let vky = document.querySelector('.vky');
// let close = document.querySelector('.modal-close');
// vky.addEventListener("keydown", function (event) {
// if (event.key === "Tab") {
// close.click();
// Trigger.focus();
// Trigger = null;
// }
// });
// $("body").on("keydown", "#modal .button-wishlistDropdown-q", function () {
// if (event.key === "Tab") {
// // console.log("close popup");
// var closess = document.querySelector('.modal-close');
// closess.click();
// Trigger.focus();
// Trigger = null;
// }
// });
// $("body").on("click", "a[data-reveal-id='halo-login-popup']", function () {
// // console.log("halo login btn");
// // $("a[data-reveal-id='halo-login-popup']").click(function(){
// if ($(this).attr("data-reveal-id") != "" && $(this).attr("data-reveal-id") != undefined) {
// Trigger = $(this);
// var fId = $(this).attr("data-reveal-id");
// setTimeout(function () {
// // console.log(fId);
// document.getElementById(fId).focus();
// $("#" + fId).find(".modal-close").attr("data-reveal-back", "back");
// }, 500);
// }
// });
// $("a").click(function () {
// if ($(this).attr("data-reveal-back") != "" && $(this).attr("data-reveal-back") != undefined) {
// Trigger.focus();
// Trigger = null;
// }
// });
// $("#halo-login-popup").on('keydown', function (e) {
// if (e.target != this) return;
// if (e.shiftKey) {
// document.querySelector('.modal-close').click();
// Trigger.focus();
// Trigger = null;
// }
// });
// $("#modal").on('keydown', function (e) {
// if (e.target != this) return;
// if (e.shiftKey) {
// document.querySelector('.modal-close').click();
// Trigger.focus();
// Trigger = null;
// }
// });
// $("a[data-event-type='product-click']").click(function () {
// Trigger = $(this);
// var fId = "modal";
// setTimeout(function () {
// // console.log(fId);
// document.getElementById(fId).focus();
// $("#" + fId).find(".modal-close").attr("data-reveal-back", "back");
// }, 800);
// });
// $("#gift-certificate-preview").click(function () {
// Trigger = $(this);
// var fId = "modal";
// setTimeout(function () {
// // console.log(fId);
// document.getElementById(fId).focus();
// $("#" + fId).find(".modal-close").attr("data-reveal-back", "back");
// }, 800);
// });
// $("a[data-cart-preview]").click(function () {
// Trigger = $(this);
// var fId = "cart-preview-dropdown";
// setTimeout(function () {
// // console.log(fId);
// document.getElementById(fId).focus();
// $("#" + fId).find(".modal-close").attr("data-reveal-back", "back");
// }, 800);
// });
// $(".modal-close").attr("aria-label", "popup open and you are on close");
// $(".modal-close").attr("role", "Button");
// $("#modal").attr("tabindex", "-1");
// classess_array.forEach((selector) => {
// const elements = document.querySelectorAll(selector);
// elements.forEach((element) => {
// element.setAttribute("tabindex", currentTabIndex.toString()); // Set the tabindex
// currentTabIndex++;
// });
// });
// });
// Start: Uncomment code 01-12-2023
$(document).ready(function () {
// Start: Appended this code on the 01-12-2023
var Trigger = null;
let vky = document.querySelector(".vky");
let close = document.querySelector(".modal-close");
vky.addEventListener("keydown", function (event) {
if (event.key === "Tab") {
close.click();
Trigger.focus();
Trigger = null;
}
});
$("body").on("keydown", "#modal .button-wishlistDropdown-q", function () {
if (event.key === "Tab") {
console.log("close popup");
var closess = document.querySelector(".modal-close");
closess.click();
Trigger.focus();
Trigger = null;
}
});
$("body").on("click", "a[data-reveal-id='halo-login-popup']", function () {
// console.log("halo login btn");
// $("a[data-reveal-id='halo-login-popup']").click(function(){
if (
$(this).attr("data-reveal-id") != "" &&
$(this).attr("data-reveal-id") != undefined
) {
Trigger = $(this);
var fId = $(this).attr("data-reveal-id");
setTimeout(function () {
// console.log(fId);
document.getElementById(fId).focus();
$("#" + fId)
.find(".modal-close")
.attr("data-reveal-back", "back");
}, 500);
}
});
$("a").click(function () {
if (
$(this).attr("data-reveal-back") != "" &&
$(this).attr("data-reveal-back") != undefined
) {
Trigger.focus();
Trigger = null;
}
});
$("#halo-login-popup").on("keydown", function (e) {
if (e.target != this) return;
if (e.shiftKey) {
document.querySelector(".modal-close").click();
Trigger.focus();
Trigger = null;
}
});
// End : Appended this code on 01-12-2023
const classess_array = [
".GiftIntro",
".GiftCertificateCode span",
"#LogoContainer a",
"#GiftCertificateAmount",
".GiftCertificateFrom",
".GiftCertificateTo",
"#GiftCertificateMessage",
".GiftCertificateExpiry",
".GiftCertificateShopNow"
];
let currentTabIndex = 1; // Initialize currentTabIndex
classess_array.forEach((selector) => {
const elements = document.querySelectorAll(selector);
elements.forEach((element) => {
element.setAttribute("tabindex", currentTabIndex.toString()); // Set the tabindex
currentTabIndex++;
});
});
$('.page-type-giftcertificates .modal-close').attr('aria-label', ' gift certificate pop up open and you are on close');
// Rest of your code...
});
setInterval(function(){
if(document.readyState=="interactive"){
document.getElementById("top-page-promotion").focus();
document.getElementById("top-page-promotion").click();
}
},1000);
setTimeout(function () {
document.getElementById("top-page-promotion").focus();
$("#top-page-promotion").keyup();
let AccountMenuItem = document.querySelector('.navUser ul li:nth-child(2)');
AccountMenuItem.addEventListener("keydown", function (event) {
if (event.key == "Enter") {
// console.log("login click")
let login_popup = $('#halo-login-popup').focus();
}
});
}, 5000);
function handleKeyDown(event) {
const keyCode = event.keyCode || event.which;
if (keyCode === 13) {
$("#top-page-promotion").addClass("hide");
}
}
setTimeout(function () {
document.getElementById("top-page-promotion").addEventListener("keydown", handleKeyDown);
}, 1000);
// COWWW
(function (w, d, t, r, u) {
var f, n, i;
w[u] = w[u] || [], f = function () {
var o = { ti: "4003726", enableAutoSpaTracking: true };
o.q = w[u], w[u] = new UET(o), w[u].push("pageLoad")
},
n = d.createElement(t), n.src = r, n.async = 1, n.onload = n.onreadystatechange = function () {
var s = this.readyState;
s && s !== "loaded" && s !== "complete" || (f(), n.onload = n.onreadystatechange = null)
},
i = d.getElementsByTagName(t)[0], i.parentNode.insertBefore(n, i)
})
(window, document, "script", "//bat.bing.com/bat.js", "uetq");
GIANT TEDDY ™ OFFICIAL SITE - Fast Free Shipping
Elephants
These playful giant stuffed elephants are sure to please with just one look, from their long trunks and tusks to their long ears and hooves, every element of our life-size stuffed elephants is made with a focus on softness and cuddle factor. This is the perfect gift for your loved one whether for a special occasion such as a birthday, anniversary, holiday or just because. Regardless of which option is right for the occasion or your recipient, rest assured that is a friendly, loveable new friend they are sure to love with just one look! Order today and give them a unique gift they will trouser for years.
Read More
Read Less
SECURE PAYMENT
We implement a variety of security measures to maintain the safety of your personal information when you place an order!
FREE SHIPPING
Ship at no additional cost! ONLY applicable to the 48 US Contiguous States!
SATISFACTION GUARANTEED
If anything happens to your order, we want to know & want to make it right. You have our Paw of Honor!
SUNNY CALIFORNIA
Giant Teddy is in sunny Anaheim, California. We do most of our business online but if you are in the area, Contact Us about stopping by!