Results 1 to 5 of 5

Thread: Formauto + Lightview popup

  1. #1

    Default Formauto + Lightview popup

    Hello, I have a problem, again.
    I made my Form to be shown in popup window (http://www.sohtanaka.com/web-design/css ... yle-popup/). I made it work, everythink ok, but the problem is when I don't fill form and press the submit button popup close, the same think if i fill form. Now i'f I don't fill the form, press submit, it close, and then I again press the form link it popup, but it's says that i must fill the form. So I wan't somehow make it work that when you click submit the popup doesn't close but return value either please fill the form or you successfuly send the form, and you can close it manuly by the close button.

    Any idea how to fix that think?

    Sorry for my bad English.
    Web design agency - EDsolution.si Izdelava spletnih strani

  2. #2

    Default Re: Formauto + Lightview popup

    Ok let me use the other words.

    I have link in index.tpl file with href like this: more

    So when I click the link More the popup opens(with content example.html)The problem is how do I call the form in example.html ? I tested it just with {{insert_article::31}} but no success.

    p.s. This is the different script like one before.
    Web design agency - EDsolution.si Izdelava spletnih strani

  3. #3
    Community-Moderator
    Join Date
    06-10-09.
    Location
    Bad Segeberg, Germany
    Posts
    16

    Default Re: Formauto + Lightview popup

    Try this:

    Create a new page layout (copy the page layout which you are using for the page "example") and copy the following code into the additional <head>-tags:
    Code:
    <script type="text/javascript">
            <!--
            function closeBox()
            {
                    var url=self.location;
    
                    if(top.location != url)
                            top.location = url;
            }
    
          closeBox();
    
        //-->
    </script>
    Then assign this page layout to the the site "example".

    Hope it works... :geek:
    Stefan

  4. #4

    Default Re: Formauto + Lightview popup

    OK I fixed with iframe and little javascript. Thanks anyway
    Web design agency - EDsolution.si Izdelava spletnih strani

  5. #5
    User
    Join Date
    12-09-09.
    Location
    Russia, Moscow
    Posts
    48

    Default Re: Formauto + Lightview popup

    Wotanskrieg, i have the same trouble. May be MOOdalBOX usage will solve this problem?
    like this http://www.e-magine.ro/web-dev-and-design/36/moodalbox/

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •