Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,047
- How-to & Troubleshooting
- 129,810
- Creating & Extending
- 25,879
- Requests & Feedback
- 9,501
- Third Party Plugins
- 9,812
- Showcase
- 3,317
- Ideas
- 1,382
- 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;
});