Just a quick question. A browser spawns a popup site map. When you click on a link in the site map, the link should open in the first browser window and the focus switches back to the original.
I figured that setting the link target to _parent should work for opening the page in the first browser as you’re linking from the child, but needless to say it doesn’t.
Which I thought ought to do it alright… I’ve not really had much cause to use all this before, since I loathe popups, but the powers that be have decreed that it must be so… :sure:
*Originally posted by kode *
**Uhmm… have you tried with window.opener, Kit?
window.opener.location = "URL";
**
Er, no, I haven’t.
It’s so dumb, I’ve never had cause to use this before. And how do you reference the main window (obviously the popup is named, but the main one isn’t). Is _parent the right way?
God, must be “Stupid Question From Kit Day”. That or it’s my flu. Either way…
I too am chronically depressed (and not paid till the 31st). Building teh entire Churchill website all over again by the end of today, a thousand and one little bug fixes to make, plus I can’t even remember simple JavaScript now…
Ah… I had a friend who had that happen. For once, nothing to do with me. Someone else volleyed the ball as hard as he possibly could, keeper went to catch it, ball flew past and took half his fingers with it… :sure:
Hope they get better soon. And thanks for the fix.
*Originally posted by Kitiara *
**“Remember, you are not a salmon.”
I too am chronically depressed (and not paid till the 31st). Building teh entire Churchill website all over again by the end of today, a thousand and one little bug fixes to make, plus I can’t even remember simple JavaScript now…