var TF = $.noConflict(); /*jQuery noConflict - Use TF */
TF(document).ready(function() { TF("#search").blur(function(){ if (TF(this).val()==''){ TF(this).val('Search Here...'); } });
TF("#search").focus(function(){ if (TF(this).val()=='Search Here...'){ TF(this).val(''); } });
//Insert your functions here!!!
TF('#slider').nivoSlider({ //Slider effect:'sliceUpLeft,sliceUpRight', //'sliceDownRight','sliceDownLeft','sliceUpRight','sliceUpLeft','sliceUpDown' //'sliceUpDownLeft','fold','fade','slideInRight','slideInLeft' slices:30, animSpeed:700, //Velocidade pauseTime:6000, startSlide:0, //Set starting Slide (0 index) directionNav:true, //Next & Prev directionNavHide:true, //Only show on hover controlNav:true, //1,2,3... controlNavThumbs:false, //Use thumbnails for Control Nav controlNavThumbsFromRel:false, //Use image rel for thumbs controlNavThumbsSearch: '.TFpg', //Replace this with... controlNavThumbsReplace: '_thumb.TFpg', //...this in thumb Image src keyboardNav:true, //Use left & right arrows pauseOnHover:true, //Stop animation while hovering manualAdvance:false, //Force manual transitions captionOpacity:0.6, //Universal caption opacity beforeChange: function(){}, afterChange: function(){}, slideshowEnd: function(){}, //Triggers after all slides have been shown lastSlide: function(){}, //Triggers when last slide is shown afterLoad: function(){} //Triggers when slider has loaded });
TF('.dropdown').each(function () { // DropDown Menu TF(this).parent().eq(0).hoverIntent({ timeout: 100, over: function () { var current = TF('.dropdown:eq(0)', this); current.slideDown(100); }, out: function () { var current = TF('.dropdown:eq(0)', this); current.fadeOut(200); } }); });