Added: 10 months ago
From: HarryFinnUK
Views: 1,472
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (6)

Sign In or Sign Up now to post a comment!
  • Great tutorial mate. But I can't find one thing.. what if I have a link named "Show", and a toggle function attached to it, but I want to change the text of a link to "Hide" after showing the stuff, and when clicking "Hide", move back to "Show", how can I do it?

  • I used your tutorial with the following tweaks to make it work in an external file and I used (.hide) instead of (display:none)

    $(document).ready(function () {  $('#battle').hide(); $('#toggle').click(function () { $('#battle').slideToggle('slow­'); });

    });

  • keep them coming ! :D

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more