Width bug

33 views
Skip to first unread message

Aditya Chandok

unread,
Jun 21, 2012, 7:08:41 AM6/21/12
to boxy-...@googlegroups.com
Hi,

I am having a strange problem with boxy wherein, even when I specify the width of the boxy dialog I am about to open via javascript, the dialog that opens is actually smaller than what was specified. Due to this the buttons which are  on the right side or the bottom of the dialog are hidden and users cannot proceed to do what they wanted to.

The code to open the dialog is as follows - 

uploadbox = new Boxy($("#upload"), { modal: true, unloadOnHide: false, top: "10px", width: "745px" });

After the dialog has opened in chrome (19.0.1084.56 m) on windows 7 professional, I noticed that the width of the dialog was only 645px. A screenshot has been attached to this post.

Has this been experienced by anyone else or even better is there a fix already available?


not showing full window..png

Gerardo Pacheco Chalchis

unread,
Jun 21, 2012, 8:03:00 AM6/21/12
to boxy-...@googlegroups.com
mm I see two modal windows or am I wrong




--
You received this message because you are subscribed to the Google
Groups "boxy" group.
To post to this group, send email to boxy-...@googlegroups.com
To unsubscribe from this group, send email to
boxy-plugin...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/boxy-plugin?hl=en



--
Gerardo Pacheco

Aditya Chandok

unread,
Jun 21, 2012, 8:06:27 AM6/21/12
to boxy-...@googlegroups.com
Umm no, the other window is opened inside a flash component which is being loaded inside boxy. Its not opened using boxy.


On Thursday, 21 June 2012 17:33:00 UTC+5:30, gerardo wrote:
mm I see two modal windows or am I wrong


On Thu, Jun 21, 2012 at 6:08 AM, Aditya Chandok <aditya....@gmail.com> wrote:
Hi,

I am having a strange problem with boxy wherein, even when I specify the width of the boxy dialog I am about to open via javascript, the dialog that opens is actually smaller than what was specified. Due to this the buttons which are  on the right side or the bottom of the dialog are hidden and users cannot proceed to do what they wanted to.

The code to open the dialog is as follows - 

uploadbox = new Boxy($("#upload"), { modal: true, unloadOnHide: false, top: "10px", width: "745px" });

After the dialog has opened in chrome (19.0.1084.56 m) on windows 7 professional, I noticed that the width of the dialog was only 645px. A screenshot has been attached to this post.

Has this been experienced by anyone else or even better is there a fix already available?


--
You received this message because you are subscribed to the Google
Groups "boxy" group.
To post to this group, send email to boxy-...@googlegroups.com
To unsubscribe from this group, send email to

For more options, visit this group at
http://groups.google.com/group/boxy-plugin?hl=en



--
Gerardo Pacheco

Gerardo Pacheco Chalchis

unread,
Jun 21, 2012, 8:45:48 AM6/21/12
to boxy-...@googlegroups.com
try not to px (pixel)


For more options, visit this group at
http://groups.google.com/group/boxy-plugin?hl=en



--
Gerardo Pacheco

Gerardo Pacheco Chalchis

unread,
Jun 21, 2012, 8:49:42 PM6/21/12
to boxy-...@googlegroups.com
I assign width and height with css

example

jQuery('<div/>',{
           
            id: modalName,       
            name: modalName,
            css: ({                           
                    "display": "none",
                    "background-color": "#FFFFFF",
                    "padding": "0px",
                    "margin": "0px",           
                    "height": altoWin,
                    "width": anchoWin,
                    "overflow":"hidden"               
            })          
        }).appendTo('body'); //
           
       
        //se crea el modal  
       new Boxy(jQuery('#'+modalName),{title: modalTitulo, draggable: false, modal: modalblock, closeable: modalclose, closeText: "<img src='/librerias/wmodal/images/close_modal.png' border='0' title='cerrar' alt='cerrar' />"});







*******************


On Thu, Jun 21, 2012 at 6:08 AM, Aditya Chandok <aditya....@gmail.com> wrote:

--
You received this message because you are subscribed to the Google
Groups "boxy" group.
To post to this group, send email to boxy-...@googlegroups.com
To unsubscribe from this group, send email to
boxy-plugin...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/boxy-plugin?hl=en



--
Gerardo Pacheco
Reply all
Reply to author
Forward
0 new messages