[eluser]Shiju S S[/eluser]
The noconflict function in the code below is not allowing other functions to work: That is all I know.
Code:
<$cript type="text/javascript" charset="utf-8">
var $j = jQuery.noConflict();
var base_url = "<?php echo base_url();?>";
$j(function()
{
function log( message ) {
$j( "<div/>" ).text( message ).prependTo( "#log" );
$j( "#log" ).scrollTop( 0 );
}
$j( "#tags" ).autocomplete({
source: function(req, add){
var base_url = "<?php echo base_url();?>";
$j.ajax({
url: base_url + "searchbox/autocomplete",
dataType: 'json',
type: 'POST',
data: {fields:$j("#tags").val()},
success: function(data){
add(data);
}
}); },
minLength: 0,
select: function( event, ui )
{
log( ui.item ?
"Selected: " + ui.item.value + " aka " + ui.item.id :
"Nothing selected, input was " + this.value );
}
});
});
<$script>
Password strength checker function is
Code:
<$cript type="text/javascript">
$(function() {
$('.password').pstrength();
});
<$cript>
Another Slider Function
Code:
<$cript type="text/javascript">
$(document).ready( function(){
var buttons = { previous:$('#jslidernews2 .button-previous') ,
next:$('#jslidernews2 .button-next') };
$('#jslidernews2').lofJSidernews( { interval:5000,
easing:'easeInOutQuad',
duration:1200,
auto:true,
mainWidth:684,
mainHeight:300,
navigatorHeight : 100,
navigatorWidth : 310,
maxItemDisplay:3,
buttons:buttons } );
});
<$cript>