Share Button (Svejo)
Page 1 of 1
Share Button (Svejo)
"Svejo" (Fresh) is a Bulgarian share network (like Digg for exaple)
I wan't to adapt the code so it can read the curent URL so when i put it as a widget in the portal after every news , the users can share it ?
Here's the code:
http://svejo.net/reception/button
I wan't to adapt the code so it can read the curent URL so when i put it as a widget in the portal after every news , the users can share it ?
Here's the code:
http://svejo.net/reception/button
Last edited by ~PSYDEX~ on September 15th 2009, 11:37 am; edited 1 time in total
Re: Share Button (Svejo)
Come on guys ! It's should looks something like this:
- Code:
<script type="text/javascript">
var path = 'psydex.forums1.net/';
var regexp = new RegExp("^http://(www.)?" + path + "([^/]+)\\.html(\\?.+?)?(#.+?)?$");
svejo_url = 'http://www.' + path + location.href.match( regexp )[2] + '.html';
svejo_bgcolor='FFFFFF';
svejo_skin='compact';
svejo_theme='standard';
</script>
<script src='http://svejo.net/javascripts/svejo_button.js' type='text/javascript'></script>
Similar topics
» Add "svejo" button
» Share Button in this bar!
» I want to add a share button like this
» share us button
» Share button
» Share Button in this bar!
» I want to add a share button like this
» share us button
» Share button
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum