0

I want to make a tabbed divs in asp.net. These divs should be made visible using Jquery scroll effect.

Sort of like this,Here

but i want to use Jquery.

Here is my div

<div class="prodreview">

//this will contain a form that will allow the user to review a product
</div>


<div class="prodDesc">

//this div will simple show product description
</desc>

1 Answer 1

1

Have you looked at jQueryUI tabs

http://jqueryui.com/demos/tabs/

In your example, something like this:

<div id="tabs">
    <ul>
        <li><a href="#prodreview">Product Review</a></li>
        <li><a href="#prodDesc">Product Description</a></li>
    </ul>
    <div id="prodreview">
        //this will contain a form that will allow the user to review a product
    </div>
    <div id="prodDesc">
        //this div will simple show product description
    </div>
</div>

<script>
    $(document).ready(function() {
        $( "#tabs" ).tabs();
    });
</script>
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.