Lucky for you I fixed that one yesterday
[ Follow Ups ] [ Post Followup ] [ Intranet eXchange ] [ IDM Home ]
Posted by Roy Wall on December 12, 2001 at 16:26:41:
In Reply to: Load Page Into Frame From Non-Frames Page (JavaScript) posted by Morgan on July 16, 1999 at 13:1:58:
Put this anywhere near the top of your page, you can alter the frameset
<script language=javascript>
function frameset(page) {
document.write('<title>Loading page: ' + page + '</title><FRAMESET ROWS="10%, 90%" border=1 bordercolordark="darkgreen" bordercolorlight="lightgreen"><FRAME NAME=TOP SRC=top.html><FRAME NAME=BOTTOM SRC=' + page + '></FRAMESET>')
}
</script>
your link must be like this now, this will make the bottom frame a parameter.
<A HREF="LINKTO" onClick="frameset('LINKTO')">name of the link</A>
I'm just trying to get a script now that will get rid of all frames
the optional link url is where i use this script
Follow Ups:
[ Follow Ups ] [ Post Followup ] [ Intranet eXchange ] [ IDM Home ]