Membenamkan Acara Lalso

Tambahkan acara anda ke laman web dengan mudah.

Standard Embed

Tambahkan acara anda ke mana-mana halaman web dengan iframe. Menyediakan saiz semula automatik dengan sokongan ketinggian dinamik.

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 boleh salin kod siap 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 anda
  2. 2Click the "Share Link" button
  3. 3Copy the code from the "Embed Code" section
  4. 4Paste it into your website or Canva design