Jump to content

thomasbubi

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About thomasbubi

  • Rank
    Newbie
  1. Hello, I did some performance optimizations on our website and i discovered a bottleneck which originates from how a form build with FormBuilder is embedded into the site. We have a navigation bar on the website. Inside the bar, there is a option to open the contact form, which is then opened as an overlay over the current page. To achieve this, the form is rendered in ProcessWire's _init.php and then inserted under the <main> tag. This happens on every page the user views and unfortunately FormBuilder seems to have ugly dependencies like jQuery 1.11.1 which is inserted into the <head> of the document, which has negative effects on performance. I like the idea of openening the form in an overlay, but I would like to change the code so the form is only rendered when the user clicks on "Contact" in the navigation bar, maybe using an iframe. How would I do this? Thanks a lot!
×
×
  • Create New...