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.
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.
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
Re: Formauto + Lightview popup
OK I fixed with iframe and little javascript. Thanks anyway ;)
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/