K
k.vanderstarren
Hi All,
I'm having a problem that is driving me absolutely batty and I'm hoping
that one of you JavaScript gurus can help me out before I go stark
raving mad.
I am using the function shown below to open links into the same pop-up
window each time a user clicks any of the news story links contained in
http://www.kris.ca/newsroom.aspx. The function works perfectly for all
of the links except for the ones from the BBC's website. Links to
stories from the BBC's website insist on opening in a new popup window
each time no matter what I do. This behaviour is consistent in both IE
and Firefox.
The behaviour makes absolutely no sense to me as all of the links use
the same function call. Any ideas?
function popupfeed(url) {
var myfeatures =
"toolbar=no,location=no,directories=no,menubar=yes,scrollbars=yes,status=yes,resizable=yes,width=800,height=600";
thefeed = window.open( url, 'feed2jspop', myfeatures);
if (window.focus) {thefeed.focus()}
}
I'm having a problem that is driving me absolutely batty and I'm hoping
that one of you JavaScript gurus can help me out before I go stark
raving mad.
I am using the function shown below to open links into the same pop-up
window each time a user clicks any of the news story links contained in
http://www.kris.ca/newsroom.aspx. The function works perfectly for all
of the links except for the ones from the BBC's website. Links to
stories from the BBC's website insist on opening in a new popup window
each time no matter what I do. This behaviour is consistent in both IE
and Firefox.
The behaviour makes absolutely no sense to me as all of the links use
the same function call. Any ideas?
function popupfeed(url) {
var myfeatures =
"toolbar=no,location=no,directories=no,menubar=yes,scrollbars=yes,status=yes,resizable=yes,width=800,height=600";
thefeed = window.open( url, 'feed2jspop', myfeatures);
if (window.focus) {thefeed.focus()}
}