Jump to content

How to get words to fade


mindapolis

Recommended Posts

Hi, I'm brand new to javascript and I was wondering if I could get some assistance in learning how to get items in a list to fade in and out?  right now the browser just displays the list.  Here's the code. 

 

<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">
li {
list-style-type: none;
}
</style>
<script type="text/javascript"> 
$(document).ready( 
	function(){ $('#skills').innerfade({
		 animationtype: 'slide',
		 speed: 750, 
		 timeout: 2000,
		 type: 'random', 
		 containerheight: '1em' 
	}); 
} 
);  
</script> 
</head>

<body>
  	<ul id="skills">
    	<li><a href="#n1">Website Development </a> </li>
    	<li><a href="#n2">Website Maintenance </a></li>
        <li><a href="#n3">Internet Research</a> </li>
    	<li><a href="#n4">Article Writing</a> </li>
        <li><a href="#n5">Blogging</a></li>
     </ul>
</body>
</html> 

Link to comment
https://forums.phpfreaks.com/topic/263154-how-to-get-words-to-fade/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.