Geo locate user and then show inline popup accordingly

Awarded

Hi,

Were trying to add a location based popup to a popup we already have but i dont want both of them to show ie. if the user is from the USA or Canada i want them to see one popup and if there in the rest of the world see the other.

heres the code for the popup we have already ...

<script type="text/javascript" src="js/[url removed, login to view]"></script>

<script type="text/javascript">

function openFancybox() {

setTimeout( function() {$('#various3').trigger('click'); },5000);

}

$(document).ready(function() {

var visited = $.cookie('visited');

if (visited == 'yes') {

return false;

} else {

openFancybox();

}

$.cookie('visited', 'yes', { expires: 0 });

$('#various3').fancybox();

});

</script>

We would like to use the geoio api ([url removed, login to view]) becuase its donsnt request the user to consent to share there location and its free for under 1000 request a day. But if you can think of a better easier / cleaner way thats also free, you can use that too.

I think it would take 1 hour Max to do this so please price accordingly. Please tell us when you can start this project (sooner the better)

WE WILL DESIGN THE POPUP, WE JUST NEED THE CODE FOR IT TO DISPLAY

here is the website its going on [url removed, login to view]

any more questions please ask

regards

Sam

Skills: Geolocation, HTML, Javascript, jQuery / Prototype

See more: jquery inline popup script, show inline popup, we trying to function, popup script for website, inline design, locate , geo-location, geo location, show text, rest based api, trigger javascript, javascript document ready, geolocation api, popup javascript code, document ready javascript, project popup, javascript user type, geolocation website design, geo location based, rest api javascript, consent, share popup, geolocation website script, Inline

About the Employer:
( 2 reviews ) London, United Kingdom

Project ID: #1391382

4 freelancers are bidding on average $48 for this job

bobkhin

Hi sir, I'm UI dev with strong skill in HTML/CSS (3+ experience years) and JS/jQuery (3 experience years). I have 3 my own jQuery plugins. I can debug, customized and add more functions in any jQuery plugins. I have cr More

$50 USD in 1 day
(28 Reviews)
4.3
cicika

Hello, please check private messages, I have a different solution for you. Thanks!

$60 USD in 1 day
(2 Reviews)
3.5
itresumesha

i can do it. lets start now

$50 USD in 1 day
(2 Reviews)
2.6
lxzero

hi , i am a professional developer and work in .Net Technologies. i like to work on this project along with u

$30 USD in 0 days
(0 Reviews)
0.0