I believe this is at the root of the problem:

     
http://community.developer.motorola.com/mtrl/board/message?board.id=Android_Development&message.id=314

The simplest solution is still to anchor the dialog to the left edge
of the browser window.

This is my webpage:

<body onload='javascript:load()'>
<div style='width: 300px'>
<div class='links' id='linkspart' style='font: xx-small;'></div>
<div id='content'></div>
<div id="mydialog"></div>
</div>

this is the position call:
$("#mydialog").dialog({ position: 'left' });





On Nov 19, 9:07 am, Todd Chambery <[email protected]> wrote:
> Hi all,
> I have a dialog for a 320ox web page that displays outside the
> "viewport" (requires the viewer to drag the screen to see it).
>
> I have added the line
>
> $('#mydialog'). dialog('option', 'position', 'left')
>
> But it still shows up to the right of the screen.
>
> I should mention this only happens when viewed in the android browser
> (but that's the only place this sop will be used).
>
> function show_dialog(title, content) {
> $("#mydialog").html(content);
> $('#mydialog').dialog('option', 'title', title);
> $("#mydialog").dialog( {
> modal : true,
> autoOpen : false,
> title : title});
>
> $("tr[class='detail'][class!='header']:even").addClass("even_row");
> //$(".editinplace").editInPlace({});
> $("#mydialog").dialog('open');
> $("tr[class='detail']:even").removeClass("even_row");
>
> return false;
>
>
>
> }

--

You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=.


Reply via email to