![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Aug 2002
Location: UK
Posts: 3,198
|
simple geo targetting text link script?
Hey,
does anyone know of a script that will show a simple text of the nearest city of a surfer? I saw one here recently but can't find it via search. thanks
__________________
Take it Easy !!! ![]() ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Totally Borked
Industry Role:
Join Date: Feb 2005
Posts: 6,284
|
Code:
<script language="JavaScript" src="http://www.geoplugin.net/javascript.gp" type="text/javascript"> document.write("Welcome from "+geoplugin_city()+", "+geoplugin_countryName()); </script>
__________________
![]() For coding work - hit me up on andy // borkedcoder // com (consider figuring out the email as test #1) All models are wrong, but some are useful. George E.P. Box. p202 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Confirmed User
Join Date: Aug 2002
Location: UK
Posts: 3,198
|
Quote:
![]() can't get it to work. it doesn't print the location, there is just blank where i put the code. any trick to it? thanks
__________________
Take it Easy !!! ![]() ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Totally Borked
Industry Role:
Join Date: Feb 2005
Posts: 6,284
|
Sorry, split up the script src and the script:
Code:
<script src="http://www.geoplugin.net/javascript.gp" type="text/javascript"></script> <script type="text/javascript">document.write("Welcome from "+geoplugin_city()+", "+geoplugin_countryName()); </script>
__________________
![]() For coding work - hit me up on andy // borkedcoder // com (consider figuring out the email as test #1) All models are wrong, but some are useful. George E.P. Box. p202 |
![]() |
![]() ![]() ![]() ![]() ![]() |