خرید بک لینک

Vote count: 0

I have a problem that I just caot figure out on my own. This is the issue.

I'm making a website that is using javascript to make the website write out things as you type on your keyboard using JS. As you're 'writing' this text I would like your location to be shown, making the illusion that you're the actual person writing. I solved this problem by calling the IP adress and translating it to a city and country using google maps or something like that. The issue now is to get this to 'write it out' as actual text. Take a look at this fiddle -

http://codepen.io/anon/pen/RagdVB

Hello, I am viewing this page from <span id="usergeoip">unknown location</span>.

In this example you can see how its supposed to be, but the problem is that I caot use <span id> inside the text because it inflicts with the other js making the code be 'typed out'. Is there a solution for calling out this location without using <span> or <p> or such, or is that impossible?

asked 2 mins ago

برچسب: نویسنده: استخدام کار تاريخ: پنجشنبه 12 فروردين 1395 ساعت: 8:37

صفحه بندی