This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » plugins » Javascript plugins » sfLightWindowPlugin: where i should define the size of a modal window?
sfLightWindowPlugin: where i should define the size of a modal window? [message #86124] Fri, 02 October 2009 20:06 Go to next message
tirengarfio  is currently offline tirengarfio
Messages: 64
Registered: March 2009
Member
Hi,

i have installed sfLightwindowPlugin. I got showing a modal window with a form inside, but i dont know how to define the window size..

Here you have the code of the form:

<form id="sample-form" name="sample-form">
		<ul style="list-style-type: none;margin: 0; padding: 0;">
			<li>
			
            </li>
            <li>
				<input id="name" name="name" type="text" value="What is your name?" />
			</li>
			<li>
        <a class="lightwindow_action" style="line-height: 100%;" rel="submitForm" params="lightwindow_form=sample-form" href="/hello.php">
        <button>Submit</button>
        </a>
        or
        <a class="lightwindow_action" rel="deactivate" style="color: blue;" href="#">Cancel</a>
			</li>
		</ul>
</form>


Any idea?

Ciao


Desde Madrid...
Re: sfLightWindowPlugin: where i should define the size of a modal window? [message #86225 is a reply to message #86124 ] Mon, 05 October 2009 15:00 Go to previous message
tirengarfio  is currently offline tirengarfio
Messages: 64
Registered: March 2009
Member
Just in the helper to create the link:

<?php echo lw_link('<strong>Send</strong>', 'sfLightWindow/form', 'width=321 height=157 class=page-options') ?>


Desde Madrid...
Previous Topic:FCKeditor not working after deploying project
Next Topic:[jQuery] How to use the Tabs?
Goto Forum:
  

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software