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?
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?
evilproPL 4 months ago
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'); });
});
BIGJAXnet 8 months ago
keep them coming ! :D
riseandrule 10 months ago