Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-29-2012, 08:40 AM   PM User | #1
zackles
New to the CF scene

 
Join Date: Dec 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
zackles is an unknown quantity at this point
Help with geolocation detect

Im trying to use the addthis welcome bar api to detect location, but I wont work. I've managed to everyother config to work except this one.

<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-50c562341cdc5d64"></script>
<script type='text/javascript'>
addthis.bar.initialize([
{

"match": {

"LocatedIn": "US"
},
"message": "Welcome",
"action": {
"type": "button",
"text": "Follow us",
"verb": "follow",

"url": "http://www.twitter.com/example"
}
}
]);


</script>

can anyone figure this out?
zackles is offline   Reply With Quote
Old 12-29-2012, 09:41 PM   PM User | #2
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,172
Thanks: 59
Thanked 3,994 Times in 3,963 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
Why not ask at addthis.com???

They have a big "POST A QUESTION" button at the bottom of their front page.
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Old Pedant is offline   Reply With Quote
Reply

Bookmarks

Tags
addthis, geolocation, javascript

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:08 PM.


Advertisement
Log in to turn off these ads.