doubt in popup position setting by using popup.js

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

doubt in popup position setting by using popup.js

Rohit Jain-2
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
Reply | Threaded
Open this post in threaded view
|

Re: doubt in popup position setting by using popup.js

Rohit Jain-2
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 <[hidden email]>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
>