Click here to Skip to main content
15,899,474 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi guyz I'm trying to implement the InnerFade JQuery on my page but I'm a little bit confuse how to do it..
This is my code...


JavaScript
<script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.innerfade.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.js")" type="text/javascript"></script>

<script type="text/javascript">
	$(document).ready(
		function(){
			$('#time').innerfade({
				animationtype: 'slide',
				speed: 750,
				timeout: 2000,
				type: 'random',
				containerheight: '1em'
			});

		}
	);
</script>

<body>
<div class="page">
<div id="header">
<br />
            <div id="title">

            </div>
            <div id="menucontainer">
                <ul id="menu">
                       
                </ul>
                </div>
                </div>
       				
        <div id="main">
            @RenderBody()

        </div>
        <div id="footer">
        </div>
    </div>

</body>
</html>


(Problem): I dont know where to put the <ul id="time"> since I'm using a dynamic page.. please help me guyz.. thanks
Posted
Updated 12-Mar-12 16:09pm
v5

1 solution

 
Share this answer
 
Comments
botskie 13-Mar-12 2:21am    
Thanks for the reference dude.. but I got it work using <ul id="time" style="display:none"> on my page.. Now my problem is that method shows only one item per fade.. I want to have it fade per table.. If you have any suggestions about it I'll appreciate it dude.. Thanks.. :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900