Hostmaster
Programmer
Please help me. This has been going on too long.
<script language="JavaScript">
function surf(form)
{
var myindex=form.select4.selectedIndex
if (form.select4.options[myindex].value !="0" {
child = window.open(form.select4.options[myindex].value, target="main","resizable=yes, width=450, height=350, scollbars=yes, dependant=true"}
}
function movewin(child) {
var locationx = 20;
var locationy = 20;
window.moveTo(locationx,locationy)
}
</script>
<form name="form4">
<select name="select4" onChange="surf(this.form)">
<option selected value="0">Select a Business or Group</option>
When I click on the form, I would like the window to open in the upper right hand corner but the function doesn't work. Thanks. [sig][/sig]
<script language="JavaScript">
function surf(form)
{
var myindex=form.select4.selectedIndex
if (form.select4.options[myindex].value !="0" {
child = window.open(form.select4.options[myindex].value, target="main","resizable=yes, width=450, height=350, scollbars=yes, dependant=true"}
}
function movewin(child) {
var locationx = 20;
var locationy = 20;
window.moveTo(locationx,locationy)
}
</script>
<form name="form4">
<select name="select4" onChange="surf(this.form)">
<option selected value="0">Select a Business or Group</option>
When I click on the form, I would like the window to open in the upper right hand corner but the function doesn't work. Thanks. [sig][/sig]