Advanced Layer Popup Support Product Page

Answered

Popup Layer Positioning

Asked 11 Jul 2009 01:18:29
1
has this question
11 Jul 2009 01:18:29 Sam Low posted:
Is there any way to change the popup layer position to relative to the item being clicked? I understand one can place the popup layer in one of six positions, but I want the popup layer to be placed 5px right and 5 px below the image being selected. Am I out of luck?

Replies

Replied 13 Jul 2009 11:15:10
13 Jul 2009 11:15:10 Miroslav Zografski replied:
Hello Sam,

You can manage with precise the position of the ALP window by replacing some attributes in code view as follows:
In your link or element on which you have applied ALP review the code. Should look much like:
<a href="javascript:void(0);" onclick="dmxAdvLayerPopup('Update','untitled.asp','update','','OS_Look','left','top',300,200,0,true,false,false,80,'','Linear',1,true,'','Linear',1,true,'',1,5,true,false,'#FFFFFF');return document.MM_returnValue">ALABALA</a>

See where 'left','top' statement apear in onClick statement.
it can be also 'center', 'bottom' and 'right' depending on which position you have selected for ALP window in UI.

Lets say you have selected 'left','top' position. You go in code view in DW and instead of left and top you enter in some numeric values - 200 instead of left and 300 instead of top. This will position the ALP at 200px to the left and 300 px from the top.
This way you can set the required position of your ALP.

Be aware that this change will be overridden if you open the ALP UI and click OK.

Regards,
Replied 13 Jul 2009 23:58:48
13 Jul 2009 23:58:48 Sam Low replied:
Thanks for the tip. Alas, it does not work. I was able to style the div created to move the position, but since the div is written after the final div on the page, it pushes the ALP down to below the footer!

Oh well, $100 down the drain as this does not function as needed!
Replied 28 Nov 2009 23:48:32
28 Nov 2009 23:48:32 Roxana Castaneda replied:
I would like to position the popup layer inside a specific div. Is that possible?
Replied 29 Nov 2009 11:54:15
29 Nov 2009 11:54:15 Patrick Julicher replied:
Hi Roxana,

Could you be more specific on what you are trying to achieve?

Kind regards, Patrick
Replied 30 Nov 2009 11:26:02
30 Nov 2009 11:26:02 Miroslav Zografski replied:
Hello Roxana,

ALP is set to be a global popup and it needs a bit of css and javascript tweaking before to be set to be opened in an element of your choice. The workaround is to have it in an iFrame element.
I would advise you to use a Advanced Tooltip instead.

Regards,
Replied 23 Aug 2010 03:00:05
23 Aug 2010 03:00:05 Mark Mardon replied:
Has this ever been resolved/fixed. The instructions for positioning the ALP don't seem to work.

Reply to this topic