Question: I have a database, I mapped it via Ado.net entity model, now I want to expose a single class from my model via WCF service. How can it be achieved?

Answer: 
Just use specifc CSS rules as:

```
.yellow:hover ~ #slider {
    background: yellow !important;
}

```

[SEE jsFiddle](http://jsfiddle.net/GJQA5/1/)
Here is something much more simple: [Fiddle](http://jsfiddle.net/tomanow/GJQA5/7/)

```
$(function() {
    $("#example-one").append("<div id='slider'></div>");

    var $slider = $("#slider");

    $slider
        .width($(".current_page").width())
        .css("left", $(".current_page a").position().left)
        .data("origLeft", $slider.position().left)
        .data("origWidth", $slider.width());

    $("#example-one div").find("a").hover(function() {
        $el = $(this);
        leftPos = $el.position().left;
        newWidth = $el.parent().width();

        $slider.stop().animate({
            left: leftPos,
            width: newWidth
        });
        $slider.css('background', $(this).parent().prop('class'));
    }, function() {
        $slider.stop().animate({
            left: $slider.data("origLeft"),
            width: $slider.data("origWidth")
        });
       $slider.css('background', 'red');    
    });
});

```