Menyematkan Acara Lalso

Tambahkan acara Anda ke situs web dengan mudah.

Standard Embed

Tambahkan acara Anda ke halaman web mana pun dengan iframe. Menyediakan penyesuaian ukuran otomatis dengan dukungan tinggi dinamis.

Embed Code

<iframe data-lalso-src="https://lal.so/embed/DAVETIYE_SLUG" width="100%" height="800" frameborder="0" marginheight="0" marginwidth="0" title="RSVP" scrolling="auto" loading="lazy"></iframe>
<script>var d=document,w="https://lal.so/widgets/embed.js",v=function(){"undefined"!=typeof Lalso?Lalso.loadEmbeds():d.querySelectorAll("iframe[data-lalso-src]:not([src])").forEach((function(e){e.src=e.dataset.lalsoSrc}))};if("undefined"!=typeof Lalso)v();else if(d.querySelector('script[src="'+w+'"]')==null){var s=d.createElement("script");s.src=w,s.onload=v,s.onerror=v,d.body.appendChild(s);}</script>

Note: INVITATION_SLUG dengan alamat acara Anda sendiri. Anda dapat menyalin kode siap pakai dengan "Embed Code" dari Dashboard.

Parameters

You can add the following parameters to the URL:

ParameterDescription
?dynamicHeight=1Enables dynamic height. The iframe automatically resizes based on content.

Usage Example

Usage with dynamic height:

<iframe data-lalso-src="https://lal.so/embed/DAVETIYE_SLUG?dynamicHeight=1"
  width="100%"
  height="800"
  frameborder="0"
  marginheight="0"
  marginwidth="0"
  title="RSVP"
  scrolling="auto"
  loading="lazy">
</iframe>
<script>var d=document,w="https://lal.so/widgets/embed.js",v=function(){"undefined"!=typeof Lalso?Lalso.loadEmbeds():d.querySelectorAll("iframe[data-lalso-src]:not([src])").forEach((function(e){e.src=e.dataset.lalsoSrc}))};if("undefined"!=typeof Lalso)v();else if(d.querySelector('script[src="'+w+'"]')==null){var s=d.createElement("script");s.src=w,s.onload=v,s.onerror=v,d.body.appendChild(s);}</script>

Best Practices

  • Enable dynamic height when using in Canva
  • Use width="100%" for responsive design
  • Add loading="lazy" for faster loading

Quick Usage from Dashboard

  1. 1Pilih acara Anda di Dashboard
  2. 2Click the "Share Link" button
  3. 3Copy the code from the "Embed Code" section
  4. 4Paste it into your website or Canva design