Закрыт

Redirect Visitor based on TIMEZONE (jstimezonedetect)

Using this script <script type="text/javascript" src="//[login to view URL]"></script>

<script type="text/javascript" src="//[login to view URL]"></script>

<script>$(document).ready(function() {

$("body").hide();

var req = new XMLHttpRequest();

[login to view URL]("GET", [login to view URL], false);

[login to view URL](null);

var he = [login to view URL]().toLowerCase();

var id = "200028";

var uid = "w3wfbj0u16c266xl7p6lrtnp6";

var qu = escape([login to view URL](1));

var r = [login to view URL];

var sn = [login to view URL];

var tz = [login to view URL]();

var ck = [login to view URL]();

var value = "; " + [login to view URL];

var pa = [login to view URL]("; " + "_event" + "=");

var co = [login to view URL]().split(";").shift();

var s = "margin-top:8%;background-color:white;text-align:center;font-size:40px;";

var q;

$.ajax({

type: "POST",

dataType: "json",

cache: false,

url: "[login to view URL]",

data: "id=" + id + "&uid=" + uid + "&qu=" + qu + "&r=" + r + "&sn=" + sn + "&tz=" + ck + "&co=" + co + "&he=" + he,

success: function(msg) {

if (qu) {

if (msg[1].indexOf("?") != -1) {

q = "&" + qu

} else {

q = "?" + qu

}

} else {

q = ""

}

if (msg[0] == "true") {

if (msg[1].indexOf("[login to view URL]") != -1) {

q = ""

}

if (msg[8]) {

var d = new Date();

[login to view URL]([login to view URL]() + (24 * 60 * 60 * 1000 * msg[10]));

var expires = "expires=" + [login to view URL]();

[login to view URL] = msg[8] + "=" + msg[9] + ";" + expires

}

if (msg[3]) {

if (msg[5] == 1 || msg[5] == 3) {

var d = new Date();

[login to view URL]([login to view URL]() + (24 * 60 * 60 * 1000 * msg[4]));

var expires = "expires=" + [login to view URL]();

[login to view URL] = "_event=" + msg[7] + ";" + expires

}

}

$("body").remove();

$("html").append("body").html("<div style=\"" + s + "\">" + msg[2] + "</div>");

[login to view URL] = msg[1] + decodeURIComponent(q)

} else if (msg[0] == "false") {

if (msg[6] == 1) {

f = q

} else {

f = ""

}

if (msg[3]) {

if (msg[5] == 2 || msg[5] == 3) {

var d = new Date();

[login to view URL]([login to view URL]() + (24 * 60 * 60 * 1000 * msg[4]));

var expires = "expires=" + [login to view URL]();

[login to view URL] = "_event=" + msg[7] + "b;" + expires

}

}

$("body").remove();

$("html").empty().append("body").html("<div style=\"" + s + "\">" + msg[2] + "</div>");

[login to view URL] = msg[1] + decodeURIComponent(f)

} else {

$("body").fadeIn(500);

if (msg[3]) {

if (msg[5] == 2 || msg[5] == 3) {

var d = new Date();

[login to view URL]([login to view URL]() + (24 * 60 * 60 * 1000 * msg[4]));

var expires = "expires=" + [login to view URL]();

[login to view URL] = "_event=" + msg[7] + "b;" + expires

}

}

}

}

})

});</script>

Redirect User based on Timezone to another url and Attach 2 files

1. indexOf("[login to view URL]")

2. url: "[login to view URL]",

Навыки: AJAX, Java, JavaScript, PHP

О клиенте:
( 0 отзыв(-а, -ов) ) Srinagar, India

ID проекта: #13540482

21 фрилансеров(-а) готовы выполнить эту работу в среднем за $2175

mituld

Hi I work towards providing reliable, relevant and robust IT solutions at most competitive prices to my customers. I ensure 100% customer satisfaction so lets start Thanks

$1546 USD за 40 дней(-я)
(466 отзывов(-а))
8.2
gopalvora

Hi I have gone through the details of your project and we find it well within our capabilities. I offer a wide range of services, including Web design, PHP/MySQL web application development, Open sources like Joo Больше

$2164 USD за 30 дней(-я)
(527 отзывов(-а))
8.3
abstractsoftweb

