class clash on button style element
<p>We have a Button that is styled like this:</p>

<pre><code>&lt;a class="mini pink button"&gt;Arrange Viewing&lt;/a&gt;
</code></pre>

<p>And we also use scroll to, which if it was applied to a href link would look like this.</p>

<pre><code>&lt;a href="#myAnchor" rel="" id="anchor1" class="anchorLink"&gt;Arrange Viewing&lt;/a&gt;
</code></pre>

<p>The issue I have is I want the mini pink button to on click scroll to content, but I cannot have 2 classes on same object.</p>

<p>css for the button is:</p>

<pre><code>    a.button {
    border-radius: 3px 3px 3px 3px;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    font-family: "proxima-nova-1","proxima-nova-2",Helvetica,Arial,sans-serif;
    font-weight: bold;
    line-height: 1;
    padding: 9px 34px;
    position: relative;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}
.mini.button {
    font-size: 14px;
    padding: 6px 8px;
}
.pink, .pinkaswell {
    background: none repeat scroll 0 0 #EC008C;
}
</code></pre>

<p>js for the scroll to:</p>

<pre><code>$(document).ready(function() {
    $("a.anchorLink").anchorAnimate()
});

jQuery.fn.anchorAnimate = function(settings) {

    settings = jQuery.extend({
        speed : 1100
    }, settings);   

    return this.each(function(){
        var caller = this
        $(caller).click(function (event) {  
            event.preventDefault()
            var locationHref = window.location.href
            var elementClick = $(caller).attr("href")

            var destination = $(elementClick).offset().top;
            $("html:not(:animated),body:not(:animated)").animate({ scrollTop: destination}, settings.speed, function() {
                window.location.hash = elementClick
            });
            return false;
        })
    })
}
</code></pre>

<p>FIDDLE here <a href="http://jsfiddle.net/VtxnK/" rel="nofollow">http://jsfiddle.net/VtxnK/</a></p>
