olark service using with rails and haml / использование Olark сервиса с Rails и Haml

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

Copy this code and paste it in your HTML
  1. %script{:type=>"text/javascript"}
  2. var hblProto = document.location.protocol == 'https:' ? "https:" : "http:";
  3. document.write(unescape('%3Cscript src=\'' + hblProto + '//static.olark.com/js/wc.js\' type=\'text/javascript\'%3E%3C/script%3E'));
  4. =link_to('Olark Livehelp','http://olark.com/#9950-456-10-7766',:id=>"hbl_code")
  5. %script{:type=>"text/javascript"}
  6. wc_init()

URL: http://www.olark.com/portal/

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.