javascript help...
Date: 08/03/05
(WebDesign) Keywords: html, java, google
Having a brain freeze, sorry.
I'm trying to make it so that a parent window opens a new child window (full size, no pop up shennanigans!) and then closes itself - the parent is a snap to fit, and the child would be a full size because they've moved to a new section of the site.
so far, my code looks thusly :
< a href="javascript:window.open('http://pagehere.html', ' '); window.opener.close( );" >
which, as you might guess since I'm asking you guys...isn't working. and everything I google is telling me that I can't close the parent window...any suggestions?
ETA : Sorry, I keep forgetting they invalidated the < pre> code on LJ.
Source: http://www.livejournal.com/community/webdesign/946347.html