H
henry
I'm hoping this won't be too hard with Javascript (I'm new to the
language).
I've got a page with a form on it (name=frm1) which has a text input
(name=url).
I want to be able to click a link that will open a popup that has 2
frames. The top frame (frameA) will have a button/link that, when
clicked, will do 2 things:
1. Insert the URL of frameB (the bottom frame) into the text box "url"
on the original page
2. Close the popup
Here's my setup so far:
change.shtml has
<head>
<!-- Script
function load() {
var load =
window.open('changeurl.html','','scrollbars=no,menubar=no,height=600,width=800,resizable=yes,toolbar=no,location=no,status=no');
}
// -->
</Script>
</head><body>
<a href="javascript:load()">Click here</a>
changeurl.html simply sets up the two frames, frameA (changea.html) and
frameB (www.domain.com)
changea.html is where I need the button that does the above 2 points.
(No idea how to make this page).
I appreciate any help,
henry
language).
I've got a page with a form on it (name=frm1) which has a text input
(name=url).
I want to be able to click a link that will open a popup that has 2
frames. The top frame (frameA) will have a button/link that, when
clicked, will do 2 things:
1. Insert the URL of frameB (the bottom frame) into the text box "url"
on the original page
2. Close the popup
Here's my setup so far:
change.shtml has
<head>
<!-- Script
function load() {
var load =
window.open('changeurl.html','','scrollbars=no,menubar=no,height=600,width=800,resizable=yes,toolbar=no,location=no,status=no');
}
// -->
</Script>
</head><body>
<a href="javascript:load()">Click here</a>
changeurl.html simply sets up the two frames, frameA (changea.html) and
frameB (www.domain.com)
changea.html is where I need the button that does the above 2 points.
(No idea how to make this page).
I appreciate any help,
henry