navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Get JavaScript to Show in FP98

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Microsoft FrontPage Help >> Get JavaScript to Show in FP98
Page: [1]
 
dtehshuh

 

Posts: 5
From: Davis, CA USA
Status: offline

 
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

 

Posts: 551
From: Near Brampton, Ontario, Canada
Status: offline

 
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."


(in reply to dtehshuh)
Gil

 

Posts: 7533
From: North Carolina, USA
Status: offline

 
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


(in reply to dtehshuh)
Page:   [1]

All Forums >> Web Development >> Microsoft FrontPage Help >> Get JavaScript to Show in FP98
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts