Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Website design feedback/critique Re: Website design feedback/critique

#112340
JohnMotylJr
Participant

@jshjohnson,

I think the website it dramatically better, gives it a more contemporary look rather than a early 2000’s or 90’s approach.

To embelish on what @kgscott284 said in regards or using the mailto:. If it’s really necessary to use it than you can incorporate something like this to protect against spam.

html

<span class="email">name[at]domain[dot]com</span>

jQuery

$(function() {
    $('.email').each(function() {
        var $email = $(this);
        var address = $email.text()
        .replace(/s*[at]s*/, '@')
        .replace(/s*[dot]s*/g, '.');
        $email.html(''+ address +'');
    });
});

or use php if so choose, just my two cents..