Ok, having the code for the function clarifies it a little bit. So the first argument to that function is supposed to be the window you want to target, no changes needed to the function itself. Simply change the call to it on your onchange attribute to read:
And you should be all set. The target was pointing to "parent" which means the links should have been opening in the main window, nuking your frameset in the process. Now they should go to the right place.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Drop Down With Frames</title>
<form name="form1" action="form1.pl" target="mainFrame">
<option value="#Top" selected>Select One</option>
And then get something like the following up and running and named something like "form1.pl":
use CGI qw(redirect param);
print redirect param 'creator';
“The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.”
—Tim Berners-Lee, W3C Director and inventor of the World Wide Web