Knowledge Base support case for AllWebMenus,  abstracted and stripped of all user’s private info.


Initial Email From:
User
Initial Email Subject:cannot add Facebook 'Like' Button
Support Case Month: February 2013

My client has asked that I put a 'like' button on her navigation.  She has one left and one bottom set of navigation buttons.  I went to facebook and they handed me code but when I try to put it in the menu, the 'like' button does not show - tried just about every way I could think of.  there is nothing in the help that helps. 

Here is all the code given to me by Facebook: have no idea and do not want to put in each and every page on the site if I can add to menu.

<div id="fb-root"></div>

<script>(function(d, s, id) {

  var js, fjs = d.getElementsByTagName(s)[0];

  if (d.getElementById(id)) return;

  js = d.createElement(s); js.id = id;

  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";

  fjs.parentNode.insertBefore(js, fjs);

}(document, 'script', 'facebook-jssdk'));</script>

<div class="fb-like" data-href="{URL REMOVED}" data-send="false" data-width="120" data-show-faces="true" data-font="arial"></div>

<iframe src="//www.facebook.com/plugins/like.php?href="{URL REMOVED}" allowTransparency="true"></iframe>

Reply From: Likno Customer Support

Hello,

Please try the following:

<iframe src="{URL REMOVED}" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:180px; height:30px;" allowTransparency="true"></iframe>

But make sure that you turn your menu item into the “Full HTML” mode:

Full HTML mode menu item

Best Regards,
Kostas
Likno Customer Support
www.likno.com
Powerful javascript menus (CSS menus/drop-down menus/sliding menus), web trees, buttons, tabs, modals, tooltips, accordions, scrollers, designs for your websites!