/    Sign up×
Community /Pin to ProfileBookmark

Help! Urgent! This will get me promoted!!! hehehe

Hello guys

im in a little rut and i just cant figure out what to do…

i am doing a troubleshooting tool for an ISP Helpdesk Center, that has 3 frames…
with the splits done like this, top and bottom…
with the bottom part split into 2 frames…left and right

the top frame and right most frame is just static…
the tool depends on what happens on the left frame
if an option is clicked on the left frame, the left frame and right frame changes to the next troubleshooting step…

everything was working fine until we decided to add a feature that will copy the text the button has, as a log (for we need to log all steps taken during a call)… i had it working also for the left frame…

but we need it to show up on another frame and on a step by step summary of all the steps taken…so instead of splitting up the bottom frame into 2 we decided to split it into three

so how can i do this: 😡
…if an option is clicked on the left frame, the left frame and middle frame changes to the next troubleshooting step… then the log of the step taken will be logged into the right frame on a text area with a button that will copy all text put into it into the clipboard

…here is a sample code of the left frame…

<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”
http://www.w3.org/TR/html4/loose.dtd“>
<html>
<head>
<title>Left Frame Template</title>

<script language=”JavaScript”>
function TargetFrames(url1,url2)
{
parent.leftframe.location.href= url1;
parent.rightframe.location.href= url2;
<!— HOW DO YOU CALL OUT THE MIDDLE FRAME?—>
}
</script>

<— THIS IS FOR THE BUTTON TEXT COPY—>
<script language=”JavaScript” type=”text/javascript”>
function Add(obj,tar){
var tar=document.getElementById(tar);
var txt=obj.value+’,’;
if (tar.innerHTML.match(txt)){
tar.innerHTML=tar.innerHTML.replace(txt,”);
}
else {
tar.innerHTML+=txt;
}
}
//–>
</script>
</head>

<body>
<table width=”400″ border=”0″ cellpadding=”0″ cellspacing=”0″>
<!–DWLayoutTable–>
<tr>
<td height=”19″ colspan=”3″ valign=”top”><!–DWLayoutEmptyCell–>&nbsp;</td>
</tr>

<tr>
<td height=”19″ colspan=”3″ valign=”top” bgcolor=”#330066″><div align=”center” class=”style5″>&lt;title&gt;</div></td>
</tr>

<tr>
<td width=”53″ height=”19″ valign=”top” bordercolor=”#003300″ bgcolor=”#FFFFFF”><p class=”style1″>Step:</p></td>
<td width=”9″>&nbsp;</td>
<td width=”338″ rowspan=”2″ valign=”top” bordercolor=”#003300″ bgcolor=”#FFFFFF”><span class=”style6″>&lt;process&gt;<br>
</span></td>
</tr>

<tr>
<td height=”10″></td>
<td></td>
</tr>

<tr>
<td height=”19″ colspan=”3″ valign=”top” bordercolor=”#003300″ bgcolor=”#FFFFCC”><span class=”style7″>Possible Question(s) </span></td>
</tr>

<tr>
<td height=”57″ colspan=”3″ valign=”top” bordercolor=”#003300″ bgcolor=”#FFFFFF”><p align=”left”><em><span class=”style3″>&lt;question&gt;<br>
<br>
</span></em></p></td>
</tr>

<– THIS IS FOR THE BUTTON OPTION, THE RIGHT FRAME WILL BE MOVED INTO THE MIDDLE FRAME –>
<tr>
<td height=”105″ colspan=”3″ valign=”top” bgcolor=”#FFFFCC”>
<p>
<center>
<form method=”POST” action=”javascript:TargetFrames(‘<LEFT FRAME NEXT STEP>’,'<RIGHT FRAME NEXT STEP>’)”>
<input type=”submit” name=”” value=”CHOICE 1″ onclick=”Add(this,’Summary’);”>
</form>
<form method=”POST” action=”javascript:TargetFrames(‘<LEFT FRAME NEXT STEP>’,'<RIGHT FRAME NEXT STEP>’)”>
<input type=”submit” name=”” value=”CHOICE 2″ onclick=”Add(this,’Summary’);”>
</form>
</center></td>
</tr>

<tr bgcolor=”#330066″>
<td height=”21″ colspan=”3″ valign=”top” class=”style13″>Call Tracking Log </td>
</tr>

<!– THIS IS WHERE THE COPIED BUTTON TEXT GOES, SHOULD BE GOING INTO THE RIGHT FRAME TXT BOX WITH THE COPY TO CLIPBOARD–>
<tr bgcolor=”#FFFFCC”>
<td height=”35″ colspan=”3″ valign=”top”><div id=”Summary”></div></td>
</tr>

<tr bgcolor=”#FFFFCC”>
<td height=”24″ colspan=”3″ valign=”top”><!–DWLayoutEmptyCell–>&nbsp;</td>
</tr>

<tr>
<td height=”17″ colspan=”3″ valign=”top”>
<!— back LINK—>

<center class=”style12″>
<a href=”Javascript:TargetFrames(‘history.go(-1)’,’history.go(-1)’)”>Back</a>
<!— return to main LINK—>
<a href=”javascript:TargetFrames(‘///C:/tpghdc/main/start.htm’,’https://csweb.tpg.com.au/ias/’)”>Home</a>
</center></td>
</tr>

</table>
</body>
</html>

MY SINCERE THANKS TO THOSE WHO WILL HELP!!!

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@sonpudongauthorMay 23.2006 — Im Sorry Guys Just Read The Guidelines... Disregard The Urgent On The Thread Title ...my Apologies...
×

Success!

Help @sonpudong 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 5.20,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

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

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...