/    Sign up×
Community /Pin to ProfileBookmark

Send link to frame?

Hello,
I have a webpage with the following link:
<td width=”6%” align=”left”><div align=”center”><a href=”http://dmplusdc-hcm01/xpcmlogs/<%=(((BuildRequest_data = BuildRequest.getObject(“DBID”))==null || BuildRequest.wasNull())?””:BuildRequest_data)%>_<%=(((BuildRequest_data = BuildRequest.getObject(“TASKTYPE”))==null || BuildRequest.wasNull())?””:BuildRequest_data)%>.htm” target=”_blank”><img src=”images/form/log.gif” width=”16″ height=”15″ border=”0″></a></div></td>

How can I make the link open in up in a new frame window? The link opens up a log that is constantly being updated. I would like the link to open in a two framed webpage. The top frame is small and will have a button to close the page and will also have javascript code to refresh the bottom frame that contains the log. I will enventually put a button in the top frame that will turn refresh on and off if possible as well. Please let me know how to send the link webpage into the bottom frame of a new window.

thanks.

Main Log Frame
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Frameset//EN” “http://www.w3.org/TR/html4/frameset.dtd“>
<html>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″>
<title>Untitled Document</title>
</head>

<frameset rows=”80,*” frameborder=”NO” border=”0″ framespacing=”0″>
<frame src=”LogFrameTop.htm” name=”topFrame” scrolling=”NO” noresize >
<frame src=”LogFrameMiddle.htm” name=”mainFrame”>
</frameset>
<noframes><body>
</body></noframes>
</html>

Log Frame Top
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”
http://www.w3.org/TR/html4/loose.dtd“>
<html>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″>
<meta http-equiv=”refresh” content=”5;LogFrameMiddle.htm”>
<title>Untitled Document</title>
</head>

<body>
<div align=”right”><a href=”javascript:top.window.close()”>Close</a></div>
</body>
</html>

Log Frame Middle
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”
http://www.w3.org/TR/html4/loose.dtd“>
<html>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″>
<title>Untitled Document</title>
</head>

<body>
</body>
</html>

to post a comment
HTML

0Be the first to comment 😎

×

Success!

Help @jaydwire2 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...