Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Stop parent window scroll when link to pop up window

Status
Not open for further replies.

guppie

Technical User
Sep 10, 2001
3
GB
I'm working on a large website and I have a link to show items in a seperate pop up window. However when the image is clicked to view the item the parent frame will not stay static and its annoying. I want for people to view the image close the small window and be able to carry on scrolling from where they were.
Any suggestions.
 
you should try to focus on the clicked link/button - onMouseDown="MM_openBrWindow('0509131.htm','','width=300,height=310'), this.focus()"

but i'm not sure if you're allowed to focus any element in the dom, both for nn and ie .... and i don't have the time to check it for you - sorry !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top