You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Rohit Jain <ro...@gmail.com> on 2010/01/12 07:08:02 UTC
doubt in popup position setting by using popup.js
Hello All,
I am trying to use popup.js for rederning popup.
but popup are rendered on its default position, I want to changed its
position
please suggest me how can I set custom position of popup by using popup.js
for rendering popup I am using following code
new Popup('popupBox','popupLink', {modal: true, position: '', trigger:
'click'})
I tried to understand popup.js code but unable to get following Regular
Expression that used in condition
if (mo =
this.options.position.match(/^\s*([^\s,]+)\s*,\s*([^\s,]+)\s*$/)) {
it used in get_popup_position() function of popup class.
Thanks in Advance
Thanks & Regards
--
Rohit Jain
Re: doubt in popup position setting by using popup.js
Posted by Rohit Jain <ro...@gmail.com>.
Hello All,
Please lets me know if my question not clear and if there more detail
required.
Still I am facing same problem when working with popup .js.
I can't set specific position of popup.
Thanks & Regards
--
Rohit Jain
On Tue, Jan 12, 2010 at 11:38 AM, Rohit Jain <ro...@gmail.com>wrote:
> Hello All,
>
> I am trying to use popup.js for rederning popup.
> but popup are rendered on its default position, I want to changed its
> position
> please suggest me how can I set custom position of popup by using popup.js
> for rendering popup I am using following code
>
> new Popup('popupBox','popupLink', {modal: true, position: '', trigger:
> 'click'})
>
> I tried to understand popup.js code but unable to get following Regular
> Expression that used in condition
>
> if (mo =
> this.options.position.match(/^\s*([^\s,]+)\s*,\s*([^\s,]+)\s*$/)) {
>
> it used in get_popup_position() function of popup class.
>
> Thanks in Advance
>
> Thanks & Regards
> --
> Rohit Jain
>