$('#menu_48'+' '+'.sub'+parseInt(current+1)).stop().animate({backgroundPosition:(-width_bg+'px'+' '+ '0px')},300,function(){
if(item == 'bg_1_48' || current == (count_items-1))
//$('#menu_48'+' '+'.sub'+parseInt(current+1)).show();
if we hover the first or if we come from the last one,
this is the sub menu overlay. Let's hide the current one
/* item is bg_1 or bg_2 or bg_3, depending where we are hovering */
//if((parseInt(arrayIndex[1])-1) == current)
/* if we hover the current one, then don't do anything */
//alert(parseInt(arrayIndex[1])-1);
var arrayIndex = $this.attr('id').split('_');
var $this = $(this).children('.sub_menu');
$(strbg).parent('.sub-menu').hover(function(e){
var url_images = 'http://apruo.ru/'+'modules/'+'mod_impact'+'/images/';
bg_menu[1] = 'Image000011.jpg';
bg_menu[0] = 'Image00001.jpg';
//asign each element of $bg_menu in php to js
var width_bg = width_item.toString();
var strbg = '#bg_1_48,#bg_2_48,#bg_3_48,#bg_4_48';
var str_li_class = 'bg_1_48 bg_2_48 bg_3_48 bg_4_48';
Нормы выдачи СИЗ.
Комментариев нет:
Отправить комментарий