<!— —>


День Матери. 4 класс


752


0



1.0


.u-star-rating-14 { list-style:none; margin:0px; padding:0px; width:70px; height:14px; position:relative; background: url(‘/.s/img/photopage/rstars.png’) top left repeat-x }
.u-star-rating-14 li{ padding:0px; margin:0px; float:left }
.u-star-rating-14 li a { display:block;width:14px;height: 14px;line-height:14px;text-decoration:none;text-indent:-9000px;z-index:20;position:absolute;padding: 0px;overflow:hidden }
.u-star-rating-14 li a:hover { background: url(‘/.s/img/photopage/rstars.png’) left center;z-index:2;left:0px;border:none }
.u-star-rating-14 a.u-one-star { left:0px }
.u-star-rating-14 a.u-one-star:hover { width:14px }
.u-star-rating-14 a.u-two-stars { left:14px }
.u-star-rating-14 a.u-two-stars:hover { width:28px }
.u-star-rating-14 a.u-three-stars { left:28px }
.u-star-rating-14 a.u-three-stars:hover { width:42px }
.u-star-rating-14 a.u-four-stars { left:42px }
.u-star-rating-14 a.u-four-stars:hover { width:56px }
.u-star-rating-14 a.u-five-stars { left:56px }
.u-star-rating-14 a.u-five-stars:hover { width:70px }
.u-star-rating-14 li.u-current-rating { top:0 !important; left:0 !important;margin:0 !important;padding:0 !important;outline:none;background: url(‘/.s/img/photopage/rstars.png’) left bottom;position: absolute;height:14px !important;line-height:14px !important;display:block;text-indent:-9000px;z-index:1 }

var usrarids = {};
function ustarrating(id, mark) {
if (!usrarids[id]) {
usrarids[id] = 1;
$(«.u-star-li-«+id).hide();
_uPostForm(», {type:’POST’, url:’/photo/’, data:{
‘a’:’65’,
‘id’:id,
‘mark’:mark,
‘mod’:’photo’,
‘ajax’:’2′
}});
}
}


<!—->
Добавлено
<!——>
15.12.2014

elizschooll

#phtOtherThumbs {margin-bottom: 10px;}
#phtOtherThumbs td {font-size: 0;}
#oldPhotos {position: relative;overflow: hidden;}
#leftSwch {display:block;width:22px;height:46px;background: transparent url(‘/.s/img/photopage/photo-arrows.png’) no-repeat;}
#rightSwch {display:block;width:22px;height:46px;background: transparent url(‘/.s/img/photopage/photo-arrows.png’) no-repeat -22px 0;}
#leftSwch:hover, #rightSwch:hover {opacity: .8;filter: alpha(opacity=80);}
#phtOtherThumbs img {vertical-align: middle;}
.photoActiveA img {}
.otherPhotoA img {opacity: 0.5; filter: alpha(opacity=50);-webkit-transition: opacity .2s .1s ease;transition: opacity .2s .1s ease;}
.otherPhotoA:hover img {opacity: 1; filter: alpha(opacity=100);}
#phtOtherThumbs .ph-wrap {display: inline-block;vertical-align: middle;background: url(/.s/img/photopage/opacity02.png);}
.animate-wrap {position: relative;left: 0;}
.animate-wrap .ph-wrap {margin: 0 3px;}
#phtOtherThumbs .ph-wrap, #phtOtherThumbs .ph-tc {/*width: 200px;height: 150px;*/width: auto;}
.animate-wrap a {display: inline-block;width: 33.3%;*width: 33.3%;*zoom: 1;position: relative;}
#phtOtherThumbs .ph-wrap {background: none;display: block;}
.animate-wrap img {width: 100%;}

