Results 1 to 3 of 3
  1. #1
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Disguised email addresses (Frontpage 2000)

    It works OK here, but you must paste the example copied from that page into something like notepad first (to strip away any formatting) then copy it to the HTML page (rather than the 'Normal' view page).

    An alternative is to use some JavaScript to only create the email address when the link is clicked:<pre> <SCRIPT LANGUAGE="JavaScript">
    user = "recipient";
    site = "company.com";
    document.write('<a href="mailto:' + user + '@' + site + '">');
    document.write("Click here to send an e-mail");
    </SCRIPT></pre>

    Note that this does not show in Normal view - only Preview - and can only be entered directly into the HTML page.

    Save the attached example file to your hard disk, open with Notepad, then copy and paste the entire contents into the HTML page of a new web page, over-writing ALL existing content.
    HTH
    Attached Files Attached Files

  2. #2
    Star Lounger
    Join Date
    Oct 2002
    Location
    Blue Mountains, New South Wales, Australia
    Posts
    52
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Disguised email addresses (Frontpage 2000)

    <P ID="edit" class=small>(Edited by Leif on 07-Sep-03 10:58. To make the link live.)</P>To avoid SPAM, I have followed the advice of http://www.cdt.org/speech/spam/030319spamreport.shtml and coded the domain part of email addresses e.g. @ for the @ symbol

    However, when I edit the page with Frontpage, My Gates' software removes my carefully inserted code.

    How can I get Frontpage to leave my code alone as I want it?

    HELP PLEASE!

  3. #3
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Disguised email addresses (Frontpage 2000)

    Although it seems silly to use a tiny window to code HTML, FrontPage promises not to change whatever you insert using:

    Insert > Advanced > HTML

    In XP, they buried this under:

    Insert > Web Component... > Advanced > HTML

    Or you can paste in the webbot tags yourself around your script code. Shouldn't have to but...
    Attached Images Attached Images

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •