xcoderx Posted May 17, 2010 Share Posted May 17, 2010 how to do the twitter follow me option with an twitter image which stay static either on the right or feft or bottom of a site but outside of the main template? it has to do with css but how could someone tell? Link to comment https://forums.phpfreaks.com/topic/202059-a-static-twitter-follow-me-link/ Share on other sites More sharing options...
haku Posted May 17, 2010 Share Posted May 17, 2010 Got a link to an example? I don't use Twitter myself, and I'm probably not the only one. Link to comment https://forums.phpfreaks.com/topic/202059-a-static-twitter-follow-me-link/#findComment-1059615 Share on other sites More sharing options...
xcoderx Posted May 17, 2010 Author Share Posted May 17, 2010 somethis like this http://modernfurnituretheme-ntb.blogspot.com/ but also some nice ones i saw with hover when one put cursor then the image saw follow me, unable to find that Link to comment https://forums.phpfreaks.com/topic/202059-a-static-twitter-follow-me-link/#findComment-1059617 Share on other sites More sharing options...
haku Posted May 17, 2010 Share Posted May 17, 2010 They have set that with position:fixed. Link to comment https://forums.phpfreaks.com/topic/202059-a-static-twitter-follow-me-link/#findComment-1059648 Share on other sites More sharing options...
xcoderx Posted May 17, 2010 Author Share Posted May 17, 2010 ok i did it this way, <div id="facebook"> <a href="[insert your link to linked in here]"><img src="style/images/facebook.png" alt="View our linked in profile" /></a> </div> <div id="twitter"> <a href="[insert your link to linked in here]"><img src="style/images/twitter.png" alt="View our linked in profile" /></a> </div> the css #twitter { top; position: fixed; top: 250px; width: 48px; height: 48px; z-index: auto; cursor: pointer; left: 0pt; color: transparent; } #facebook { top; position: fixed; top: 250px; width: 48px; height: 48px; z-index: auto; cursor: pointer; right: 0pt; color: transparent; border:0px; } where is the right place to place the div? above the header div or after the end of footer? Link to comment https://forums.phpfreaks.com/topic/202059-a-static-twitter-follow-me-link/#findComment-1059728 Share on other sites More sharing options...
haku Posted May 18, 2010 Share Posted May 18, 2010 It doesn't really matter, though for SEO sake, at the end of the document is better, since you want your content as close to the start of your document as possible. Link to comment https://forums.phpfreaks.com/topic/202059-a-static-twitter-follow-me-link/#findComment-1059835 Share on other sites More sharing options...
xcoderx Posted May 18, 2010 Author Share Posted May 18, 2010 done that bro thanks :-) Link to comment https://forums.phpfreaks.com/topic/202059-a-static-twitter-follow-me-link/#findComment-1059967 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.