>脚本
function GetShortID(uid,category, table_name) {
//document.getElementById("demo").innerHTML = "YOU CLICKED ME!";
$.ajax({type: "GET",
url: "InsertWishList.php",
data: {
_uid: uid,
_category: category,
_table_name: table_name
},
success:function(result){
alert(result);
},
error:function(result)
{
alert('There is some error, please try after sometime.');
}
});
}
function RemoveShortID(uid,category, table_name) {
//document.getElementById("demo").innerHTML = "YOU CLICKED ME!";
$.ajax({type: "GET",
url: "RemoveWishList.php",
data: {
_uid: uid,
_category: category,
_table_name: table_name
},
success:function(result){
alert(result);
},
error:function(result)
{
alert('There is some error, please try after sometime.');
}
});
}
< >脚本 window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-789085269');
< >脚本
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.异步=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-45866040-1', 'bushtaxcut.com');
ga('send', 'pageview');
< >脚本
!函数(f, b, e、v、n, t, s)
{如果(f.fbq)返回;n = f.fbq = function () {n.callMethod?
n.callMethod.应用(n,参数):n.队列.推动(参数)};
if(!f._fbq) f._fbq = n, n.推动= n, n.加载=!0;n.版本= ' 2.0';
n.队列= [];t = b.createElement (e); t.异步=!0;
t.src = v = b.getElementsByTagName (e) [0];
s.parentNode.方法(t, s)}(窗口、文档“脚本”,
“http://connect.脸谱网.net/en_US/fbevents.js');
fbq(“init”,' 413507386149493 ');
fbq(“跟踪”,“页面”);
< >脚本
function addProductShortlist(uid, category,tablename) {
//alert();
$.ajax({
type: "POST",
url: "ajaxAddProductToCart.php",
data:{
uid:uid,
table_name:tablename,
category:category,
},
success: function(data){
//$("#city").html(data);
alert(data);
fetchdata();
}
});
}
< >脚本
function ShowTabImage(tabdivid) {
var Stone1 = document.getElementById("Stone1");
var Ceramic1 = document.getElementById("Ceramic1");
var Porcelain1 = document.getElementById("Porcelain1");
var SemiPrecious1 = document.getElementById("Semi-Precious1");
var Glass1 = document.getElementById("Glass1");
var Shell1 = document.getElementById("Shell1");
var superwhite1 = document.getElementById("superwhite1");
var rotomatt1 = document.getElementById("rotomatt1");
if(tabdivid == "Stone1"){
Stone1.className += " tactive";
Ceramic1.className= Ceramic1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
Porcelain1.className= Porcelain1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
SemiPrecious1.className= SemiPrecious1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
Glass1.className= Glass1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
Shell1.className= Shell1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
superwhite1.className= superwhite1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
rotomatt1.className= rotomatt1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
}
if(tabdivid == "Ceramic1"){
Stone1.className= Stone1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
Ceramic1.className += " tactive";
Porcelain1.className= Porcelain1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
SemiPrecious1.className= SemiPrecious1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
Glass1.className= Glass1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
Shell1.className= Shell1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
superwhite1.className= superwhite1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
rotomatt1.className= rotomatt1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
}
if(tabdivid == "Porcelain1"){
Stone1.className= Stone1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
Ceramic1.className= Ceramic1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
Porcelain1.className += " tactive";
SemiPrecious1.className= SemiPrecious1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
Glass1.className= Glass1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
Shell1.className= Shell1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
superwhite1.className= superwhite1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
rotomatt1.className= rotomatt1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
}
if(tabdivid == "Semi-Precious1"){
Stone1.className= Stone1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
Ceramic1.className= Ceramic1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
Porcelain1.className= Porcelain1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
SemiPrecious1.className += " tactive";
Glass1.className= Glass1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
Shell1.className= Shell1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
superwhite1.className= superwhite1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
rotomatt1.className= rotomatt1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
}
if(tabdivid == "Glass1"){
Stone1.className= Stone1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
Ceramic1.className= Ceramic1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
Porcelain1.className= Porcelain1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
SemiPrecious1.className= SemiPrecious1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
Glass1.className += " tactive";
Shell1.className= Shell1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
superwhite1.className= superwhite1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
rotomatt1.className= rotomatt1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
}
if(tabdivid == "Shell1"){
Stone1.className= Stone1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
Ceramic1.className= Ceramic1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
Porcelain1.className= Porcelain1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
SemiPrecious1.className= SemiPrecious1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
Glass1.className= Glass1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
Shell1.className += " tactive";
superwhite1.className= superwhite1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
rotomatt1.className= rotomatt1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
}
if(tabdivid == "superwhite1"){
Stone1.className= Stone1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
Ceramic1.className= Ceramic1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
Porcelain1.className= Porcelain1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
SemiPrecious1.className= SemiPrecious1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
Glass1.className= Glass1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
Shell1.className = Shell1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
superwhite1.className += " tactive";
rotomatt1.className= rotomatt1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
}
if(tabdivid == "rotomatt1"){
Stone1.className= Stone1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
Ceramic1.className= Ceramic1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
Porcelain1.className= Porcelain1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
SemiPrecious1.className= SemiPrecious1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
Glass1.className= Glass1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
Shell1.className = Shell1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
superwhite1.className= superwhite1.className.replace( /(?:^|\s)tactive(?!\S)/ , '' );
rotomatt1.className += " tactive";
}
}
< >脚本
function GetShortID(uid,category, table_name) {
//document.getElementById("demo").innerHTML = "YOU CLICKED ME!";
$.ajax({type: "GET",
url: "InsertWishList.php",
data: {
_uid: uid,
_category: category,
_table_name: table_name
},
success:function(result){
alert(result);
},
error:function(result)
{
alert('There is some error, please try after sometime.');
}
});
}
function RemoveShortID(uid,category, table_name) {
//document.getElementById("demo").innerHTML = "YOU CLICKED ME!";
$.ajax({type: "GET",
url: "RemoveWishList.php",
data: {
_uid: uid,
_category: category,
_table_name: table_name
},
success:function(result){
alert(result);
},
error:function(result)
{
alert('There is some error, please try after sometime.');
}
});
}
< >脚本
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'AW-10952319512');
< >脚本
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.异步=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-45866040-1', 'bushtaxcut.com');
ga('send', 'pageview');
< >脚本
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-YBC9FMDDXJ');
脚本
!函数(f, b, e、v、n, t, s)
{如果(f.fbq)返回;n = f.fbq = function () {n.callMethod?
n.callMethod.应用(n,参数):n.队列.推动(参数)};
if(!f._fbq) f._fbq = n, n.推动= n, n.加载=!0;n.版本= ' 2.0';
n.队列= [];t = b.createElement (e); t.异步=!0;
t.src = v = b.getElementsByTagName (e) [0];
s.parentNode.方法(t, s)}(窗口、文档“脚本”,
“http://connect.脸谱网.net/en_US/fbevents.js');
fbq(“init”,' 413507386149493 ');
fbq(“跟踪”,“页面”);
< >脚本
!函数(f, b, e、v、n, t, s)
{如果(f.fbq)返回;n = f.fbq = function () {n.callMethod?
n.callMethod.应用(n,参数):n.队列.推动(参数)};
if(!f._fbq) f._fbq = n, n.推动= n, n.加载=!0;n.版本= ' 2.0';
n.队列= [];t = b.createElement (e); t.异步=!0;
t.src = v = b.getElementsByTagName (e) [0];
s.parentNode.方法(t, s)}(窗口、文档“脚本”,
“http://connect.脸谱网.net/en_US/fbevents.js');
fbq('init', '3128970770749933');
fbq(“跟踪”,“页面”);
< >脚本
function getFinish(val) {
$.ajax({
type: "POST",
url: "ajaxGetFinish.php",
data:{
size:val,
},
success: function(data){
$("#getFinishTile").html(data);
}
});
}
< >脚本
i=0;
function openNav() {
document.getElementById("mySidenav").style.width = "300px";
}
function closeNav() {
close_wall_tile_nav();
close_floor_tile_nav();
close_investors_nav();
setTimeout(function(){document.getElementById("mySidenav").style.width = "0"}, 100);
}
function open_wall_tile_nav() {
close_floor_tile_nav();
close_investors_nav();
if(i==0){
document.getElementById("wall_tile_div").style.width = "100%";
i=1;
}
if(i==1){
setTimeout(function(){document.getElementById("wall_tile_div").style.width = "100%"}, 500);
}
}
function close_wall_tile_nav() {
document.getElementById("wall_tile_div").style.width = "0";
}
function open_floor_tile_nav() {
close_wall_tile_nav();
close_investors_nav();
if(i==0){
document.getElementById("floor_tile_div").style.width = "100%";
i=1;
}
if(i==1){
setTimeout(function(){document.getElementById("floor_tile_div").style.width = "100%"}, 500);
}
}
function close_floor_tile_nav() {
document.getElementById("floor_tile_div").style.width = "0";
}
function open_investors_nav() {
close_wall_tile_nav();
close_floor_tile_nav();
if(i==0){
document.getElementById("investors_div").style.width = "100%";
i=1;
}
if(i==1){
setTimeout(function(){document.getElementById("investors_div").style.width = "100%"}, 500);
}
}
function close_investors_nav() {
document.getElementById("investors_div").style.width = "0";
}
$("#walltiles").hover(function() {
$('.flyout').removeClass('hidden');
$('#walltiles').addClass('sub-menu-arrow');
}, function() {
$('.flyout').addClass('hidden');
$('#walltiles').removeClass('sub-menu-arrow');
});
$("#investorsnav").hover(function() {
$('#investorsnav').addClass('sub-menu-arrow');
}, function() {
$('#investorsnav').removeClass('sub-menu-arrow');
});
$("#walltiles1").hover(function() {
$('.flyout').removeClass('hidden');
$('#walltiles').addClass('sub-menu-arrow');
}, function() {
$('.flyout').addClass('hidden');
$('#walltiles').removeClass('sub-menu-arrow');
});
$("#floortiles").hover(function() {
$('.flyout1').removeClass('hidden');
$('#floortiles').addClass('sub-menu-arrow');
}, function() {
$('.flyout1').addClass('hidden');
$('#floortiles').removeClass('sub-menu-arrow');
});
$("#floortiles1").hover(function() {
$('.flyout1').removeClass('hidden');
$('#floortiles').addClass('sub-menu-arrow');
}, function() {
$('.flyout1').addClass('hidden');
$('#floortiles').removeClass('sub-menu-arrow');
});
看看bat365官方网站在斋浦尔新落成的抛光玻璃瓷砖展示中心
×
1 / 14
2 / 14
3 / 14
4 / 14
5 / 14
6 / 14
7 / 14
8 / 14
9 / 14
10 / 14
11 / 14
12 / 14
13 / 14
14 / 14
❮
❯
< >脚本
( function( $ ) {
$( document ).ready(function() {
$(document).ready(function(){
$('#cssmenu > ul > li ul').each(function(index, e){
var count = $(e).find('li').length;
//var content = '' + count + '';
var content = '';
$(e).closest('li').children('a').append(content);
});
$('#cssmenu ul ul li:odd').addClass('odd');
$('#cssmenu ul ul li:even').addClass('even');
$('#cssmenu > ul > li > a').click(function() {
$('#cssmenu li').removeClass('active');
$(this).closest('li').addClass('active');
var checkElement = $(this).next();
if((checkElement.is('ul')) && (checkElement.is(':visible'))) {
$(this).closest('li').removeClass('active');
checkElement.slideUp('normal');
}
if((checkElement.is('ul')) && (!checkElement.is(':visible'))) {
$('#cssmenu ul ul:visible').slideUp('normal');
checkElement.slideDown('normal');
}
if($(this).closest('li').find('ul').children().length == 0) {
return true;
} else {
return false;
}
});
});
});
} )( jQuery );
document.addEventListener("DOMContentLoaded", function() {
var lazyloadImages = document.querySelectorAll("img.lazy");
var lazyloadThrottleTimeout;
function lazyload () {
if(lazyloadThrottleTimeout) {
clearTimeout(lazyloadThrottleTimeout);
}
lazyloadThrottleTimeout = setTimeout(function() {
var scrollTop = window.pageYOffset;
lazyloadImages.forEach(function(img) {
if(img.offsetTop < (window.innerHeight + scrollTop)) {
img.src = img.dataset.src;
img.classList.remove('lazy');
}
});
if(lazyloadImages.length == 0) {
document.removeEventListener("scroll", lazyload);
window.removeEventListener("resize", lazyload);
window.removeEventListener("orientationChange", lazyload);
}
}, 20);
}
document.addEventListener("scroll", lazyload);
window.addEventListener("resize", lazyload);
window.addEventListener("orientationChange", lazyload);
});
< >脚本
$(document).ready(function()
{
App.init(); // init core
});
< >脚本
// Instantiate the Bootstrap carousel
$('.multi-item-carousel').carousel({
interval: 2000
});
// for every slide in carousel, copy the next slide's item in the slide.
// Do the same for the next, next item.
$('.multi-item-carousel .item').each(function(){
var next = $(this).next();
if (!next.length) {
next = $(this).siblings(':first');
}
next.children(':first-child').clone().appendTo($(this));
if (next.next().length>0) {
next.next().children(':first-child').clone().appendTo($(this));
} else {
$(this).siblings(':first').children(':first-child').clone().appendTo($(this));
}
});
$('.carousel[data-type="multi"] .item').each(function(){
var next = $(this).next();
if (!next.length) {
next = $(this).siblings(':first');
}
next.children(':first-child').clone().appendTo($(this));
for (var i=0;i<2;i++) {
next=next.next();
if (!next.length) {
next = $(this).siblings(':first');
}
next.children(':first-child').clone().appendTo($(this));
}
});
< >脚本
function openCity(evt, cityName) {
var i, tabcontent, tablinks;
tabcontent = document.getElementsByClassName("tabcontent");
for (i = 0; i < tabcontent.length; i++) {
tabcontent[i].style.display = "none";
}
tablinks = document.getElementsByClassName("tablinks");
for (i = 0; i < tablinks.length; i++) {
tablinks[i].className = tablinks[i].className.replace(" active", "");
}
document.getElementById(cityName).style.display = "block";
evt.currentTarget.className += " active";
}
// Get the element with id="defaultOpen" and click on it
document.getElementById("defaultOpen").click();
< >脚本
$(document).ready(function(){
$("#findtile").click(function(){
$("#findtile").animate({
fontSize: "0px",
padding: "0px",
opacity: "0",
width: "1px",
height: "1px"
}, 10, function() {
// Animation complete.
});
$("#findtypea").animate({
opacity: "0",
width: "1px",
height: "1px",
minHeight: "1px"
}, 10, function() {
// Animation complete.
});
/*$("#findtiletext").animate({
marginTop: "18px",
borderWidth: "1px",
opacity: "1",
minHeight: "35px",
width: "179px",
fontSize: "14px",
paddingLeft: "5px"
}, 1000, function() {
// Animation complete.
});*/
$("#findtiletext").animate({marginTop: "18px"},10);
$("#findtiletext").animate({borderWidth: "1px"},10);
$("#findtiletext").animate({fontSize: "14px"},10);
$("#findtiletext").animate({opacity: "1"},10);
$("#findtiletext").animate({minHeight: "35px"},300);
$("#findtiletext").animate({paddingLeft: "5px"},10);
$("#findtiletext").animate({width: "179px"});
$("#findtiletext").focus();
});
/*$("#btn2").click(function(){
$("#box").animate({height: "100px"});
});*/
});
< >脚本
// Open the Modal
function openModal() {
document.getElementById('myModal').style.display = "block";
}
// Close the Modal
function closeModal() {
document.getElementById('myModal').style.display = "none";
}
var slideIndex = 1;
showSlides(slideIndex);
// Next/previous controls
function plusSlides(n) {
showSlides(slideIndex += n);
}
// Thumbnail image controls
function currentSlide(n) {
showSlides(slideIndex = n);
}
function showSlides(n) {
var i;
var slides = document.getElementsByClassName("mySlides");
var dots = document.getElementsByClassName("demo");
var captionText = document.getElementById("caption");
if (n > slides.length) {slideIndex = 1}
if (n < 1) {slideIndex = slides.length}
for (i = 0; i < slides.length; i++) {
slides[i].style.display = "none";
}
for (i = 0; i < dots.length; i++) {
dots[i].className = dots[i].className.replace(" active", "");
}
slides[slideIndex-1].style.display = "block";
//dots[slideIndex-1].className += " active";
//captionText.innerHTML = dots[slideIndex-1].alt;
}