raharrin
06-18-2009, 03:39 PM
I have the following code that works fine within an asp file but failes if the file is within a frameset...
<script language="JavaScript">
<!--
function open_new_window(url)
{
new_window = void window.open(url,'displayWindow',"width=500,height=500,left=10,top=10");
}
.
.
.
<td width="17%"><font size="-1"><b>Circuit: <a href="javascript:open_new_window('feederinfo.asp?fdr=<%=(feeder)%>')" style="text-decoration: none"><%=feeder%></a></b></font></td>
When using the page within the frameset, the error returned is "Object expected" for the frame document file. Been searching the web for hours with no luck. Any help/suggestions would be appreciated.
<script language="JavaScript">
<!--
function open_new_window(url)
{
new_window = void window.open(url,'displayWindow',"width=500,height=500,left=10,top=10");
}
.
.
.
<td width="17%"><font size="-1"><b>Circuit: <a href="javascript:open_new_window('feederinfo.asp?fdr=<%=(feeder)%>')" style="text-decoration: none"><%=feeder%></a></b></font></td>
When using the page within the frameset, the error returned is "Object expected" for the frame document file. Been searching the web for hours with no luck. Any help/suggestions would be appreciated.