jm_violet
04-14-2004, 02:25 PM
hi! i have a pop window with a cookie, and the pop window comes up on every first visit only. there is a link in the pop window which links to a separate webpage. my problem is that the way this separate webpage opens up in a separate browser window... i don't like how this happens because the original homepage window (where the pop window came from) is still open, and the pop window itself is also still open. this looks sloppy. is there a way to click on the link in the pop window, open the new webpage in the browser window of the homepage (where the pop window came from), and also close the pop window itself simultaneously?
would this involve the onBlur function? using onBlur, i know how to close the pop window whenever you click anywhere on the pop window, but in the above situation, i would like pop window to close, the link on the pop window to work, and for the new webpage to open up in the same browser window as the homepage, which brought up the pop window in the first place.
anyone know of any plugins for dreamweaver to achieve the above effect? :confused:
thanks for your help.
would this involve the onBlur function? using onBlur, i know how to close the pop window whenever you click anywhere on the pop window, but in the above situation, i would like pop window to close, the link on the pop window to work, and for the new webpage to open up in the same browser window as the homepage, which brought up the pop window in the first place.
anyone know of any plugins for dreamweaver to achieve the above effect? :confused:
thanks for your help.