Announcement

Collapse
No announcement yet.

Dreamweaver page script problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Dreamweaver page script problem

    Hello,

    I'm working on a Dreamweaver website. Need to protect my e-mail adresses from spam.

    I've found several scripts:

    <A onmouseover="email = new Array('i','n','f','o','@','h','a','n','d','e','l', 'g','a','t','e','.','c','o','m');this.href='mailto :';for(i=0;i<email.length;i++){this.href+=email[i]}" href="you@relays.osirusoft.com"><SCRIPT>text = new Array('i','n','f','o','@','h','a','n','d','e','l', 'g','a','t','e','.','c','o','m');for(i=0;i<text.le ngth;i++) {document.write(text[i])}</SCRIPT></A>

    or

    <script language="javascript"> function guard() {
    var p1, p2, p3, p4, p5, p6;
    p1 = '<a href="mai'
    p2 = 'info'
    p3 = '">'
    p1 += 'lto:'
    p2 += '@'
    p5 = '</a>'
    p6 = 'info@handelgate.com'
    p2 += 'handelgate.com'
    p4 = p6
    document.write(p1+p2+p3+p4+p5)
    }
    guard();
    </script>


    But when I paste them between the body tags it never appears.

    Should I move part of it to the head tags? How do I do that (if that is the problem)?

    Ive been trying to solve this problem for quite a long, now i think its because im using dreamweaver...

    Thank you

  • #2
    Re: Dreamweaver page script problem

    The place where u got the scripts doesnt explain this to you? I believe it goes where your email address appears, just before and after it, but id have to see where u got the script and how they applied it. If this is from dynamicdrive.com they are usually pretty explicit about how to do this, what parts go where, what has to be uploaded as a seperate document etc etc.

    Go back where u got the script and find the instructions.

    Karen

    VodaHost

    Your Website People!
    1-302-283-3777 North America / International
    02036089024 / United Kingdom
    291916438 / Australia

    ------------------------

    Top 3 Best Sellers

    Web Hosting - Unlimited disk space & bandwidth.

    Reseller Hosting - Start your own web hosting business.

    Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)


    Comment

    Working...
    X