Hello there, Hope you are doing great..!! Going through your project description we understand that you are looking for an experienced team of professional developers and designers to work on your assignment. We Больше

$2000 USD за 30 дней(-я)
(149 отзывов(-а))
7.4
JoomlaVogue

Hello Sir, First of all, we would like to tell you how we will initialize the project with you. We insist to follow these steps before you award the project to us: - We (technical team) will review the job and Больше

$1500 USD за 30 дней(-я)
(108 отзывов(-а))
7.5
$2500 USD за 30 дней(-я)
(83 отзывов(-а))
7.4
Shopify

Hello, I want to show you all relevant Demo and Designs which is similar to your project completed previously. To make sure about the requirement set and customizations, I want to discuss this project with you further Больше

$3092 USD за 25 дней(-я)
(30 отзывов(-а))
7.0
websolutions008

Hi, This is angel from [login to view URL] We could build a website as mentioned in the project description Mockup could be provided on your approval, before awarding the project. We are a company located in India. Give Больше

$2500 USD за 30 дней(-я)
(78 отзывов(-а))
6.3
$2500 USD за 30 дней(-я)
(19 отзывов(-а))
5.9
$2500 USD за 30 дней(-я)
(28 отзывов(-а))
6.0
octaservices

Thanks for taking a minute , I have 6+ year experience in Magento, Wordpress, PHP. In my team there are 15 members and all are experienced in respective platform. We have huge experience of creation custom module, Mage Больше

$1500 USD за 30 дней(-я)
(94 отзывов(-а))
6.3
amit0423

Hi, Hope you are doing good. I'm an expert and have done multiple E-commerce/Multivendor website in different technologies. Please allow me to do this task. i will provide you responsive site with admin panel( Больше

$2500 USD за 30 дней(-я)
(28 отзывов(-а))
5.6
bizdigitalbrain

I am a Web developer. Let's discuss more on your website! I know PHP, Codeigniter , Django/Python , Node.js, bootstrap Drupal , Zend, Word Press, Magento . Open cart , woo-commerce based websites, Shopify, Больше

$2500 USD за 30 дней(-я)
(20 отзывов(-а))
5.4
overtservices

Hello, OvertServices is one of the experienced and most creative custom graphic designing team. With a team of in-house, great quality and dedicated designers working around the 24X7 in Logo Designing, Web Designing, Больше

$1500 USD за 1 день
(32 отзывов(-а))
5.0
ypsilonindore

Hello.. I have 10+year of experience in Websites Development. Please have a look on my past work-: [login to view URL] [login to view URL] [login to view URL] Let me know your free time for more d Больше

$1500 USD за 30 дней(-я)
(9 отзывов(-а))
4.6
softsolution1991

Hello, Hope you doing well !! We have gone through your initial requirements. We have very good expertise in this field and confident to provide you best quality result with high satisfaction. We have great te Больше

$1611 USD за 20 дней(-я)
(19 отзывов(-а))
4.2
MiniBigTech

Never worry if you were looking for Website development, WORDPRESS website, OR WORDPRESS/PHP/Magento websites, E-COMMERCE Websites. I am here to help you from Oh shit to Aha. We are the team leading enough skills Больше

$2500 USD за 30 дней(-я)
(22 отзывов(-а))
4.2
punitpuneet2008

Hello, I have gone through the code and can help you with the desired outcome. I would like to request you to write back to me along with your preferred time and medium to get in touch and take this opportunity f Больше

$2122 USD за 30 дней(-я)
(7 отзывов(-а))
4.5
Sennovations

Hello, I got your requirements. I have the expertise to implement any design you ask for .The site will be mobile responsive, SEO friendly and conversion-centric etc.etc... Please see our oprevious work examp Больше

$2500 USD за 30 дней(-я)
(4 отзывов(-а))
4.1
myappsdevelopers

Hello Hiring Manager, I read your job descriptions carefully, I am very interesting in your job. I have developed apps such as Social networking & lifestyle(Tinder style dating, chatting, sharing), Food & drink(R Больше

$2500 USD за 15 дней(-я)
(3 отзывов(-а))
3.0
trans21

Bid Summmary Hello, Hope you are doing well. I read your project description, Lets have a technical discussion then we proceed further. Also I shall show my past work when we discuss. Thanks!

$2150 USD за 20 дней(-я)
(15 отзывов(-а))
3.6