Erroneous opening of a floating window from html5lightbox in wordpress



  • I'm trying to get a shape in a floating window on the wordpress reference using some of that code:

    <a href="#myDiv" class="html5lightbox" data-width=350 data-height=320>тут ссылка вызывающая окно</a>
    

    Form code:

    <div id="myDiv" style="display:none;">
      <form>
         Тут сама форма
      </form>
    </div>
    

    All violets are connected. When applied to the reference, there is no form but a reduced window of the page (all contents) with which the window is created.

    As soon as you call the form, Div?

    The violin instruction was read on the website: https://html5box.com/html5lightbox/

    Did you miss something?



  • Maybe your problem is a syntax error? You have it written.

    <div="myDiv"... пропущено id. 
    

    Not enough information to check. As a frontline developer, I wouldn't advise you to use such flames. Platinum fashion window for the site sounds terrible. Look towards simple free and complete decisions, like http://fancyapps.com/fancybox/




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2