Моя семья и другие животные

Eleonora Grigorjeva

Эти славные хвостики живут в доме моей старшей дочери в городке Арма в Великобритании. У каждого свой характер, своя судьба.
uploaded 05 фев, 2017   Copyright by Eleonora Grigorjeva
187
2
Boji
05 фев, 2017
Scorpio
Дружная семья :)
05 фев, 2017
Ульяна Мизинова
здорово!)
05 фев, 2017
GaL-Lina
Какие прелестные снимки! И комментарии - просто песня! :)
Отличная серия!
05 фев, 2017
Анатолий Довыденко
Понравились!
05 фев, 2017
Валерий Пешков
Забавные и разные)
05 фев, 2017
Галина
Чудесные модели!
05 фев, 2017
Шипунова Ирина
Какая прелесть..!)
05 фев, 2017
Danny Vangenechten
Beautiful series!
05 фев, 2017
Valtteri Mulkahainen
Отлично!
comment add by mobile app
05 фев, 2017
Александр Гвоздь
Отличная серия!
05 фев, 2017
Григорий Беденко
хорошие!)
06 фев, 2017
Гагик
Здорово!
06 фев, 2017
Марина Никифорова
Разноцветная семейка :-)
06 фев, 2017
Maria V. Gorskaya
Да, характеры!
06 фев, 2017
Вячеслав Невидимов
Славная семейка!
06 фев, 2017
Eleonora Grigorjeva
ОГРОМНЕЙШЕЕ ВСЕМ СПАСИБО!
06 фев, 2017
Elizabeth E
Красивые и прелестные и у каждого своя судьба!
07 фев, 2017
Курочкина Диана
всегда с большим удовольствием смотрю все Ваши работы с животными! Кошачье семейство Вашей дочки замечательное!
07 фев, 2017
Eleonora Grigorjeva
Есть ещё собачка, но в этот раз было совсем мало времени, я прилетала на пару дней по делам, и его не успела снять)
07 фев, 2017
Инна Сухова
классные модели!
08 фев, 2017
Анжела Усманова
Чудесная семейка)
19 фев, 2017



Like the picture?

Write a comment!

To do this, sign in:

Facebook login temporarily unavailable. Please use your login and password to enter.
If you can not enter, write to support@35photo.ru

Subscribe and get the best work 35PHOTO 1 time per week

You can always opt out of receiving the subscription one-click
Subscribe Now!     OR     Best in Telegram
Полезные ссылки:

