RTML and facebook like button Fin


/ Published in: Lisp
Save to your folder(s)



Copy this code and paste it in your HTML
  1. DIV id mainid
  2. WHEN AND
  3. NONEMPTY header
  4. POSITION element :display-text-title
  5. sequence headel
  6. TAG class WHEN AND
  7. EQUALS value1 align
  8. value2 :center
  9. NOT CALL :yhst-16600815412482-has-price
  10. "contenttitle-center"
  11. id headerid
  12. tag "h1"
  13. TEXT header
  14. WHEN CALL :has-price.
  15. TEXT
  16.  
  17. "<div id=\"fb-root\"></div><script language=\"javascript\">if(runInitFB) {window.fbAsyncInit = function() {FB.init({appId: \"25966453290\",xfbml: true});};(function() {var e = document.createElement('script'); e.async = true;e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js';document.getElementById('fb-root').appendChild(e);}());}</script><div class=\"fbDiv\"><fb:like show_faces='false' layout='standard' width='300px' href='http://YOURDOMAIN.COM/"
  18.  
  19. TEXT AS-STRING id
  20. TEXT
  21.  
  22. ".html'></fb:like></div>"
  23.  
  24. WHEN OR
  25. NONEMPTY @code
  26. CALL :yhst-16600815412482-has-price
  27. CALL :yhst-16600815412482-display-item
  28. align
  29. headel
  30. imgclass
  31. WHEN OR
  32. NONEMPTY text
  33. image
  34. CALL :yhst-16600815412482-display-paras
  35. textid
  36. text
  37. image
  38. h
  39. w
  40. align
  41. area
  42. headel
  43. imgclass
  44. LINEBREAK clear :all

URL: http://e-commsolution.com/facebook-like-button/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.