I would like to know how to change the font size for the link description code.
Here is the code that I used:
//Link Description script- © Dynamic Drive (www.dynamicdrive.com)
//For full source code and TOS, visit http://www.dynamicdrive.com
//change link descriptions to your own. Extend as needed
var linktext=new Array()
linktext[0]=""
linktext[1]="JavaScript Kit, the JavaScript technology center"
linktext[2]="Direct link to hundreds of free java applets online"
linktext[3]="Research information, get homework help, chat with educators"
linktext[4]="The virtual encyclopedia"
linktext[5]="Your online dictionary"
var ns6=document.getElementById&&!document.all
var ie=document.all
function show_text(thetext, whichdiv){
if (ie) eval("document.all."+whichdiv).innerHTML=linktext[thetext]
else if (ns6) document.getElementById(whichdiv).innerHTML=linktext[thetext]
}
function resetit(whichdiv){
if (ie) eval("document.all."+whichdiv).innerHTML=' '
else if (ns6) document.getElementById(whichdiv).innerHTML=' '
}
</script></font></p>
<p style="margin-left: 20px; margin-bottom: 25px">
<a href="" onMouseover="show_text(0,'div1')" onMouseout="resetit('div1')">
<font size="2">Stroke Program</font></a><font size="2"> |
<a href="" onMouseover="show_text(1,'div1')" onMouseout="resetit('div1')">Telestroke</a> |
</font>
<a href="" onMouseover="show_text(2,'div1')" onMouseout="resetit('div1')">
<font size="2">Stroke secondary prevention clinic</font></a><br>
<span id="div1"> </span>



Reply With Quote


Bookmarks