Android app on Google Play
Photos on the map
About   |   Help   |   Other   |   Models
18+
Select language:
en   ru   uk   cn   fr   de   bg   es   pl   vi   nl   sk   it   id   th   tr   ko
- promotion
Design and programming by Kochergin Valery
var photoCoor = {"lat":"0","lng":"0"}; function initialize() { if(google){ var myLatlng = new google.maps.LatLng(photoCoor.lat,photoCoor.lng); var myOptions = { zoom: 2, center: myLatlng, disableDefaultUI: true, mapTypeId: google.maps.MapTypeId.ROADMAP }; var map = new google.maps.Map(document.getElementById("map"), myOptions); var marker = new google.maps.Marker({ position: myLatlng, map: map }); } } // console.log("ad"); $( "#displayKeys").hide().fadeIn(1000).delay(5000).fadeOut(1000, function() { $(this).remove(); // console.log("ad"); });var showNextBlock = "photoLibBlock";showNextList("photoUser");var nextListMoreOp = "&user_id=28990";var showNextListId=1638975; photoId = 1638975; photoIds = 0; userId = 28990; photoData = {"photo_id":1638975,"user_id":28990,"user_login":"rhapsody","user_name":"Eleonora Grigorjeva","photo_name":"\u041c\u043e\u044f \u0441\u0435\u043c\u044c\u044f \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u0436\u0438\u0432\u043e\u0442\u043d\u044b\u0435","src":"http:\/\/35photo.ru\/photos\/20170205\/1638975.jpg","link":"http:\/\/35photo.ru\/photo_1638975\/","bg":"1A1A1A","comm_count":22,"photo_see":187,"photo_fav":2,"photo_rating":57,"var_vote":null,"timeAdd":"05 \u0444\u0435\u0432, 2017","user":{"status":"good"},"buyAllow":0,"photo_type":1,"moder":{"yes":"0","no":"0"},"user_data":{"photo_count":"672"},"photo_desc":"\u042d\u0442\u0438 \u0441\u043b\u0430\u0432\u043d\u044b\u0435 \u0445\u0432\u043e\u0441\u0442\u0438\u043a\u0438 \u0436\u0438\u0432\u0443\u0442 \u0432 \u0434\u043e\u043c\u0435 \u043c\u043e\u0435\u0439 \u0441\u0442\u0430\u0440\u0448\u0435\u0439 \u0434\u043e\u0447\u0435\u0440\u0438 \u0432 \u0433\u043e\u0440\u043e\u0434\u043a\u0435 \u0410\u0440\u043c\u0430 \u0432 \u0412\u0435\u043b\u0438\u043a\u043e\u0431\u0440\u0438\u0442\u0430\u043d\u0438\u0438. \u0423 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0441\u0432\u043e\u0439 \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440, \u0441\u0432\u043e\u044f \u0441\u0443\u0434\u044c\u0431\u0430.","tags":["\u041d\u0430\u0442\u044e\u0440\u043a\u043e\u0442\u0438\u043a\u0438","\u041e\u0440\u0445\u0438\u0434\u0435\u044f","\u0420\u044b\u0436\u0438\u0439 \u043a\u043e\u0442","\u0421\u0442\u0443\u043b","\u0427\u0451\u0440\u043d\u044b\u0439 \u043a\u043e\u0442"],"other_photos":[{"id":"1735365","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/347\/1735365_320r.jpg"},{"id":"1732580","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/346\/1732580_320r.jpg"},{"id":"1728214","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/345\/1728214_320r.jpg"},{"id":"1725682","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/345\/1725682_320r.jpg"},{"id":"1721580","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/344\/1721580_320r.jpg"},{"id":"1719610","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/343\/1719610_320r.jpg"},{"id":"1715549","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/343\/1715549_320r.jpg"},{"id":"1713357","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/342\/1713357_320r.jpg"},{"id":"1711030","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/342\/1711030_320r.jpg"}],"otherData":"
Taken with: EOS 1Ds Mark III<\/a><\/div>
Lens: EF 24-105 mm F\/4.0 L IS USM<\/a><\/div>
Albums:
\u041d\u0430\u0442\u044e\u0440\u041a\u043e\u0442\u0438\u043a\u0438<\/a>
<\/div>
Communitys:
<\/a>
Still life<\/a>
ZOO naturmort<\/a>
<\/div>
Style: Animals<\/a>
<\/div>","series":[{"id":"1055387","src":"http:\/\/35photo.ru\/photos_series\/1055\/1055387.jpg","like":"21","title":"\u041b\u0430\u0439\u043b\u0430 - \u0441\u0430\u043c\u0430\u044f \u0441\u0442\u0430\u0440\u0448\u0430\u044f \u043a\u043e\u0448\u043a\u0430, \u0435\u0439 \u0431\u0435\u0437 \u043c\u0430\u043b\u043e\u0433\u043e \u0434\u0435\u0441\u044f\u0442\u044c \u043b\u0435\u0442. \u0411\u044b\u043b\u0430 \u0432\u0437\u044f\u0442\u0430 \u0432 \u0434\u043e\u043c \u0438\u0437 \u043f\u0440\u0438\u044e\u0442\u0430 \u0435\u0449\u0451 \u043a\u043e\u0442\u0451\u043d\u043a\u043e\u043c. \u0425\u0430\u0440\u0430\u043a\u0442\u0435\u0440 \u0441\u043a\u043b\u043e\u0447\u043d\u044b\u0439, \u0433\u043e\u043b\u043e\u0441 \u043d\u0430 \u0440\u0435\u0434\u043a\u043e\u0441\u0442\u044c \u043f\u0440\u043e\u0442\u0438\u0432\u043d\u044b\u0439, \u043d\u043e \u043b\u0438\u0422\u0446\u043e \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0434\u0435\u043b\u0430\u0435\u0442 \u043e\u0447\u0435\u043d\u044c \u0431\u043b\u0430\u0433\u043e\u0441\u0442\u043d\u043e\u0435"},{"id":"1055391","src":"http:\/\/35photo.ru\/photos_series\/1055\/1055391.jpg","like":"18","title":"\u041a\u043e\u0442\u0438\u043a \u043f\u043e \u0438\u043c\u0435\u043d\u0438 \u0414\u044b\u043c \u0436\u0438\u0432\u0451\u0442 \u0443 \u0434\u043e\u0447\u043a\u0438 \u043e\u043a\u043e\u043b\u043e \u0447\u0435\u0442\u044b\u0440\u0451\u0445 \u043b\u0435\u0442. \u0423 \u043d\u0435\u0433\u043e \u0438\u0441\u043a\u0430\u043b\u0435\u0447\u0435\u043d\u0430 \u0437\u0430\u0434\u043d\u044f\u044f \u043b\u0430\u043f\u043a\u0430, \u0435\u0433\u043e \u0434\u043e\u043b\u0433\u043e \u043b\u0435\u0447\u0438\u043b\u0438 \u0438 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432\u0430\u043b\u0438 \u0432 \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0438, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043e\u043d \u0441\u0442\u0430\u043b \u0432\u043e\u0440\u0447\u043b\u0438\u0432, \u043e\u0442\u0431\u0438\u0440\u0430\u0435\u0442 \u0432\u043a\u0443\u0441\u043d\u044f\u0448\u043a\u0438 \u0443 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445. \u0411\u044b\u0432\u0430\u0435\u0442 \u043e\u0447\u0435\u043d\u044c \u043d\u0435\u0436\u043d\u044b\u043c \u0438 \u043b\u0430\u0441\u043a\u043e\u0432\u044b\u043c \u043f\u043e\u0434 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u0435"},{"id":"1055402","src":"http:\/\/35photo.ru\/photos_series\/1055\/1055402.jpg","like":"14","title":"\u0420\u044b\u0436\u044b\u0439 \u0434\u0443\u0440\u0438\u043b\u043a\u0430 \u0421\u0438\u043b\u044c\u0432\u0435\u0441\u0442\u0440. \u0412\u0441\u0451 \u0435\u0449\u0451 \u0440\u0430\u0441\u0442\u0451\u0442 \u0432\u043e \u0432\u0441\u0435 \u0441\u0442\u043e\u0440\u043e\u043d\u044b, \u0445\u043e\u0442\u044f \u0435\u043c\u0443 \u0443\u0436\u0435 \u0434\u0432\u0430 \u0433\u043e\u0434\u0430. \u0412\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043c\u043e\u0440\u0434\u044b \u043b\u0438\u0446\u0430 \u0438\u043c\u0435\u0435\u0442 \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u043a\u043e\u0442\u0451\u043d\u043e\u0447\u044c\u0435, \u043b\u044e\u0431\u0438\u0442 \u0431\u043e\u0434\u0430\u0442\u044c\u0441\u044f, \u043d\u043e \u043c\u0443\u0440\u0447\u0438\u0442 \u043e\u0447\u0435\u043d\u044c \u0440\u0435\u0434\u043a\u043e."}]}; lastRePost = null; thisPageUrl = "http://rhapsody.35photo.ru/photo_1638975/"; setBgComm = "#444444"; whovotelike = ""; commentTo = "photo_1638975"; allowAddComm = false; jQuery(function( $ ){ SetBG('#1A1A1A', '##CCCCCC'); loadComm(); showSimilar(); //resizeAllImages(); ilike.checkAll(); facebookGraph(); showBgBlock(); }); function getPhotoByJson( url ){ showLoadingPhoto( "loading" ); $("#moVotes23").hide(); $.ajax({ type: "GET", dataType: "jsonp", data: {}, url: url, error: function (jqXHR, textStatus, errorThrown) { //console.log("error load Photo"); }, success: function (data) { for (var p in data.data){ if (data.data.propertyIsEnumerable(p)){ //update banner rand = Math.floor(Math.random()*99999999999); clickurl_enc = encodeURI(window.location); $("#a139d7a2").attr( "src", "http://adv.muslib.ru/www/delivery/afr.php?zoneid=4&target=_blank&cb=" + rand + "&ct0=" + clickurl_enc ); //$("#a139d7a2").attr( "src", function ( i, val ) { return val; }); //console.log("banner update: " + $("#a139d7a2").attr( "src" ) ); photoData = data.data[p]; showPhotoByJson(); $("#liveinternetBlock").html( liveinternet() ); //1000x90 $(".ac662eaa").attr( "src", "http://adv.muslib.ru/www/delivery/afr.php?zoneid=5&target=_blank&cb=" + rand + "&ct0=" + clickurl_enc ); return true; }else{ showAlert("Last photo."); return true; } } showAlert("The End. No more photo. Choose other direction"); $( mainPhoto ).hide().fadeIn(100); showLoadingPhoto(); } }); }; function getCommByJson( photoId ){ var url = "http://35photo.ru/show_block.php?type=comments&type2=showAllPhotoComm&photoId=" + photoId; $.ajax({ type: "GET", dataType: "jsonp", data: {}, url: url, error: function (jqXHR, textStatus, errorThrown) { //console.log("error load comm"); }, success: function (data) { //console.log("show comm - ok"); $("#commentsBlock").html( data.data ); loadComm(); } }); }; function showSeriesPohotoPrev(){ //$(".seriesPhotoPrev").remove(); selectPhotoInSeries = 0; $("#zonePhotoInScroll").html(""); $("#zonePhotoInScroll").css("height", "auto" ); //SeriesPhoto if( photoData.series ){ //vertical //$("#zonePhotoInScroll").css("min-height", zonePhotoInScrollH ); //$("#btn_photo_right").hide(); //seriesPoints = $( '
    ' ).appendTo( $("#zonePhotoIn") ).addClass('seriesPhotoPrev'); // console.log('seriestPoints'); $.each( photoData.series, function( index, value ) { //prev // var smallSrc = "http://35photo.ru/photos_series_prev/" + Math.floor( value.id / 1000 ) + "/" + value.id + "_75r.jpg"; // var li = $("
  • ").appendTo( seriesPoints ).attr("id", "seriesRow" + index ); // $('') // .attr("src", smallSrc ) // .attr("height", "100") // .attr("width", "100") // .attr('photo-ids', value.id ) // .attr('photo-src', value.src ) // .on("click", function(){ showPhotoInSeries( index ) } ) // .appendTo( li ); //big var li = $("
    ").appendTo( "#zonePhotoInScroll" ).attr("id", "seriesRowBig" + index ).attr('index-row', index); var serPhoto = $('') .attr("src", value.src ) .addClass("mainPhoto") .attr('photo-ids', value.id ) .on("click", function(){ btnFullScreen.click() } ) .appendTo( li ); //title // if( value.title ){ var description = $('
    ') .addClass("description") .html( value.title ) .appendTo( li ); // } var btnLikeId = 'like2_'+ value.id; var btnLike = $('') .addClass("ilikeitD") .appendTo( description ); $('Like') .appendTo( btnLike ) .on("click", function(){ loadModalWindow('/show_block.php?type=voteClass&type2=cantVote&userId='+userId); return false; }); $(' ' + value.like + '   ') .appendTo( btnLike ) .on("click", function(){ loadModalWindow('/show_block.php?type=voteClass&type2=cantVote&userId='+userId);return false; }); doresize(serPhoto, true ); }); showPhotoInSeries( 0 ); showLoadingPhoto(); //singlePhoto }else{ photoIds = 0; mainPhoto = $('') .addClass("mainPhoto") .appendTo( "#zonePhotoInScroll" ) .on("click", function(){ btnFullScreen.click() } ); $("#btn_photo_right").show(); showPhotoOnDisplay( photoData.src ); doresize(mainPhoto, true ); } if( ( photoData.photo_type == 0 || photoData.photo_type == 1 ) && photoData.buyAllow ) $("#buttonBuyBlock").show(); else{ $("#buttonBuyBlock").hide(); } } function showAuthorPhotos(){ var authorPhotos = $(".authorPhotos"); authorPhotos.html(""); if( photoData.other_photos ){ $.each( photoData.other_photos, function( index, value ) { var authorPhotos = $(".authorPhotos"); var li = $( "
  • " ).appendTo( authorPhotos ); }); } } function showPhotoTags(){ var tagList = $(".tagList"); tagList.html(""); if( photoData.tags ){ $.each( photoData.tags, function( index, value ) { var tagList = $(".tagList"); var li = $( "" + value + "" ).appendTo( tagList ); }); } } function showPhotoInSeries( num, notScroll ){ //showLoadingPhoto( "loading" ); selectPhotoInSeries = num; photoIds = photoData.series[ num ].id; //$( seriesPoints ).find('li').removeClass('active'); $('#seriesRow' + num ).addClass('active'); //if( !notScroll ) $("#zonePhotoInScroll").scrollTo( "#seriesRowBig" + num, 200 ); //fullScreen showSeriesPoints(); showPhotoFull( {src:photoData.series[ num ].src}, selectPhotoInSeries ); //console.log("select " + selectPhotoInSeries); } function showPhotoMenu(){ hrm_data = {1:true}; //no load again show_block_hrm("", "photo_body",1); $("#hrm_1>a").off("click").on("click", function(){ show_block_hrm("", "photo_body",1); return false; }); if( photoData.coor ){ $("#hrm_2").show(); $("#hrm_2>a").off("click").on("click", function(){ show_block_hrm("?type=nearPhotos&photo_id=" + photoId, "photo_body",2); return false; }); }else{ $("#hrm_2").hide(); } if( photoData.exif ){ $("#hrm_3").show(); $("#hrm_3>a").off("click").on("click", function(){ show_block_hrm("?type=exifInfo&photo_id=" + photoId, "photo_body",3); return false; }); }else{ $("#hrm_3").hide(); } } function showPhotoOtherData(){ var otherData = $("#community"); otherData.html(""); if( photoData.otherData ){ otherData.html( photoData.otherData ); } //coor if( photoData.coor ){ $("#map").show(); photoCoor = photoData.coor; initialize(); }else{ $("#map").hide(); } //follow $("#addUserToFav").show(); $("#addUserToFavStatus").hide(); if( photoData.userInFav ){ $("#addUserToFav .unfollow").show(); $("#addUserToFav .follow").hide(); }else{ $("#addUserToFav .unfollow").hide(); $("#addUserToFav .follow").show(); } } function showPhotoByJson(){ //userScrollUsabilty( true ); //$(document).scrollTop( $(".menuLineTop").first().position().top ); photoId = photoData.photo_id; userId = photoData.user_id; avatarSrc = "http://ser-apr.35photo.ru/profile/photos/" + Math.floor( photoData.user_id / 5000) + "/" + photoData.user_id + "_140.jpg"; commentTo = "photo_" + photoId; setBgComm = "#" + photoData.bg; authorLink = "http://35photo.ru/" + photoData.user_login + "/"; thisPageUrl = "http://35photo.ru/photo_" + photoId + "/"; //get url data var ajaxVars = getAjaxVars(); listingBlock = ajaxVars[0] != undefined ? ajaxVars[0] : "author"; ChangeUrl( "Photo page = " + photoId, "/photo_" + photoId + "/#" + listingBlock + "/" + photoId ); getCommByJson( photoId ); showSeriesPohotoPrev(); var url = $(location).attr('href'); decodedUrl = decodeURIComponent(url); //console.log( decodedUrl ); // if( !photoData.series ){ // } showAuthorPhotos(); showPhotoTags(); showPhotoMenu(); showPhotoOtherData(); //share //YaShareInstance.updateShareLink( thisPageUrl + utm_end, photoData.user_name + ( photoData.photo_name ? " - " + photoData.photo_name : "" ) ); //console.log("ya share2"); $("#author_count_photo").attr("href", authorLink ); $("#author_count_photo > .count").html( photoData.user_data.photo_count ); $("#photoAuthor").attr("href", authorLink ); $("#photoAuthor").html( photoData.user_name ); $("#copyrightAuthor>.author").html( photoData.user_name ); $("#copyrightAuthor>.timeAdd").html( photoData.timeAdd ); $("#photoTitle").html( photoData.photo_name ? photoData.photo_name : "//no title" ); $("#userAvatar").attr("href", authorLink ); $("#userAvatar").find(".avator").attr("src", avatarSrc ); $("#photoFav").html( photoData.photo_fav ); $("#photoSee").html( photoData.photo_see ); $("#descPhotoMainBlock").html( photoData.photo_desc ? photoData.photo_desc : "//no description" ); //$("#zonePhotoInScroll").scroll(locateSeriesScreen); if( photoData.photo_type == 4 ){ //Pretendent $(".likeModerBlock").show(); $(".likeBlock").hide(); $(".likeModerBlock .yes").html( photoData.moder.yes ); $(".likeModerBlock .no").html( photoData.moder.no ); if( photoData.user.status == "new"){ $(".likeModerBlock>.votes").show(); $(".likeModerBlock>.approve").hide(); }else{ $(".likeModerBlock>.votes").hide(); $(".likeModerBlock>.approve").show(); } }else{ $(".likeModerBlock").hide(); $(".likeBlock").show(); likeBtnShow( "#likeZone", photoData ); } } function locateSeriesScreen(){ } function locateSeriesScreen_do(){ } function ChangeUrl(title, url) { if (typeof (history.pushState) != "undefined") { var obj = { Title: title, Url: url }; history.pushState(obj, obj.Title, obj.Url); } else { } } function show_next_photo(){ getPhotoByJson( 'http://api.35photo.ru/?method=photo.getNextPrev&direction=next&listing=' + listingBlock + '&photoId=' + photoId); } function show_prev_photo(){ getPhotoByJson( 'http://api.35photo.ru/?method=photo.getNextPrev&direction=prev&listing=' + listingBlock + '&photoId=' + photoId); } function showPhotoOnDisplay( src ){ $('').load( function(){ showLoadingPhoto(); $( mainPhoto ).attr("src", src ).hide().fadeIn(100); //fullScreen showSeriesPoints(); showPhotoFull( {src:src}, selectPhotoInSeries ); }).attr('src',function(){ return src; }).each(function() { if(this.complete){ $(this).load(); } }); } function loadImgToCache( src ){ $('').load(function(){}) .attr('src',function(){ return src; }).each(function() { if(this.complete){ $(this).load(); } }); } function showLoadingPhoto( status ){ if( loadingShowTimer ) clearTimeout( loadingShowTimer ); if( status == "loading" ){ //$( mainPhoto ).hide(); $( "#zonePhotoInScroll").hide(); loadingShowTimer = setTimeout(function() { $( "#loadingPhoto" ).fadeIn(100); }, 200 ); }else{ $( "#loadingPhoto" ).hide(); $( "#zonePhotoInScroll").show(); } } var zonePhotoInScrollH = 0; $(document).ready(function() { mainField2 = $("#zonePhoto"); mainPhoto = $("#mainPhoto"); //noScrollBlock("#zonePhotoInScroll"); // mainPhoto.on("click", function(){ // ; // }); var likeBlock = $( '
    ' + likeBtnText() + '
    ' ).prependTo( "#likeZone" ); var likeModerBlock = $( '
    ' + '
       
    ' + '
    Approve!
    ' + '
    ' ).prependTo( "#likeZone" ); var win_height = $(window).height(); var win_height_available = win_height - 120; $("#zonePhoto").css("min-height", win_height_available + "px" ); $("#zonePhotoIn").css("height", win_height_available + "px" ); zonePhotoInScrollH = ( win_height_available - 20 ) + "px"; //$("#zonePhotoInScroll").css("min-height", zonePhotoInScrollH ); showPhotoByJson( photoData ); $("#btn_photo_left").on("click", function(){ show_next_photo(); return false;} ); $("#btn_photo_right").on("click", function(){ show_prev_photo(); return false;} ); $("#btn_photo_left").css("height", win_height_available + "px" ); $("#btn_photo_right").css("height", win_height_available + "px" ); }); document.onkeydown = checkKey; function show_up_photo(){ if( !photoData.series ) return false; selectPhotoInSeries--; if( selectPhotoInSeries < 0 ) selectPhotoInSeries = photoData.series.length - 1; showPhotoInSeries( selectPhotoInSeries ); } function show_down_photo(){ if( !photoData.series ) return false; selectPhotoInSeries++; if( selectPhotoInSeries >= photoData.series.length ) selectPhotoInSeries = 0; showPhotoInSeries( selectPhotoInSeries ); } function checkKey(e) { e = e || window.event; //console.log( "keypressed = " + e.keyCode ); if( $("textarea:focus").length > 0 ) { return true; } if( $("input:focus").length > 0 ) { return true; } if (e.keyCode == '27') { photoExitFullScreen( false ); return false; } else if (e.keyCode == '37' || e.keyCode == '188') { //prev show_next_photo(); return false; } else if (e.keyCode == '39' || e.keyCode == '190') { //next show_prev_photo(); return false; } else if (e.keyCode == '38') { //up //console.log('up'); show_up_photo(); return false; } else if (e.keyCode == '40') { //down //console.log('down'); show_down_photo(); return false; }else if (e.keyCode == '76') { //like if( $( "#likeZone" ).find('.likePhoto').hasClass('countLikeA') ){ //addToFav if like $( "#likeZone" ).find('.countLikeFav').parent().click(); }else{ $( "#likeZone" ).find('.likePhoto').parent().click(); } return false; } else if (e.keyCode == '70') { //fav //console.log("fav click"); $("#addUserToFav").children().each(function(){ //console.log("fav a"); if( $(this).css("display") != "none" ){ $(this).click(); } }); return false; } } var photoBlock; var photoBlockStart; var photoBlockStop; var photoBlockStatus; var sticky_update_timer; var showPosSeries_timer; var allowShowPhoto = true; var scrollMouseSer; var listingBlock = "author"; var loadingShowTimer; var cantSetLike = true; function sticky_update(){ photoBlockStart = $('#sticky-photo-info-start').offset().top; photoBlockStop = $('#sticky-photo-info-stop').offset().top - photoBlock.height(); var window_top = $(window).scrollTop(); // console.log(photoBlockStart); // if( window_top <= 0 ){ // userScrollUsabilty( true ); // } } function sticky_relocate() { var window_top = $(window).scrollTop(); if (sticky_update_timer) clearTimeout(sticky_update_timer); sticky_update_timer = setTimeout(function() { sticky_update() }, 50 ); // console.log(window_top + "stop:" + photoBlockStop + "; start: " + photoBlockStart); if( window_top > photoBlockStop ){ if( photoBlockStatus != 'stickStop' ){ photoBlock.removeClass('stick'); photoBlock.addClass('stickStop'); photoBlock.css("top", ( photoBlockStop - photoBlock.height() ) + "px" ); photoBlockStatus = 'stickStop'; } } else if (window_top > photoBlockStart) { if( photoBlockStatus != 'stick' ){ photoBlock.css("width", photoBlock.width() + "px" ); photoBlock.addClass('stick'); photoBlock.removeClass('stickStop'); photoBlock.css("top", "" ); photoBlockStatus = 'stick'; } } else { if( photoBlockStatus == 'stick' ){ photoBlock.removeClass('stick'); photoBlock.removeClass('stickStop'); photoBlock.css("top", "" ); photoBlockStatus = ''; } } } $(function () { photoBlock = $('#sticky-photo-info'); sticky_update(); setTimeout(function() { sticky_update() }, 200 ); if( photoBlockStart + photoBlock.height() < photoBlockStop ){ $(window).scroll(sticky_relocate); sticky_relocate(); } }); /* ]]> */