Give help. Get help.

  • # December 19, 2009 at 2:57 pm


    I can’t seem to get this code to act onRollover. It sounds like it would make total sense but I keep breaking it every time. Any thoughts?

    Taken from the tutorial found here:
    This is my function I’ve placed at the top of the page:

    $(function() {
    $(‘#tabvanilla > ul’).tabs({ fx: { height: ‘toggle’, opacity: ‘toggle’ } });

    If you need any other code don’t hesitate to shout.


    # December 19, 2009 at 3:25 pm

    You need the document.ready:

    $(document).ready(function() {
    $(‘#tabvanilla’).tabs({ fx: { height: ‘toggle’, opacity: ‘toggle’ } });
    # December 19, 2009 at 5:13 pm

    Hah. That worked. Duh. Better to be wrong because of a brain fart I suppose. :)

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.