dtehshuh -> Get JavaScript to Show in FP98 (3/15/2001 20:56:00)
When I insert this script (it is supposed to keep spammers off my e-mail address) I get this when I preview it in a browser:
// -->
Script Text is:
<body> <script language="JavaScript"><!-- var name = "user"; var domain = "isp.com"; document.write('<a href=\"mailto:' + name + '@' + domain + '\">'); document.write(name + '@' + domain + '</a>'); // --> </script>
I insert the text in a sentence using Insert>Advanced>Script select JavaScript button and paste in the above text. I see a box with a slated J in it. When I preview it, I see // --> in its place.
Help!
dtehshuh
Jego -> RE: Get JavaScript to Show in FP98 (3/15/2001 23:06:00)
Looks to me like there's something slightly wrong with that particular script. Maybe you could check your source again?
In FP98, or FP2K for that matter, you should be able to insert it in HTML view. Copy the script to Notepad, then copy and paste from Notepad directly into FP (in HTML view).
------------------ "I am NOT tense, just terribly, terribly alert."
Gil -> RE: Get JavaScript to Show in FP98 (3/16/2001 20:52:00)
quote:Originally posted by dtehshuh: When I insert this script (it is supposed to keep spammers off my e-mail address) I get this when I preview it in a browser:
// -->
Script Text is:
<body> <script language="JavaScript"><!-- var name = "user"; var domain = "isp.com"; document.write('<a href=\"mailto:' + name + '@' + domain + '\">'); document.write(name + '@' + domain + '</a>'); // --> </script> I insert the text in a sentence using Insert>Advanced>Script select JavaScript button and paste in the above text. I see a box with a slated J in it. When I preview it, I see // --> in its place.
Change // --> to <--
------------------ Gil Harvey The Host Factory Resellers are our speciality