1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Open overlay via form in an overlay

Discussion in 'XenForo Development Discussions' started by Syndol, Apr 18, 2012.

  1. Syndol

    Syndol Guest

    I am trying to open a template in an overlay by submitting a form which is already in an overlay.
    Doing this via a link is no problem, but I cannot get a form to return an overlay. After staring at code for hours now, I am so confused I'm hoping someone could point me back in the right direction :)
  2. Floris

    Floris Guest

    Did you consider updating the existing page with the result, perhaps via ajax?
    (since it's in an overlay, if js is turned off, they get the no-overlay version anyway)
  3. Syndol

    Syndol Guest

    Thanks for the reply Floris.
    Yes I was hoping to avoid that as I have to register the form with jQuery then and am also then limited to the size of my first overlay.
    I'm sure I can change the size via jQuery but I'm not that good with it.
  4. Syndol

    Syndol Guest

    Replacing the overlay using js is not working for me as I need it.
    So back to the original question if anyone knows the answer.

Share This Page