...

View Full Version : change from two frames to one frame onClick



crmpicco
08-19-2005, 04:36 PM
i have a frameset setup
frame1 = top.asp
frame2 = bottom.asp

the code below lies in bottom.asp, when the link is clicked it only changes the content
in the frame2 (bottom.asp). When this is clicked I want to disregard the whole frameset setup and
go back to just one frame?



<td colspan="3" align="center" bordercolor="#000000" bgcolor="#006699"
onMouseOver="this.bgColor = '#C0C0C0'; this.style.color='#000000'; style.cursor='hand'; window.status='';"
onMouseOut="this.bgColor = '#006699'; this.style.color='#FFFFFF'; window.status='';"
onClick="location.href='admin_menu.asp'">
<font face="verdana" size="-2" color="#FFFFFF" onmouseover="this.style.color='#000000'; window.status='';"
onmouseout="this.style.color='#FFFFFF'">
Admin Menu
</font>
</td>

mark87
08-19-2005, 05:21 PM
onClick="top.location.href='admin_menu.asp'">



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum