jquery.js must load before any plugin files that utilize jquery. In
your case you are using file name "jquery-1.2.3.pack.js", move it above
jcarousel file jobcanibals wrote: hi , i am new this jquery i was thrying to use jquery jcarousel effect , but i cant implement, this my _javascript_ with html code please help out as i was facing some deadline....<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Reservation 1</title> <link href="" rel="stylesheet" type="text/css" /> <link href="" rel="stylesheet" type="text/ css" /> <link href="" rel="stylesheet" type="text/css" /> <script language="_javascript_" src=""> </ script> <script language="_javascript_" src=""> </script> <script type="text/_javascript_"> jQuery(document).ready(function() { jQuery('#mycarousel').jcarousel({ itemLoadCallback: itemLoadCallbackFunction }); }); </script> <script type="text/_javascript_"> function itemLoadCallbackFunction(carousel, state) { for (var i = carousel.first; i <= carousel.last; i++) { // Check if the item already exists if (!carousel.has(i)) { // Add the item carousel.add(i, "I'm item #" + i); } } }; </script> </head> <body> <ul id="mycarousel" class="jcarousel-list"> <li class="jcarousel-item-1"> <img src="" /></li> <li class="jcarousel-item-1"> <img src="" /></li> <li class="jcarousel-item-1"> <img src="" /></li> <li class="jcarousel-item-1"> <img src="" /></li> <li class="jcarousel-item-1"> <img src="" /></li> <li class="jcarousel-item-1"> <img src="" /></li> <ui> </body> </html> |
- [jQuery] how to get jCarousel effect , jobcanibals
- [jQuery] Re: how to get jCarousel effect , Charlie