Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,842
- How-to & Troubleshooting
- 129,859
- Creating & Extending
- 25,886
- Requests & Feedback
- 9,532
- Third Party Plugins
- 9,828
- Showcase
- 3,316
- Ideas
- 1,402
- Miscellaneous
- 9,177
-
Here’s one example.
You probably have to change $ to jQuery for it to work within WordPress, like this:
//toggle login block horizontally
jQuery(".login-toggle").click(function(){
jQuery("#right-ear-inner").slideFadeToggle("slow");
jQuery(this).toggleClass("login-toggle-close"); return false;
});