Posted By

rc2789 on 11/22/10


Tagged

textmate facebook


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

elpop


Facebook : show to fans, hide from non-fans


 / Published in: Other
 

  1. <style type="text/css" media="screen">
  2.  
  3. #wrapper {
  4. width:520px;
  5. margin:0 auto; border:0; padding:0;
  6. position:relative;
  7. }
  8. #non-fans {
  9. width:520px;
  10. position:absolute; top:0; left:0;
  11. }
  12.  
  13. </style>
  14.  
  15.  
  16. <div id="wrapper">
  17. <fb:visible-to-connection>
  18. <!--FANS-ONLY CONTENT-->
  19. <fb:else>
  20. <div id="non-fans"><!--CONTENT FOR NON-FANS--></div>
  21. </fb:else>
  22. </fb:visible-to-connection>
  23. </div>
  24.  
  25.  

Report this snippet  

You need to login to post a comment.