Geo locate user and then show inline popup accordingly

AWARDED
Bids
5
Avg Bid (USD)
$49
Project Budget (USD)
$30 - $250

Project Description:
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/jquery-cookie.js"></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 (www.geoio.com) 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 www.lightandspace.co.uk

any more questions please ask

regards

Sam

Skills required:
Geolocation, HTML, Javascript, jQuery / Prototype
Hire lightandspace
Project posted by:
lightandspace United Kingdom
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


$ 50
in 1 days
Hire cicika
$ 60
in 1 days
$ 50
in 1 days
Hire lxzero
$ 30
in 0 days