AllHale
asked on
Changing Link Fonts From Pre-established Settings
Hello,
How can I change the link font on my website by using JavaScript? Below is the code, I am trying to change the color from white to a specific color of hue only I can't find the coding that alters the links. Is there a way I can do this through Dreamweaver, without altering the code directly? The site was initially set up by a friend, so I don't know what he did with the link fonts. If you could either tell me where I need to make the changes or please provide me with the code I need I would greatly appreciate it. Thanks!!
<!-- Beginning of JavaScript --------
function newImage(arg) {
if (document.images) {
rslt = new Image();
rslt.src = arg;
return rslt;
}
}
function changeImages() {
if (document.images && (preloadFlag == true)) {
for (var i=0; i<changeImages.arguments.l ength; i+=2) {
document[changeImages.argu ments[i]]. src = changeImages.arguments[i+1 ];
}
}
}
}
// -- End of JavaScript code -------------- -->
</SCRIPT>
<!-- Google Analytics -->
<!--
.style3 {font-size: 12px}
.style5 {color: #4AA5FF; font-size: 14px; }
.style7 {color: #4AA5FF; font-size: 14; }
.style16 {color: #FFFFFF; font-size: 12px; }
.style17 {color: #4AA5FF}
.style18 {font-size: 14px}
.style19 {color: #4AA5FF; font-size: 12px; }
-->
</style>
<style type="text/css">
<!--
.style20 {color: #4AA5FF}
-->
</style>
</HEAD>
<BODY bgColor=#000000 leftMargin=0 topMargin=0 onload=preloadImages();
MARGINheight="0" MARGINwidth="0"><!-- -->
<TABLE cellSpacing=0 cellPadding=0 width="115%" bgColor=#000000 border=0>
<TBODY>
<TR>
<TD vAlign=top align=left width=4> </TD>
<TD width="1208" align=right vAlign=center><object classid="clsid:D27CDB6E-AE 6D-11cf-96 B8-4445535 40000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="1100" height="175">
<param name="movie" value="file:///C|/Document s%20and%20 Settings/M edStudent/ Desktop/Fl ash%20MX%2 02004/Fron tierAidsHe aderWithIn Fo.swf">
<param name="quality" value="high">
<embed src="file:///C|/Documents% 20and%20Se ttings/Med Student/De sktop/Flas h%20MX%202 004/Fronti erAidsHead erWithInFo .swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockw ave-flash" width="1100" height="175"></embed>
</object></TD>
</TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="103%" border=0>
<TBODY>
<TR>
<TD vAlign=top align=left width=155 bgColor=#000000>
<TABLE cellSpacing=0 cellPadding=0 width=155 align=left border=0>
<TBODY>
<FORM action=file:///C|/Document s%20and%20 Settings/M edStudent/ Desktop/Fl ash%20MX%2 02004/choo seexhibit. php method=get><INPUT type=hidden value=2
name=A><INPUT type=hidden value=2 name=I></FORM>
<TR bgColor=#000000>
<TD width="155"> </TD></T R>
<TR bgColor=#>
<TD height=20 align=left vAlign=center bgcolor="#4AA5FF" class=cathead><div align="center">
<p class="style18">Features</ p>
</div></TD>
</TR>
<TR bgColor=#000000>
<TD> </TD></TR>
<TR bgColor=#000000>
<TD align=left height=29><div align="center"><span class="style3"><span class="style5"><a href="file:///C|/Documents %20and%20S ettings/Me dStudent/D esktop/Fla sh%20MX%20 2004/crash course.htm ">Biology Crash Course</a> </span></span></div></TD>
</TR>
<TR bgColor=#000000>
<TD align=left height=21> <div align="center"></div></TD>
</TR>
<TR bgColor=#000000>
<TD height="43"><div align="center"><span class="style5"><a href="Images/replicationcy cle.htm">R eplication Cycle </a></span></div></TD>
</TR>
<TR bgColor=#333333>
<TD height=20 align=left vAlign=center bgcolor="#4AA5FF" class=cathead><div align="center" class="style18">Full Spectrum </div></TD>
</TR>
<TR bgColor=#000000>
<TD height="10"> </TD></T R>
<TR bgColor=#000000>
<TD align=left height=29><div align="center"><span class="style7"><span class="style7"><a href="Images/hivvsaidspage .htm">HIV/ AIDS</a></ span></spa n></div></ TD>
</TR>
<TR bgColor=#000000>
<TD height="39"><p align="center" class="style3"><a href="Images/drugsandtreat mentspage. htm">Drugs and Treatments</a></p> </TD></TR>
<TR bgColor=#333333>
<TD height=38 vAlign=center bgcolor="#000000" class=cathead><div align="center" class="style3"><a href="Images/opportunistic infections .htm"><spa n class="style19">Opportunis tic Infections</span></a></div ></TD>
</TR>
<TR bgColor=#000000>
<TD height="32"><div align="center"><span class="style16"><span class="style3"><span class="style17"><a href="Images/hivvsimmunesy stem.htm"> HIV/Immune System </a></span></span></span>< /div></TD>
</TR>
<TR bgColor=#000000>
<TD align=left height=30><div align="center"><span class="style3"><span class="style17"><a href="Images/Globalpage.ht m">GLOBAL< /a></span> </span></d iv></TD>
</TR>
<TR bgColor=#000000>
<TD align=left height=16> </TD>
</TR>
<TR bgColor=#000000>
<TD align=left height=16><div align="center"><span class="style7"><a href="contributions.htm" class="style7">Contributio ns</a></sp an></div>< /TD>
</TR>
<TR bgColor=#000000>
<TD align=left height=16> </TD>
</TR>
<TR bgColor=#000000>
<TD align=left height=16> </TD>
</TR></TABLE></TD>
<TD width="931" align=left vAlign=top>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY></TBODY></TABLE>
<div align="center" class="style7"><span class="style7"><a href="Images/aboutfrontier AIDSpage.h tm">About FrontierAIDS</a> / <a href="mailto:frontieraids@ gmail.com" >Contact Us</a></span> </div> <TABLE cellSpacing=0 cellPadding=0 width=939 border=0>
<TBODY>
<TR>
<TD colSpan=2><div align="center"></div></TD> </TR>
<TR>
<TD width=9> </TD>
<TD width="930" align=middle vAlign=top>
<TABLE cellSpacing=0 cellPadding=0 width="96%" border=0>
<TBODY>
<TR><!-- *************** Title **************** -->
<TD class=plaintext vAlign=top align=left
colSpan=2><BR> </TD>
<TD class=tinyplaintext vAlign=center align=left> </TD></TR >
<TR>
<TD width="857" align=middle vAlign=top><!-- *************** Preview **************** -->
<TABLE width=332
border=0 cellPadding=0 cellSpacing=0 bordercolor="#000000" bgColor=#4AA5FF>
<TBODY>
<TR>
<TD vAlign=center align=middle width=8> </TD>
<TD vAlign=center align=middle colSpan=3> </TD>
<TD vAlign=center align=middle width=8> </TD>
</TR>
<TR>
<TD vAlign=center align=middle width=50> </TD>
<TD vAlign=center align=middle bgColor=#000000
colSpan=3><TABLE cellSpacing=0 cellPadding=10
width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=center align=middle><p>
<object classid="clsid:D27CDB6E-AE 6D-11cf-96 B8-4445535 40000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="961" height="618">
<param name="movie" value="Images/HIVViralFigu re5.swf">
<param name="quality" value="high">
<embed src="Images/HIVViralFigure 5.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockw ave-flash" width="961" height="618"></embed>
</object>
</p> </TD>
</TR></TBODY></TABLE></TD>
<TD vAlign=center align=middle width=8> </TD>
</TR>
<TR>
<TD width=8 height="25" align=middle vAlign=center> </TD>
<TD class=tinyplaintext vAlign=center align=left> </TD>
<TD class=tinyplaintext vAlign=center noWrap align=middle
width=7> </TD>
<TD class=tinyplaintext vAlign=center noWrap align=right
width=174> </TD>
<TD vAlign=center align=middle width=8> </TD>
</TR></TBODY></TABLE>
<BR>
<!-- *************** Related Items **************** -->
<FORM action=file:///C|/Document s%20and%20 Settings/M edStudent/ Desktop/Fl ash%20MX%2 02004/gene rateexhibi t.php method=post>
</FORM></TD><!-- **************** Gutter **************** -->
<TD vAlign=top align=left width=4> </TD>
<TD vAlign=top align=left width=12> </TD></TR>< /TBODY></T ABLE></TD> </TR></TBO DY></TABLE >
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=center align=middle> </TD>
</TR></TBODY></TABLE></TD>
</TR>
<TR>
<TD vAlign=top align=left bgColor=#000000> </TD >
<TD vAlign=top align=left><div align="center"><span class="style17 style20">Copyright (C) 2006-2007</span></div></TD >
</TR>
</TBODY></TABLE>
</TD></TR></TABLE></BODY>< /HTML>
How can I change the link font on my website by using JavaScript? Below is the code, I am trying to change the color from white to a specific color of hue only I can't find the coding that alters the links. Is there a way I can do this through Dreamweaver, without altering the code directly? The site was initially set up by a friend, so I don't know what he did with the link fonts. If you could either tell me where I need to make the changes or please provide me with the code I need I would greatly appreciate it. Thanks!!
<!-- Beginning of JavaScript --------
function newImage(arg) {
if (document.images) {
rslt = new Image();
rslt.src = arg;
return rslt;
}
}
function changeImages() {
if (document.images && (preloadFlag == true)) {
for (var i=0; i<changeImages.arguments.l
document[changeImages.argu
}
}
}
}
// -- End of JavaScript code -------------- -->
</SCRIPT>
<!-- Google Analytics -->
<!--
.style3 {font-size: 12px}
.style5 {color: #4AA5FF; font-size: 14px; }
.style7 {color: #4AA5FF; font-size: 14; }
.style16 {color: #FFFFFF; font-size: 12px; }
.style17 {color: #4AA5FF}
.style18 {font-size: 14px}
.style19 {color: #4AA5FF; font-size: 12px; }
-->
</style>
<style type="text/css">
<!--
.style20 {color: #4AA5FF}
-->
</style>
</HEAD>
<BODY bgColor=#000000 leftMargin=0 topMargin=0 onload=preloadImages();
MARGINheight="0" MARGINwidth="0"><!-- -->
<TABLE cellSpacing=0 cellPadding=0 width="115%" bgColor=#000000 border=0>
<TBODY>
<TR>
<TD vAlign=top align=left width=4> </TD>
<TD width="1208" align=right vAlign=center><object classid="clsid:D27CDB6E-AE
<param name="movie" value="file:///C|/Document
<param name="quality" value="high">
<embed src="file:///C|/Documents%
</object></TD>
</TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="103%" border=0>
<TBODY>
<TR>
<TD vAlign=top align=left width=155 bgColor=#000000>
<TABLE cellSpacing=0 cellPadding=0 width=155 align=left border=0>
<TBODY>
<FORM action=file:///C|/Document
name=A><INPUT type=hidden value=2 name=I></FORM>
<TR bgColor=#000000>
<TD width="155"> </TD></T
<TR bgColor=#>
<TD height=20 align=left vAlign=center bgcolor="#4AA5FF" class=cathead><div align="center">
<p class="style18">Features</
</div></TD>
</TR>
<TR bgColor=#000000>
<TD> </TD></TR>
<TR bgColor=#000000>
<TD align=left height=29><div align="center"><span class="style3"><span class="style5"><a href="file:///C|/Documents
</TR>
<TR bgColor=#000000>
<TD align=left height=21> <div align="center"></div></TD>
</TR>
<TR bgColor=#000000>
<TD height="43"><div align="center"><span class="style5"><a href="Images/replicationcy
</TR>
<TR bgColor=#333333>
<TD height=20 align=left vAlign=center bgcolor="#4AA5FF" class=cathead><div align="center" class="style18">Full Spectrum </div></TD>
</TR>
<TR bgColor=#000000>
<TD height="10"> </TD></T
<TR bgColor=#000000>
<TD align=left height=29><div align="center"><span class="style7"><span class="style7"><a href="Images/hivvsaidspage
</TR>
<TR bgColor=#000000>
<TD height="39"><p align="center" class="style3"><a href="Images/drugsandtreat
<TR bgColor=#333333>
<TD height=38 vAlign=center bgcolor="#000000" class=cathead><div align="center" class="style3"><a href="Images/opportunistic
</TR>
<TR bgColor=#000000>
<TD height="32"><div align="center"><span class="style16"><span class="style3"><span class="style17"><a href="Images/hivvsimmunesy
</TR>
<TR bgColor=#000000>
<TD align=left height=30><div align="center"><span class="style3"><span class="style17"><a href="Images/Globalpage.ht
</TR>
<TR bgColor=#000000>
<TD align=left height=16> </TD>
</TR>
<TR bgColor=#000000>
<TD align=left height=16><div align="center"><span class="style7"><a href="contributions.htm" class="style7">Contributio
</TR>
<TR bgColor=#000000>
<TD align=left height=16> </TD>
</TR>
<TR bgColor=#000000>
<TD align=left height=16> </TD>
</TR></TABLE></TD>
<TD width="931" align=left vAlign=top>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY></TBODY></TABLE>
<div align="center" class="style7"><span class="style7"><a href="Images/aboutfrontier
<TBODY>
<TR>
<TD colSpan=2><div align="center"></div></TD>
<TR>
<TD width=9> </TD>
<TD width="930" align=middle vAlign=top>
<TABLE cellSpacing=0 cellPadding=0 width="96%" border=0>
<TBODY>
<TR><!-- *************** Title **************** -->
<TD class=plaintext vAlign=top align=left
colSpan=2><BR> </TD>
<TD class=tinyplaintext vAlign=center align=left> </TD></TR
<TR>
<TD width="857" align=middle vAlign=top><!-- *************** Preview **************** -->
<TABLE width=332
border=0 cellPadding=0 cellSpacing=0 bordercolor="#000000" bgColor=#4AA5FF>
<TBODY>
<TR>
<TD vAlign=center align=middle width=8> </TD>
<TD vAlign=center align=middle colSpan=3> </TD>
<TD vAlign=center align=middle width=8> </TD>
</TR>
<TR>
<TD vAlign=center align=middle width=50> </TD>
<TD vAlign=center align=middle bgColor=#000000
colSpan=3><TABLE cellSpacing=0 cellPadding=10
width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=center align=middle><p>
<object classid="clsid:D27CDB6E-AE
<param name="movie" value="Images/HIVViralFigu
<param name="quality" value="high">
<embed src="Images/HIVViralFigure
</object>
</p> </TD>
</TR></TBODY></TABLE></TD>
<TD vAlign=center align=middle width=8> </TD>
</TR>
<TR>
<TD width=8 height="25" align=middle vAlign=center> </TD>
<TD class=tinyplaintext vAlign=center align=left> </TD>
<TD class=tinyplaintext vAlign=center noWrap align=middle
width=7> </TD>
<TD class=tinyplaintext vAlign=center noWrap align=right
width=174> </TD>
<TD vAlign=center align=middle width=8> </TD>
</TR></TBODY></TABLE>
<BR>
<!-- *************** Related Items **************** -->
<FORM action=file:///C|/Document
</FORM></TD><!-- **************** Gutter **************** -->
<TD vAlign=top align=left width=4> </TD>
<TD vAlign=top align=left width=12> </TD></TR><
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=center align=middle> </TD>
</TR></TBODY></TABLE></TD>
</TR>
<TR>
<TD vAlign=top align=left bgColor=#000000> </TD
<TD vAlign=top align=left><div align="center"><span class="style17 style20">Copyright (C) 2006-2007</span></div></TD
</TR>
</TBODY></TABLE>
</TD></TR></TABLE></BODY><
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.