Re: Social Share Buttons?
Hya spydie, to be honest Im not that bothered about having a dropdown and only really want the facebook and twitter buttons, possibly a couple of others?
Here is a small bit of javascript, how would I insert this into the forum topic?
I obviously don't need the email part so would get rid of that bit.
Or is there a piece of code I could use via my own files?
I'm not a coder so all looks rocket science to me
LOL
<!-- AddToAny BEGIN -->
<div class="a2a_kit a2a_default_style">
<a class="a2a_dd" href="http://www.addtoany.com/share_save">Share</a>
<span class="a2a_divider"></span>
<a class="a2a_button_facebook"></a>
<a class="a2a_button_twitter"></a>
<a class="a2a_button_email"></a>
</div>
<script type="text/javascript" src="http://static.addtoany.com/menu/page.js"></script>
<!-- AddToAny END -->
EDIT:
Thanks KugeLSichA ill try that
Im a bit stuck on this bit, not sure what I need to do now?
Quote:
you may need to edit the code to work with the vietopic urls... i think {U_VIEW_TOPIC_BASE} is the var for this...
This is with the code added.
{IMG_TBL}<div class="forumline nav-div">
<p class="nav-header"><a href="{U_PORTAL}">{L_HOME}</a>{NAV_SEP}<a href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC}</p>
<div class="nav-links">
<div class="nav-links-left">{CURRENT_TIME} • {S_TIMEZONE}</div>
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a href="http://www.addthis.com/bookmark.php?v=250&pubid=ra-4d96115948e7a7c8" class="addthis_button_compact">Share</a>
<span class="addthis_separator">|</span>
<a class="addthis_button_preferred_1"></a>
<a class="addthis_button_preferred_2"></a>
<a class="addthis_button_preferred_3"></a>
<a class="addthis_button_preferred_4"></a>
</div>
<script type="text/javascript">var addthis_config = {"data_track_clickback":true};</script>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4d96115948e7a7c8"></script>
<!-- AddThis Button END --> <!-- IF S_SHOW_ICONS -->
<a href="{U_VIEW_OLDER_TOPIC}"><img src="{IMG_LEFT}" alt="{L_VIEW_PREVIOUS_TOPIC}" title="{L_VIEW_PREVIOUS_TOPIC}" /></a>
<a href="{U_RECENT}"><img src="{IMG_RECENT_TOPICS}" alt="{L_RECENT}" title="{L_RECENT}" /></a>
{S_WATCH_TOPIC_IMG}
{S_MARK_AR_IMG}
<!-- IF not S_BOT -->{S_KB_MODE_IMG}<!-- ENDIF -->
<a href="{DOWNLOAD_TOPIC}" title="{L_DOWNLOAD_TOPIC}"><img src="{IMG_FLOPPY}" alt="{L_DOWNLOAD_TOPIC}" title="{L_DOWNLOAD_TOPIC}" /></a>
<!-- IF S_LOGGED_IN --><a href="{U_BOOKMARK_ACTION}"><img src="{IMG_BOOKMARK}" alt="{L_BOOKMARK_ACTION}" title="{L_BOOKMARK_ACTION}" /></a><!-- ENDIF -->
<!-- IF U_TOPIC_VIEWED --><a href="{U_TOPIC_VIEWED}"><img src="{IMG_VIEWED}" alt="{L_TOPIC_VIEWED}" title="{L_TOPIC_VIEWED}" /></a><!-- ENDIF -->
<a href="{U_PRINT}" title="{L_PRINT}"><img src="{IMG_PRINT}" alt="{L_PRINT}" title="{L_PRINT}" /></a>
<a href="{U_TELL}" title="{L_TELL}"><img src="{IMG_EMAIL}" alt="{L_TELL}" title="{L_TELL}" /></a>
<a href="{U_VIEW_NEWER_TOPIC}"><img src="{IMG_RIGHT}" alt="{L_VIEW_NEXT_TOPIC}" title="{L_VIEW_NEXT_TOPIC}" /></a>
<!-- ENDIF -->
<!-- IF S_SHOW_LINKS -->
<a href="{U_RECENT}" title="{L_RECENT}" />{L_RECENT}</a> •
<a href="{U_PRINT}" title="{L_PRINT}">{L_PRINT}</a> •
<a href="{U_TELL}" title="{L_TELL}">{L_TELL}</a> •
<!-- IF S_LOGGED_IN --><a href="{U_BOOKMARK_ACTION}" class="genmed">{L_BOOKMARK_ACTION}</a> • <!-- ENDIF -->
<!-- IF U_TOPIC_VIEWED --><a href="{U_TOPIC_VIEWED}" class="genmed">{L_TOPIC_VIEWED}</a> • <!-- ENDIF -->
{S_WATCH_TOPIC} •
{U_MARK_ALWAYS_READ} •
<a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a> •
<a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a>
<!-- ENDIF -->
</div>
</div>{IMG_TBR}