Hi Jodi,
> No, I don't Shawn. In the one that I originally had,
> I didn't need it. Is this something that should go in
> the header area?
Yes, something like this:
<script type="text/javascript" defer="defer"
src="/library.js"></script>
The contents of /library.js would be (three lines):
function mailMe(sDom, sUser){
return("mail"+"to:"+sUser+"@"+sDom.replace(/%23/g,"."));
}
You may then use the same javascript file for any other global scripts
you want to have available for the rest of your site - like something
for clearing the default value of a textbox or spiffy style changes or
breaking out of remote frames... Look at my own scripting library for
ideas:
http://ReliableAnswers.com/Scripts/Library.js
(WARNING: This is a script file, and unless you have great patience
for errors you'll probably want to download the file directly, instead
of hitting it in your browser).
I probably ought to make that easier for people to get... try this
link instead:
http://ReliableAnswers.com/Scripts/Library.asp?dl
Give me a couple minute to put that file up. :)
Regards,
Shawn K. Hall
http://ReliableAnswers.com/
'// ========================================================
Revisiting the Revolutionary War is a bracing reminder
that the fate of a continent, and the shape of the
modern world, turned on the free choices of remarkably
few Americans defying an empire.
-- George Will