In user.html

add lines:

<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/
themes/{{=response.theme or "smoothness"}}/jquery-ui.css"
rel="stylesheet" type="text/css" />
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/
jquery-ui.min.js" type="text/javascript"></script>
<script language="javascript">
$(document).ready(function(){
        $('#web2py_user_form').dialog({autoOpen : true, modal : true, width :
'auto'});
})
</script>

change line:

<div id="web2py_user_form" style='display:none'>

On Jan 17, 5:56 pm, Annet <anneve...@googlemail.com> wrote:
> I would like the default/user function's view default/user.html to
> open in a modal form dialog as in jQuery 
> UI:http://jqueryui.com/demos/dialog/#modal-form
>
> Does one of you have example of how to get this to work?
>
> Kind regards,
>
> Annet.

Reply via email to