You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

How to Position Overlay precisely over Over Elements Created Aug 14, 2010

This thread is solved

Views: 2651     Replies: 6     Last reply Apr 7, 2011  
You must login first before you can use this feature

jack_s

Posts: 4

Registered:
Apr 26, 2010

How to Position Overlay precisely over Over Elements

Posted: Aug 14, 2010

Despite playing with the CSS and configuration object I can't consistently position an overlay over a page element. The problem seems to be that it positions itself relative to the screen viewport rather than the HTML page.

I can position the overlay OK if the page hasn't been vertically scrolled - but if it's scrolled and the page refreshed the overlay is rendered relative to the visible page area and thus out of alignment with element it's supposed to be positioned over.

...what I want to accomplish is overlay an image with annotations associated with visual elements of the image.

Also I noticed when inspecting the page with Firebug that the overlay is ALWAYS absolutely positioned. Is that true?

I have played with a lot of CSS and moving the overlay HTML to various places in the markup to no avail... (nesting the hidden overlay DIV within a RELATIVEly position container DIV that holds the image hasn't worked)

i'll probably design a workaround but I'd love to know if it is possible to use jqtool's overlay like this.

zignorp

Posts: 3

Registered:
Jan 8, 2010

any solution to this?

Posted: Oct 26, 2010

Reply to: How to Position Overlay precisely over Over Elements, from jack_s
I'm curious about how or if you resolved this, I'm having the same problem.
Seems like a pretty basic need.
I want to position the overlay on top of a containing div, which has a scrollable, and if I resize the window, it changes.
Thanks!
W

MrGlasspoole

Posts: 19

Registered:
Jan 31, 2010

» How to Position Overlay precisely over Over Elements

Posted: Dec 5, 2010

Reply to: How to Position Overlay precisely over Over Elements, from jack_s
to me the problem is vice versa...

Overlay does not use the browser viewport. Default its allways the 10%. If i change top to center, then the overlay is in the middle of the length of the site. That means if somebody with 1024x768 shows a side that is 2000px long he wan't see the overlay. Other lightboxes center the overlay in the middle off the browser window...

Shit, Aug. and Oct. Looks like no support here....

cesarcesar

Posts: 40

Registered:
Jun 29, 2010

» How to Position Overlay precisely over Over Elements

Posted: Mar 9, 2011

Reply to: How to Position Overlay precisely over Over Elements, from jack_s
looking for same effect. anybody get it yet?

cesarcesar

Posts: 40

Registered:
Jun 29, 2010

» How to Position Overlay precisely over Over Elements

Posted: Mar 9, 2011

Reply to: How to Position Overlay precisely over Over Elements, from jack_s
looking for same effect. anybody get it yet?

cosmoo

Posts: 4

Registered:
Apr 5, 2011

» How to Position Overlay precisely over Over Elements

Posted: Apr 6, 2011

Reply to: How to Position Overlay precisely over Over Elements, from jack_s
Hey guys,

Any solution to this issue? Overlay tool is great, but issue is very frustrating.

Any help/suggestion would be appreciated.

btwolfe79

Posts: 3

Registered:
Apr 7, 2011

» How to Position Overlay precisely over Over Elements

Posted: Apr 7, 2011

Reply to: How to Position Overlay precisely over Over Elements, from jack_s
Just posted a possible fix under "Relative Position Fix". Maybe others have a better suggestion?