How to position image pop up in exact position on a webpage

Hi There,
I am trying to find some javascript that does an image pop up on mouse over.
The main thing though is I need the image to be positioned EXACTLY on the webpage (wihtin a div with defined left, right within the webpage)
not the browser screen.
Does anyone know how to do this?
LVL 11
Amanda WatsonWeb DeveloperAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dave BaldwinFixer of ProblemsCommented:
A popup is a new window so it wouldn't be within a <div> on the underlying page.  You can use mouse over to put an image in a div without it being a popup.  Here is one of my pages that does that.  When you 'mouseover' a thumbnail, it puts a larger version in the <img> with the name 'bigpic'.  Feel free to use the code.
Amanda WatsonWeb DeveloperAuthor Commented:
yeh I have seen that - I was using it within dreamweaver by creating a blank.gif image as the target -
Might be the solution
Do you know if most of the javascript codes use the left and top to align to the web browser screen or within the div it is in?
Dave BaldwinFixer of ProblemsCommented:
In my code, the image is centered in a table <td>.  I put a default image in there so it won't be blank.  If you are doing a popup or pop-over, it's a div usually centered on the page because you can't make it a popup inside an existing div.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Can you show the html?
Amanda WatsonWeb DeveloperAuthor Commented:
Yeah I messed around with the div position and got it ta
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.