SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Guru
    Join Date
    Sep 2004
    Location
    Provo, UT
    Posts
    858
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    JavaScript question in regards to addthis.com script

    I don't know javaScript at all. I need to implement additional code so that I can append variables in the URL. Have I inserted var addthis_share in the right place? Sorry for the improper indentation. I can't figure out how to use tabs in this WYSISYG form.

    Thank you!

    Code:
    <script type="text/javascript">
                            
    var addthis_config = {services_exclude: 'cleanprint'};
                            
    var addthis_share = {
    url_transforms : {
    add: {
    x: '11201186',
    name: 'matt'
    }
    } 
    }                        
    </script>
    Convert your dollars into silver coins. www.convert2silver.com

  2. #2
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,803
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    Those two JavaScript statements do nothing at all by themselves. To be able to tell whether those will work or what might be wrong with them we'd need to see the script that uses the variables.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">

  3. #3
    SitePoint Wizard bronze trophy PicnicTutorials's Avatar
    Join Date
    Dec 2007
    Location
    Carlsbad, California, United States
    Posts
    3,656
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    If your talking about addthis it makes ie8 not load. I went to sharethis lockers now. Faster anyway


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •