xxforms:dialog and scroll bars?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

xxforms:dialog and scroll bars?

Duane Gran-2
I'm creating a rather large dialog with xxforms:dialog.  Is there a  
way to enable scroll bars on the new dialog window?  If it is too  
large then you can't reach the top or bottom of the dialog.  At least  
that is my experience so far with Safari on the Mac.

Duane



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: xxforms:dialog and scroll bars?

Duane Gran-2
As a follow up, I believe the implementation in OPS is using the  
Yahoo UI Dialog library:

   http://developer.yahoo.com/yui/container/dialog/index.html

I don't see any way to enable scroll bars for a lengthy dialog, but I  
do see a "constraintoviewport" property.  I'm not sure if this would  
solve the problem, but suggestions are most welcome.

Duane

On Nov 8, 2006, at 11:07 AM, Duane Gran wrote:

> I'm creating a rather large dialog with xxforms:dialog.  Is there a  
> way to enable scroll bars on the new dialog window?  If it is too  
> large then you can't reach the top or bottom of the dialog.  At  
> least that is my experience so far with Safari on the Mac.
>
> Duane
>
>
> --
> You receive this message as a subscriber of the ops-
> [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/ 
> wws



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: xxforms:dialog and scroll bars?

Ryan Puddephatt
Duane,
        Attached is an example which shows a scrolling dialog, it uses the
inline CSS. The dialogs id is test

            #test_c {
                width:612px;
                height: 530px;
            }
           
            #test .bd {
                width:600px;
                height: 500px;
                overflow:auto;
            }

The #test_c is the container element, which has to be fixed in size, because
it currently resizes automatically to the text. In my tests the scroll bar
makes the body content larger, so adding 12px to the width and 30px to the
height solves this.

.bd is the body div within the dialog, which has overflow:auto, creating
scroll bars when needed

Hope this helps

Ryan

Ryan Puddephatt
Software Engineer

Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP

e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108

 

>-----Original Message-----
>From: Duane Gran [mailto:[hidden email]]
>Sent: 09 November 2006 02:57
>To: [hidden email]
>Subject: Re: [ops-users] xxforms:dialog and scroll bars?
>
>As a follow up, I believe the implementation in OPS is using
>the Yahoo UI Dialog library:
>
>   http://developer.yahoo.com/yui/container/dialog/index.html
>
>I don't see any way to enable scroll bars for a lengthy
>dialog, but I do see a "constraintoviewport" property.  I'm
>not sure if this would solve the problem, but suggestions are
>most welcome.
>
>Duane
>
>On Nov 8, 2006, at 11:07 AM, Duane Gran wrote:
>
>> I'm creating a rather large dialog with xxforms:dialog.  Is there a
>> way to enable scroll bars on the new dialog window?  If it is too
>> large then you can't reach the top or bottom of the dialog.  
>At least
>> that is my experience so far with Safari on the Mac.
>>
>> Duane
>>
>>
>> --
>> You receive this message as a subscriber of the ops-
>> [hidden email] mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> ObjectWeb mailing lists service home page: http://www.objectweb.org/ 
>> wws
>
>
>

scrolling-dialog.xhtml (58K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: xxforms:dialog and scroll bars?

Duane Gran-2
Ryan,

This worked perfectly.  Thank you very much.

Duane

On Nov 9, 2006, at 5:04 AM, Ryan Puddephatt wrote:

> Duane,
> Attached is an example which shows a scrolling dialog, it uses the
> inline CSS. The dialogs id is test
>
>             #test_c {
>                 width:612px;
>                 height: 530px;
>             }
>
>             #test .bd {
>                 width:600px;
>                 height: 500px;
>                 overflow:auto;
>             }
>
> The #test_c is the container element, which has to be fixed in  
> size, because
> it currently resizes automatically to the text. In my tests the  
> scroll bar
> makes the body content larger, so adding 12px to the width and 30px  
> to the
> height solves this.
>
> .bd is the body div within the dialog, which has overflow:auto,  
> creating
> scroll bars when needed
>
> Hope this helps
>
> Ryan
>
> Ryan Puddephatt
> Software Engineer
>
> Teleflex Group - IT UK
> 1 Michaelson Square
> Livingston
> West Lothian
> Scotland
> EH54 7DP
>
> e> [hidden email]
> t> +44(0)1506 407 110
> f> +44(0)1506 407 108
>
>
>
>> -----Original Message-----
>> From: Duane Gran [mailto:[hidden email]]
>> Sent: 09 November 2006 02:57
>> To: [hidden email]
>> Subject: Re: [ops-users] xxforms:dialog and scroll bars?
>>
>> As a follow up, I believe the implementation in OPS is using
>> the Yahoo UI Dialog library:
>>
>>   http://developer.yahoo.com/yui/container/dialog/index.html
>>
>> I don't see any way to enable scroll bars for a lengthy
>> dialog, but I do see a "constraintoviewport" property.  I'm
>> not sure if this would solve the problem, but suggestions are
>> most welcome.
>>
>> Duane
>>
>> On Nov 8, 2006, at 11:07 AM, Duane Gran wrote:
>>
>>> I'm creating a rather large dialog with xxforms:dialog.  Is there a
>>> way to enable scroll bars on the new dialog window?  If it is too
>>> large then you can't reach the top or bottom of the dialog.
>> At least
>>> that is my experience so far with Safari on the Mac.
>>>
>>> Duane
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the ops-
>>> [hidden email] mailing list.
>>> To unsubscribe: mailto:[hidden email]
>>> For general help: mailto:[hidden email]?subject=help
>>> ObjectWeb mailing lists service home page: http://www.objectweb.org/
>>> wws
>>
>>
>>
>> <scrolling-dialog.xhtml>
>
> --
> You receive this message as a subscriber of the ops-
> [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/ 
> wws



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws