Closed

Geo locate user and then show inline popup accordingly

This project received 5 bids from talented freelancers with an average bid price of $49 USD.

Get free quotes for a project like this
Employer working
Project Budget
$30 - $250 USD
Total Bids
5
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/[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

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online