176985602337900

Find freelancers. Lose those costly delays.

With 1.7 million freelancers, we'll match you with the perfect talent.

or, Register with Elance »

JS Expert needed to help with cookie based pop up....
Sign in to Add to Watch List

IT & Programming > Website Design

View Change History

The client has made the following changes to the job.

Description
Date

Job awarded.

Jul 8, 2013
Close

Job Description

  |  Change History >>

Updated

Close
  • Posted: Mon, Jul 08, 2013
  • Time Left: Closed
  • Location: Anywhere
  • Client prefers freelancers from:
    Anywhere

    You are still able to submit a proposal for this job.

    The client prefers freelancers from
    a different location.

    You're still able to submit a proposal for this job, regardless of your location.
  • Start: Immediately
  • Budget: Not Sure
  • Fixed Price Job
  • Elance Escrow Protection
  • W9 Not Required
Sign in to view client's details

Hi guys,

I have a site which uses some JS to trigger a fancy box load after a set period of time (see below)

-------------------------------

<script type="text/javascript">
$(document).ready(function() {
$("#inline").fancybox();
});

var visited;

$(window).load(function() {
if (navigator.cookieEnabled) {
visited = $.cookie("visited");
if (visited) {
} else {

setTimeout(function(){
$("#inline").trigger('click');

},3000);
$.cookie("visited", true, { expires: 90 });
}
}else{
setTimeout(function(){
$("#inline").trigger('click');

},3000);
}
});
</script>

-------------------------------

If the cookie is present the fancybox pop up should not be triggered. If the cookie isn't present the fancybox should open.

The trouble we're having is that is only seems to be working 75% of the time the rest of the time the fancybox is being triggered rega...

Sign in or Register to see more

Desired Skills
CSS, HTML, PHP
Job ID: 43849205
Proposals
Avg $ | High $ | Low $ — Show Pricing
  • Submit Date (Latest)

Sagar Seth      
Sagar Seth's identity has been verified.  Learn More
 India  |  
Winner
We are a team of highly skilled and passionate Developers,Designers and Programmers. We have over 8 years of professional experience in creating...
6
  |  
 4.9   |  Private   |  40 Jobs
Bid ID: 43852403  |  Submitted: Jul 8, 2013 12:14 ET 
Delivery
Within 1 day
$20.16

Robert C.      
Robert C.'s identity has been verified.  Learn More
 Serbia  |  
Responsible, confident, devoted, hard working and opened for new challenges and learning, these are words that the best describe my professional...
9
  |  
 5.0   |  Private   |  17 Jobs
Bid ID: 43850912  |  Submitted: Jul 8, 2013 11:42 ET 
Proposal SEALED

Manik Chakrabarty, DezireIT      
Manik Chakrabarty's identity has been verified.  Learn More
 India  |  
INVITED
I am working at DezireIT as a Senior Software Engineer and System Analyst. Responsibility includes constantly study an organizationís data, their...
6
  |  
 4.9   |  Private   |  10 Jobs
Bid ID: 43849984  |  Submitted: Jul 8, 2013 11:23 ET 
Proposal SEALED

Wordpress Magento iPhone      
One or more team members at  are verified.  Learn More
 India  |  
INVITED
UmariaBrothers has the expertise in the following Services . IT consulting, product engineering, web portal development, social networking site...
2
  |  
 5.0   |  Private   |  1 Jobs
Bid ID: 43849438  |  Submitted: Jul 8, 2013 11:10 ET 
Proposal SEALED
Sign in to Elance and start working on jobs today.
Sign in to view more of the job details and submit a proposal. Once registered, you'll have access to thousands of jobs online or through email.
Are you ready to post a job like this one?
Post a Similar Job »