| Current Path : /var/www/html/abhishek/B/ |
| Current File : /var/www/html/abhishek/B/script.js |
$(document).ready(function(){
$('#slideshow').cycle({
fx: 'zoom',
speed: 'slow',
timeout: 5000,
pager: '#slider_nav',
pagerAnchorBuilder: function(idx, slide) {
// return sel string for existing anchor
return '#slider_nav li:eq(' + (idx) + ') a';
}
});
$('#slideshow1').cycle({
fx: 'shuffle',
speed: 'slow',
timeout: 5000,
pager: '#slider_nav',
pagerAnchorBuilder: function(idx, slide) {
// return sel string for existing anchor
return '#slider_nav li:eq(' + (idx) + ') a';
}
});
$('#slideshow2').cycle({
fx: 'turnDown',
speed: 'slow',
timeout: 5000,
pager: '#slider_nav',
pagerAnchorBuilder: function(idx, slide) {
// return sel string for existing anchor
return '#slider_nav li:eq(' + (idx) + ') a';
}
});
// radius Box
$('.wp-pagenavi a, .wp-pagenavi .current').css({"border-radius": "5px", "-moz-border-radius":"5px", "-webkit-border-radius":"5px"});
// end radius Box
$("ul.sf-menu").superfish({
autoArrows: false,
delay: 400, // one second delay on mouseout
animation: {opacity:'show',height:'show'}, // fade-in and slide-down animation
speed: 'fast', // faster animation speed
autoArrows: false, // disable generation of arrow mark-up
dropShadows: false // disable drop shadows
});
$('.topnav ul').children('li').each(function() {
$(this).children('a').html('<span>'+$(this).children('a').text()+'</span>'); // add tags span to a href
});
});