Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,018
- How-to & Troubleshooting
- 129,639
- Creating & Extending
- 25,793
- Requests & Feedback
- 9,497
- Third Party Plugins
- 9,791
- Showcase
- 3,316
- Ideas
- 1,382
- Miscellaneous
- 9,179
-
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;
});