stuffing twitter into a footer

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Vegan
Forum Regular
Posts: 574
Joined: Fri Sep 05, 2008 3:34 pm
Location: Victoria, BC
Contact:

stuffing twitter into a footer

Post by Vegan »

right now I have facebook working more or less the way i want

so now i wanted to bolt on twitter so that a user can tweet a page they are reading

i noticed some documentation on twitters developer but it was not nearly as good as facebook for clarity

this is what I am using for facebook, the rest is in a different file

Code: Select all

<div style="position: relative; margin: 5; padding: 0; border: 0px;">
	<script type="text/javascript">document.write('<div  class="fb-like" data-href="' + self.location.href + '" data-layout="standard" data-action="recommend" data-show-faces="false" data-share="true"></div>')
</script>
</div>
this is simply left aligned so I was thinking, can I squeeze it in on the left or right side of this easily?

any code sample to cut and paste?
Hardcore Games™ Legendary is the Only Way to Play™
My site is powered by LAMP
User avatar
Vegan
Forum Regular
Posts: 574
Joined: Fri Sep 05, 2008 3:34 pm
Location: Victoria, BC
Contact:

Re: stuffing twitter into a footer

Post by Vegan »

seems to be rather tricky to get the buttons in a horizontal row but the vertical stack seems to be at least until the pike grows taller
Hardcore Games™ Legendary is the Only Way to Play™
My site is powered by LAMP
Post Reply