nodeschool / tehran

Tehran Nodeschool
MIT License
4 stars 1 forks source link

Evand embed code #1

Open mohebifar opened 8 years ago

mohebifar commented 8 years ago

@behrad I see you're using Evand as the ticketing system. For your information, Evand also offers a piece of JS code to embed the RSVP form into your HTML.

The code for the current event is:

<div id="evand"></div><script type="text/javascript">var evand=evand||{};evand.eventSlug='%DA%AF%D8%B1%D8%AF%D9%87%D9%85%D8%A7%DB%8C%DB%8C-%DA%A9%D8%A7%D8%B1%D8%A8%D8%B1%D8%A7%D9%86-%D9%86%D8%AF-%D8%AC%DB%8C-%D8%A7%D8%B3-%D8%A7%DB%8C%D8%B1%D8%A7%D9%86',function(){var t=document.createElement("script");t.type="text/javascript",t.async=!0,t.src=("https:"==document.location.protocol?"https://":"http://")+"static.evand.ir/embed/script.js";var e=document.getElementsByTagName("script")[0];e.parentNode.insertBefore(t,e)}();</script>

Feel free to close this issue if you don't intent to use this feature.

behrad commented 8 years ago

Great to hear it from you, and thank you for your contribution @mohebifar I tested above snippet you proposed however had issues about styling... will see if I can fix it :) Feeling happy to use your nice work evand.ir :+1: