Forum Moderators: open
I have always stayed away from extra tags in the <head> of sites but am wondering if the two that follow will leave the spiders with a bad hangover. Any thoughts?
<STYLE><!--
A {text-decoration: none;}
A:hover {text-decoration: underline;}
--></STYLE>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function formHandler(){
var URL = document.form.site.options[document.form.site.selectedIndex].value;
window.location.href = URL;
// End
}
-->
</SCRIPT>
To use external js, just call the script like this:
<script src="scriptfilename.js">
</script>
Naming/placing the file however you like.
Don't leave the <script>,</script> tags in the external file.
External CSS is handled this way:
<LINK REL=stylesheet HREF="mystyle.css">
That goes in the head.