PDA

View Full Version : remove frames


Dani
03-03-2002, 03:18 AM
Hi,

I found this great program : http://www.mental.co.nz/cms/
But I want it to work within an ASP page as an include, but somehow it's not working maybe mecause it's built out of frames...

Anyway how can I remove the frames and make it work without them.
Here's the code that I don't know how to change:

<script language="javascript">
<!--
function ChangeLowerFrame() {
parent.lowerframe.location.href = 'companydetails.asp?companyid=' + window.document.companyselector.CompanyID.value;
parent.lowerframe.location.href = 'contactdetails.asp?companyid=' + window.document.companyselector.CompanyID.value;
return false;
}
// -->
</script>

Is there anyway of doing this differntly, without frames?

Any help would be greatly appreciated.

Dani

microwebber
03-04-2002, 05:52 AM
<script language="javascript">
<!--
function ChangeLowerFrame() {
document.location.href = 'companydetails.asp?companyid=' + window.document.companyselector.CompanyID.value;
return false;
}
// -->
</script>

I don't know asp, But try this.

Tricia

Dani
03-04-2002, 09:35 AM
Thanks, I'll try that.