.
Check the option "Display Custom Buttons"
Add the following code to "Add your custom Button section"
in Large button code section add
=======================================
<script type="text/javascript">
reddit_url = "%%URL%%";
reddit_title = "%%TITLE%%";
</script>
<script type="text/javascript" src="http://www.reddit.com/static/button/button2.js?newwindow=1"></script>
=========================================
in Small button code section add
=========================================
<script type="text/javascript">
reddit_url = "%%URL%%";
reddit_title = "%%TITLE%%";
</script>
<script type="text/javascript" src="http://www.reddit.com/static/button/button1.js?newwindow=1"></script>
==============================================
Second version of the code [Alternative code]
==============================================
in Large button code section add
=======================================
<iframe width="51" scrolling="no" height="69" frameborder="0" src="http://www.reddit.com/static/button/button2.html?width=51&url=%%EURL%%&title=%%TITLE%%"></iframe>
=========================================
in Small button code section add
=========================================
<iframe width="120" scrolling="no" height="22" frameborder="0" src="http://www.reddit.com/static/button/button1.html?width=120&url=%%EURL%%%2F&title=%%TITLE%%"></iframe>
< My Domain Names Generator tool crossed 50,000 page views. If you haven't tried yet, then try it out. />
please post your site address and it would be great if you put the reddit code and keep that activated (only if you can). I will double check the code.
< My Domain Names Generator tool crossed 50,000 page views. If you haven't tried yet, then try it out. />
1:32 pm
never mind it works .. but i have another question
<a href="http://www.reddit.com/submit" onclick="window.location = 'http://www.reddit.com/submit?u.....' + encodeURIComponent(window.location); return false"> <img src="http://www.reddit.com/static/spreddit9.gif" alt="submit to reddit" border="0" /> </a>
id like this one to be my button i have resized the img to fit my blog but i get a disturbing border around it from my theme how can i remove it? and also the button is not aligned correctly in line with twitter facebook +1 its a little down out of sync.
@pflorin -- Please post your site URL only then I will be able to give you the CSS to resolve both the border and the alignment problem.
< My Domain Names Generator tool crossed 50,000 page views. If you haven't tried yet, then try it out. />
8:42 pm
Thanks for this, Sudipto. Here's what I used for my site based on this, I just wanted the Reddit Submit button, and I used the same code for both the large and small button:
=========================================
<a href="http://www.reddit.com/submit" onclick="window.location = 'http://www.reddit.com/submit?url=%%URL%%'; return false"> <img src="http://www.reddit.com/static/spreddit7.gif" alt="submit to reddit" border="0" /> </a>
1 Guest(s)