S
Sharon Mutumwa
I am currently using Frontpage 2003. I have a JavaScript function that makes
certain information appear on a page when a hyperlink is clicked. Due to the
fact that users may turn off JavaScript, I am looking for advise that will
enable me to have an alternative.
the function I am using is:
<SCRIPT type=text/javascript>
function close_all() {
document.getElementById('relatedprocess').style.display = 'none';
document.getElementById('tailoringguide').style.display = 'none';
}
function show_div(div_id) {
close_all();
document.getElementById(div_id).style.display = 'block';
}
</SCRIPT>
and at the appropriate place for the hyperlink I put the following in:
<DIV id=tailoringguide style="DISPLAY: none">
<TABLE cellSpacing=0 cellPadding=5 width="100%" border=0 id="table29">
<TBODY>
<TR bgColor=#a50042>
<TD width="100%" bgcolor="#541586"><FONT face=arial color=white
size=2><B>? </B></FONT>
<b><font face="arial" size="2" color="#FFFFFF">Tailoring
Guide</font></b></TD>
<TD bgcolor="#541486"><A href="javascript:close_all();">
<IMG
src="x.gif" border=0 width="10" height="10"></A></TD></TR>
<TR>
<TD colSpan=2><font size="2">For smaller projects the PM will
normally perform many (or
all) of the other roles within the team,.........
I know I can create a separate page with the same information on, what I do
not know is what alternative coding I need and where to put it, so that when
a user click the same hyperlink, they still get the same information, if they
disable JavaScript.
Hope someone can help me?
certain information appear on a page when a hyperlink is clicked. Due to the
fact that users may turn off JavaScript, I am looking for advise that will
enable me to have an alternative.
the function I am using is:
<SCRIPT type=text/javascript>
function close_all() {
document.getElementById('relatedprocess').style.display = 'none';
document.getElementById('tailoringguide').style.display = 'none';
}
function show_div(div_id) {
close_all();
document.getElementById(div_id).style.display = 'block';
}
</SCRIPT>
and at the appropriate place for the hyperlink I put the following in:
<DIV id=tailoringguide style="DISPLAY: none">
<TABLE cellSpacing=0 cellPadding=5 width="100%" border=0 id="table29">
<TBODY>
<TR bgColor=#a50042>
<TD width="100%" bgcolor="#541586"><FONT face=arial color=white
size=2><B>? </B></FONT>
<b><font face="arial" size="2" color="#FFFFFF">Tailoring
Guide</font></b></TD>
<TD bgcolor="#541486"><A href="javascript:close_all();">
<IMG
src="x.gif" border=0 width="10" height="10"></A></TD></TR>
<TR>
<TD colSpan=2><font size="2">For smaller projects the PM will
normally perform many (or
all) of the other roles within the team,.........
I know I can create a separate page with the same information on, what I do
not know is what alternative coding I need and where to put it, so that when
a user click the same hyperlink, they still get the same information, if they
disable JavaScript.
Hope someone can help me?