AvrilsSk8erBoi
04-06-2003, 02:42 PM
Can anyone tell me what this means and were to insert it into the other bit of Java?
<script>
/*
Highlight Link script
By JavaScript Kit (http://javascriptkit.com)
Over 400+ free scripts here!
Above notice MUST stay entact for use
*/
function highlight(which,color){
if (document.all||document.getElementById)
which.style.backgroundColor=color
}
</script>
<p align="center"><font face="arial" size="-2">This free script provided by</font><br><font face="arial, helvetica" size="-2"><a href="http://javascriptkit.com">JavaScript Kit</a></font></p>
This is what i need to add to it but i dunno were it goes. If anyone could do it for me so i can see how it goes, thanks
Now, to apply the highlight effect to any link, simply add the below into the <a> tag in question:
<a href="http://javascriptkit.com/" onMouseover=highlight(this,'yellow') onMouseout="highlight(this,document.bgColor)">JavaScript Kit Free JavaScripts</a>
<script>
/*
Highlight Link script
By JavaScript Kit (http://javascriptkit.com)
Over 400+ free scripts here!
Above notice MUST stay entact for use
*/
function highlight(which,color){
if (document.all||document.getElementById)
which.style.backgroundColor=color
}
</script>
<p align="center"><font face="arial" size="-2">This free script provided by</font><br><font face="arial, helvetica" size="-2"><a href="http://javascriptkit.com">JavaScript Kit</a></font></p>
This is what i need to add to it but i dunno were it goes. If anyone could do it for me so i can see how it goes, thanks
Now, to apply the highlight effect to any link, simply add the below into the <a> tag in question:
<a href="http://javascriptkit.com/" onMouseover=highlight(this,'yellow') onMouseout="highlight(this,document.bgColor)">JavaScript Kit Free JavaScripts</a>