It’s time to show all your talent!

Diego Gronda; ¨Capturing all the energy of the global participant in a design competition like InterCIDEC seems like a wonderful initiative to me.¨Teresa Sapey; “A hotel has to allow people to dream, a house is more serious, but this type of space can allow people to present extravagant proposals.”  Carlos Díez de la Lastra; “Hotels are looking for new ideas that this contest can propose to provide freshness to the hotel sector.” Jorge Pensi; ¨This contest is about generating proposals that do not exist. It is exciting to see how truly innovative projects are presented, not only in form, but also in concept.

The reference hotel design competition

After two editions InterCIDEC is presented in the 3rd call with a defined theme for a space belonging to a hotel lobby / bar. The challenge that this platform represents is a source of ideas for hotel properties that already enjoy real proposals.

The deadline for submitting projects is open until September 26, 2018. Do not wait until the last minute to participate in the opportunities contest. Sign up here.

It's time to show all your talent!

It’s time to show all your talent!

¿Tienes un proyecto profesional entre manos?

En Frajumar acompañamos a interioristas, arquitectos y profesionales del contract en la elección de mobiliario, tapicería y soluciones a medida para espacios con identidad.

🌐
filename.html
<script>
document.addEventListener('DOMContentLoaded', function () {
  const space = document.getElementById('frajumar-video-space');
  const player = document.getElementById('frajumar-video-player');
  const closeButton = document.getElementById('frajumar-video-close');
  const iframe = document.getElementById('frajumar-youtube-player');

  if (!space || !player) {
    return;
  }

  let floatingClosed = false;

  function updateFloatingVideo() {
    const position = space.getBoundingClientRect();

    /*
     * Se minimiza cuando la ubicación original
     * ha desaparecido por la parte superior.
     */
    const videoHasPassed = position.bottom <= 80;

    if (videoHasPassed && !floatingClosed) {
      player.classList.add('is-floating');
    } else {
      player.classList.remove('is-floating');
    }

    /*
     * Al volver a la posición original,
     * permitimos que pueda flotar otra vez.
     */
    if (position.bottom > 80) {
      floatingClosed = false;
    }
  }

  if (closeButton) {
    closeButton.addEventListener('click', function () {
      floatingClosed = true;
      player.classList.remove('is-floating');

      /*
       * Pausa el vídeo de YouTube al cerrarlo.
       */
      if (iframe && iframe.contentWindow) {
        iframe.contentWindow.postMessage(
          JSON.stringify({
            event: 'command',
            func: 'pauseVideo',
            args: []
          }),
          '*'
        );
      }
    });
  }

  window.addEventListener('scroll', updateFloatingVideo, {
    passive: true
  });

  window.addEventListener('resize', updateFloatingVideo);

  updateFloatingVideo();
});
</script>
Share

Posts Related