Forum Description Animation with jQuery


 
Thread Tools Search this Thread
The Lounge What is on Your Mind? Forum Description Animation with jQuery
# 1  
Old 07-23-2018
Forum Description Animation with jQuery

I found that the pages that lists all the forums were too cluttered with the forum descriptions, so I added a bit of jQuery to hide the forum descriptions and to fade them in and out on mouseover:

Code:
<script>
$(document).ready(function() {
jQuery(".neo-forum-description").hide();
jQuery(".neo-forum-title-desc-subforums").hover(function(){
     jQuery(this).find(".neo-forum-description").fadeToggle(1000);
  });
});
</script>

Experimented with both 1 and 2 second fadeToggle display, and settled on 1 second.
# 2  
Old 07-25-2018
Change this to fadeIn only (not toggle):

Code:
<script>
$(document).ready(function() {
jQuery(".neo-forum-description").hide();
jQuery(".neo-forum-title-desc-subforums").hover(function(){
     jQuery(this).find(".neo-forum-description").fadeIn(1000);
  });
});
</script>

# 3  
Old 07-25-2018
Update:

Changed to:
Code:
<script>
$(document).ready(function() {
jQuery(".neo-forum-description").hide();
jQuery(".neo-forum-title-desc-subforums").hover(function(){
     //jQuery(this).find(".neo-forum-description").fadeIn(1000);
     jQuery(".neo-forum-description").fadeIn(2000);
  });
});
</script>

Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. What is on Your Mind?

JQuery and CSS Flex Code for Responsive Forum Home Page

So far, I have completed making the home page more responsive (except for the forum stats at the top and the WOL box at the bottom, they still use scroll bars). xevV3_iZ8-s For full screen use the link below and set your YT resolution to 1080p60 HD https://youtu.be/xevV3_iZ8-s Here is... (1 Reply)
Discussion started by: Neo
1 Replies

2. What is on Your Mind?

Forum Display - Thread Preview Text Animation

Instead of the slow and not readable tooltips with the preview of the thread content in forum view, I have added the preview with mouseover (see attached movie). Let me know if you want a different kind of preview (animation, duration font-color, size, etc,) Thanks. <script>... (29 Replies)
Discussion started by: Neo
29 Replies

3. Post Here to Contact Site Administrators and Moderators

Is it possible to add Python in the description of Shell Programming and Scripting of this forum?

https://www.unix.com/shell-programming-and-scripting/ The current description of Shell Programming and Scripting has: Unix shell scripting - KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and shell scripts and shell scripting languages here. Perl, php are there. Is it possible to add PYTHON there too? (3 Replies)
Discussion started by: cola
3 Replies

4. Shell Programming and Scripting

While loop animation

This is just for fun but i can't work it out I want to animate this dotted line in a shell script. .................................................................................. I want it to start at one dot like this . and end up printing them all. I think I need a while loop... (5 Replies)
Discussion started by: digitalviking
5 Replies

5. UNIX for Dummies Questions & Answers

script animation

I have read hundreds of the postings and cannot find the answer to my question...so I hope that someone is able to answer it for me. I am writing a script in bash, and would like to add animation. I have a gif file that I would like to open and have displayed on the screen. Can this be done? Of... (0 Replies)
Discussion started by: debit
0 Replies

6. What is on Your Mind?

unix.com Flash animation

I realy Love the look of the Flash animation at top of the forum, very sweet. But it uses all of my cpu power :( even winamp starts getting little skips. Then i have to scroll down and hide the nice animation :( Maybe someone could try to tune it a little bit. Thats on a 1,6 Ghz... (0 Replies)
Discussion started by: Lazzar
0 Replies

7. UNIX Desktop Questions & Answers

3d animation

What are the benefits to using UNIX for 3d animation. I am looking into the field, and most places require a strong background in UNIX. Why is this? (3 Replies)
Discussion started by: aloysius1001
3 Replies

8. UNIX Desktop Questions & Answers

Graphics And Animation

DOES ANYBODY KNOW WHY C OR ANY OTHER UNIX LANGUAGE IS USED IN THREE DIMENSIONAL ANIMATION AND RENDERING (5 Replies)
Discussion started by: aloysius1001
5 Replies
Login or Register to Ask a Question