Hello, i want to add a "Social Traffic Pop" jquery to my /stats/{username} sites.
I have to add this in my <head> tag:
And this too, but i want to show this only when some is visit /stats/ Pages ... so tryed to put it my stats.html but its not working
Then i tryed to get it working on all pages, but the some NOTHING
I have here two .js files and one .css, if you need this files i can send you a DL Link via pm.
leonor
I have to add this in my <head> tag:
PHP:
<link href="social-traffic-pop.css" rel="stylesheet" type="text/css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
<script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
<script src="jquery.stp.min.js" type="text/javascript"></script>
Code:
<script>
$(document).ready(function(){
$().socialTrafficPop({
timeout: 999,
title: "Social Traffic Pop",
message: 'Share my hot new Envato item <em>Social Traffic Pop</em>!',
google_url: "http://private-server.ws",
fb_url: "http://google.com/",
closeable: true,
advancedClose: true,
google_on: true,
twitter_on: true,
opacity: '0.45',
twitter_method: "tweet",
tweet_url: 'http://private-server.ws',
tweet_text: 'Just tried out this awesome plugin Social Traffic Pop - Its Amazing!',
onClick: 'example-class'
});
});
</script>
I have here two .js files and one .css, if you need this files i can send you a DL Link via pm.
leonor