$(function() {
if (typeof($(‘#leftSwch’).attr(‘onclick’)) === ‘function’) {
$(‘#leftSwch’).click($(‘#leftSwch’).attr(‘onclick’));
$(‘#rightSwch’).click($(‘#rightSwch’).attr(‘onclick’));
} else {
$(‘#leftSwch’).click(new Function($(‘#leftSwch’).attr(‘onclick’)));
$(‘#rightSwch’).click(new Function($(‘#rightSwch’).attr(‘onclick’)));
}
$(‘#leftSwch’).removeAttr(‘onclick’);
$(‘#rightSwch’).removeAttr(‘onclick’);
});

function doPhtSwitch(n,f,p,d) {
if (!f){f=0;}
$(‘#leftSwch’).off(‘click’);
$(‘#rightSwch’).off(‘click’);
var url = ‘/photo/1-0-0-10-‘+n+’-‘+f+’-‘+p;
$.ajax({
url: url,
dataType: ‘xml’,
success: function( response) {
try {
var photosList = [];
photosList[‘images’] = [];
$($(‘cmd’, response).eq(0).text()).find(‘a’).each(function() {
if ($(this).hasClass(‘leftSwitcher’)) {
photosList[‘left’] = $(this).attr(‘onclick’);
} else if ($(this).hasClass(‘rightSwitcher’)) {
photosList[‘right’] = $(this).attr(‘onclick’);
} else {photosList[‘images’].push(this);}
});
photosListCallback.call(photosList, photosList, d);
} catch(exception) {
throw new TypeError( «getPhotosList: server response does not seems to be a valid uCoz XML-RPC code: » . response );
}
}
});
}

function photosListCallback(photosList, direction) {
var dirSign;
var imgWrapper = $(‘#oldPhotos’); // CHANGE this if structure of nearest images changes!
var width = imgWrapper.width();
imgWrapper.width(width);
imgWrapper = imgWrapper.find(‘ > span’);
newImg = $(‘‘, {
id: ‘newImgs’
});
$.each(photosList[‘images’], function() {
newImg.append(this);
});
if (direction == ‘right’) {
dirSign = ‘-‘;
imgWrapper.append(newImg);
} else {
dirSign = ‘+’;
imgWrapper.prepend(newImg).css(‘left’, ‘-‘ + width + ‘px’);
}
newImg.find(‘a’).eq(0).unwrap();
imgWrapper.animate({left: dirSign + ‘=’ + width + ‘px’}, 400, function() {
var oldDelete = imgWrapper.find(‘a’);
if (direction == ‘right’) {oldDelete = oldDelete.slice(0, 3);}
else {oldDelete = oldDelete.slice(-3);}
oldDelete.remove();
imgWrapper.css(‘left’, 0);
try {
if (typeof(photosList[‘left’]) === ‘function’) {
$(‘#leftSwch’).click(photosList[‘left’]);
$(‘#rightSwch’).click(photosList[‘right’]);
} else {
$(‘#leftSwch’).click(new Function(photosList[‘left’]));
$(‘#rightSwch’).click(new Function(photosList[‘right’]));
}
} catch(exception) {
if ( console && console.log ) console.log(‘Something went wrong: ‘, exception);
}
});
}


<!—->
Всего комментариев
<!——>
:

0

function spages(p, link) {
location.assign(atob(link));
}

<!—->
Добавлять комментарии могут только зарегистрированные пользователи.
<!——>

[

<!—->
Регистрация
<!——>

|

<!—->
Вход
<!——>

]

<!—

(function(){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};m[i].l=1*new Date();for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }}k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})(window, document, "script", "", "ym");ym(93439280, "init", {clickmap:true,trackLinks:true,accurateTrackBounce:true});

(function(w, d, n, s, t) {w[n] = w[n] || [];w[n].push(function() {mp_banners(5914);});t = d.getElementsByTagName(«script»)[0];s = d.createElement(«script»);s.type = «text/javascript»;s.src = «»;s.async = true;t.parentNode.insertBefore(s, t);})(this, this.document, «mpsuRotator»);