Click to See Complete Forum and Search --> : trouble with new window script and frames


amishone
03-28-2003, 07:28 PM
I am trying to figure out a script that will allow me to open windows when a hyperlink is clicked. The one I am using now works, but once a user clicks on this link, the navigation portion of the frameset no longer opens links in the appropriate frameset target.

function launcher(url) {
self.name = "opener";
remote = open(url, "", "resizable,scrollbars,width=300,height=400,left=200,top=100");
}

amishone
03-29-2003, 08:39 AM
Okay. There are two frames that never change, one is a header, and the other is a left-aligned frame with navigation buttons. The target frame for these buttons is the third frame of the framset, named "body". Upon entering the site, clicking the navigation buttons work fine, meaning that clicking the "Beer" button updates the "body" frame with the "Beer" content. One "body" section though has the aforementioned javascript code in it, and after using that to pop open a new window, if a user tries to click on a navigation button, it is though the navigation link has target="_blank" as a value. This is true for IE6, but it does work in NS6 and Opera6, though the specification for the popup height and width do not work for these latter two browsers. I may just eliminate the javascript from the offending body section and set the links to target=_"blank", which would do away with my problem. I was just curious to find out if there was something that I was missing... thanks. Maybe that's a bit clearer?

amishone
03-29-2003, 12:14 PM
heh... I think this "internet" thing is going to take off. shhh... don't tell anyone.

thanks