مواقف للقطط مضحكه

  • تاريخ النشر: الإثنين، 13 أكتوبر 2014 آخر تحديث: الأحد، 15 فبراير 2015
مواقف للقطط مضحكه
مقالات ذات صلة
قطط بمواقف مضحكة جدا
مواقف مضحكة تخص البنات
مقاطع قطط مضحكة - نذالة
') // } // }); // // // // } function getDailyMotionId(url) { var m = url.match(/^.+dailymotion.com\/embed\/(video|hub)\/([^_?]+)[^#]*(#video=([^_&]+))?/); if (m !== null) { if(m[4] !== undefined) { return m[4]; } return m[2]; } return null; } function play_video() { $( document ).ready(function() { var src = videoReviewIframe.match('(?<=src=").*?(?=[\"])')[0]; var videoId = getDailyMotionId(src); const urlSearchParams = new URLSearchParams(src); const params = Object.fromEntries(urlSearchParams.entries()); dailymotion.createPlayer('inline_imgvideo', { params:{ mute:true, }, customConfig: { customParams: params['ads_params'], }, video:videoId, }).then((plyr) => { }) .catch((e) => console.error(e)); }); } $(document).ready(function () { setArticlePublishTime(); getAmazonProductsDetails(); /* sticky banner using fixto.js */ $(window).on("load", function () { $('#collapseSearchFilter').on('show.bs.collapse', function () { $(this).parents("body").append($('')); $('.btn_searchFliter').addClass('active'); $('.modal-backdrop, .header_wrap').on('click touchend', function (event) { if(!$(event.target).closest('#collapseSearchFilter').length){ $('#collapseSearchFilter').collapse('hide'); } }); }) $('#collapseSearchFilter').on('hide.bs.collapse', function () { $('body > .modal-backdrop').remove(); $('.btn_searchFliter').removeClass('active'); }) // if(bundle != 'recipe') { setTimeout(function () { $('#bannerSideStikcy03').fixTo('.ck_editor', { className : 'banner_side_sticky_node', top: 10, mindBottomPadding: false, useNativeSticky: false, mind: '.hdrsticky' }); }, 1000); // } }); /* /sticky banner using fixto.js */ /* Polls Node */ $('.poll_wrapper .poll_content input[type="radio"]').change(function (e) { e.preventDefault(); $('#poll_submit_button').prop("disabled", false); return false; }); $('#poll_submit_button').click(function (e) { e.preventDefault(); var _entity_id = $('#entity_id').val(); var _answer = $('input[type=radio]:checked').val(); if (_entity_id == null || _entity_id == undefined || _entity_id == '' || _answer == null || _answer == undefined || _answer == '') { return false; } var _url = baseurl + 'poll/vote'; var _data = {entity_id: _entity_id, answer: _answer, csrf_7awi_media: $('input[name="csrf_7awi_media"]').val()}; // $(document).scrollTop($('.poll_content dt').offset().top); $('.loader_block').show(); $('.poll_content, .poll_control').hide(); $.ajax({ url: _url, type: "POST", data: _data, success: function (data) { if (data && data.html) { $('.poll_wrapper').html(data.html); $('.loader_block').hide(); $('.poll_content, .poll_control').show(); $.cookie('layalp_' + _entity_id, 1, {expires: 30, path: '/'}); localStorage.setItem('layalp_' + _entity_id, "1"); } else { $('.loader_block').hide(); $('.poll_content, .poll_control').show(); } }, error: function () { $('.loader_block').hide(); $('.poll_content, .poll_control').show(); } }); return false; }); /* Share Open,Close List */ $('body').on('mouseover', '.sharebtn_wrap', function () { $(this).addClass('active'); }); $('body').on('mouseleave', '.sharebtn_wrap', function () { $(this).removeClass('active'); }); /* /Share Open,Close List */ /* Hover on an Article Box */ $('body').on('mouseover', '.boxitem .caption, .boxitem .thumbnail, .articl_box .caption, .articl_box .thumbnail', function () { $(this).addClass('active'); }); $('body').on('mouseleave', '.boxitem .caption, .boxitem .thumbnail, .articl_box .caption, .articl_box .thumbnail', function () { $(this).removeClass('active'); }); /* /Hover on an Article Box */ /* Shadow Page when Collapse Search Active */ $('#searchCollapse').on('show.bs.collapse', function () { $(this).parents("body").append($('')); $('.pg_revamp .hdrsearch .btn').addClass('active'); $('.modal-backdrop, .header_wrap').on('click touchend', function (event) { if (!$(event.target).closest('#searchCollapse').length) { $('#searchCollapse').collapse('hide'); } }); }) $('#searchCollapse').on('hide.bs.collapse', function () { $('body > .modal-backdrop').remove(); $('.pg_revamp .hdrsearch .btn').removeClass('active'); }) /* /Shadow Page when Collapse Search Active */ $(document).ready(function(){ $('.link_out').each(function(){ if($(this).children('img').length >0 ||$(this).children('picture').length >0){ $(this).removeClass('link_out link_purchase buy_btn') } }) }); /* Vidoe Player, and Share Scroll Mobile, Sticky */ var widthMatch = window.matchMedia("(max-width: 1320px)").matches; $(window).on("scroll", function (e) { var startStickyShare = $('#start_sticky').offset().top - $('.pg_inner .hdrmenu').height(); var endStickyShare = $('#limitBannerHere').offset().top - $('.pg_inner .hdrmenu').height(); didScroll = true; var vidoeArticleHeight = $(window).scrollTop(); $('body > .pg_shadow').removeClass('in'); // Video Sticky -- Only On Article Node Page */ if ((vidoeArticleHeight) > startStickyShare) { $('.pg_inner .header_wrap').addClass('sticky'); } else { $('.pg_inner .header_wrap').removeClass('sticky'); } // Show Logo While Scrolling Out Of Article Content -- Only On Article Node Page if (((vidoeArticleHeight) > endStickyShare) && widthMatch) { $('.normal_view').removeClass('hide').addClass('active'); $('.scroll_view').removeClass('active').addClass('hide'); } // MED-3368 if ((vidoeArticleHeight) > endStickyShare) { $('.nextprev_warpper').removeClass('hide'); } }); /* /Vidoe Player, and Share Scroll Mobile, Sticky */ /* Hide,Show Sticky Header Classes */ // Hide Header on on scroll down var didScroll; var lastScrollTop = 0; var delta = 10; var navbarHeight = $('.pg_revamp .header_wrap').outerHeight(); setInterval(function () { if (didScroll) { hasScrolled(); didScroll = false; } }, 250); function hasScrolled() { var st = $(this).scrollTop(); // Make sure they scroll more than delta if (Math.abs(lastScrollTop - st) <= delta) return; // If they scrolled down and are past the navbar, add class .nav-up. // This is necessary so you never see what is "behind" the navbar. if (st > lastScrollTop && st > navbarHeight) { // Scroll Down $('.pg_revamp .header_wrap').removeClass('nav-down').addClass('nav-up'); $('.pg_revamp .search_collapse').removeClass('in').addClass('collapse'); $('.pg_revamp .hdrsearch .btn').removeClass('active'); $('.pg_revamp .hdrmenu .dropdown').removeClass('open'); $('li.li_sharebtn .btn-group').removeClass('open'); $('.modal-backdrop').remove(); // $('#sm_spacer,#sm_spacer2').css('height', '0px'); /* New Lines, Imsakieh Script */ $('#imsakiehBtn').removeClass('active'); $('.imsakieh_collapse').removeClass('in').addClass('collapse'); /* /New Lines, Imsakieh Script */ } else { // Scroll Up if (st + $(window).height() < $(document).height()) { $('.pg_revamp .header_wrap').removeClass('nav-up').addClass('nav-down'); } } lastScrollTop = st; } /* /Hide,Show Sticky Header Classes */ /* swipe carousel - to check later */ //****************************************************************************************** $("#carousel-album-slider").swiperight(function () { $("#carousel-album-slider").carousel('next'); }); $("#carousel-album-slider").swipeleft(function () { if ($('#carousel-album-slider .carousel-inner .item:first').hasClass('active')) { return false; } else { $("#carousel-album-slider").carousel('prev'); } }); //****************************************************************************************** $("#carousel-main-slider").swiperight(function () { $("#carousel-main-slider").carousel('next'); }); $("#carousel-main-slider").swipeleft(function () { $("#carousel-main-slider").carousel('prev'); }); //****************************************************************************************** $("#pgntion_carselTblet").swiperight(function () { $("#pgntion_carselTblet").carousel('next'); }); $("#pgntion_carselTblet").swipeleft(function () { $("#pgntion_carselTblet").carousel('prev'); }); //****************************************************************************************** $("#carousel_celebrity_profiles").swiperight(function () { $("#carousel_celebrity_profiles").carousel('next'); }); $("#carousel_celebrity_profiles").swipeleft(function () { $("#carousel_celebrity_profiles").carousel('prev'); }); //****************************************************************************************** $("#carousel_celebrity_videos").swiperight(function () { $("#carousel_celebrity_videos").carousel('next'); }); $("#carousel_celebrity_videos").swipeleft(function () { $("#carousel_celebrity_videos").carousel('prev'); }); //****************************************************************************************** $("#slider-thumbs").swiperight(function () { $("#slider-thumbs").carousel('next'); }); $("#slider-thumbs").swipeleft(function () { $("#slider-thumbs").carousel('prev'); }); /* swipe carousel */ /* Inline Album Carousel */ $('.inline_album_carousel').each(function (index, value) { $(this).find('[id^=carousel-solidview_]').on('slid', function (e) { $(this).parents('.inline_album_carousel').find('.album-carousel .animated.once.slideInUp').text($(this).parents('.inline_album_carousel').find('.album-carousel .item.active').index() + 1); }); }); /* /Inline Album Carousel */ /* OWL Dreams Carousel */ if ($(".owl_carousel_dreams").length) { var start_position = $(".owl_carousel_dreams").find(".item a.active").attr('data-start'); if (start_position > 4 && start_position < 24) start_position = start_position - 4; else if (start_position > 24) start_position = start_position - 8; $(".owl_carousel_dreams").owlCarousel({ rtl: true, margin: 5, nav: true, center: true, URLhashListener: true, startPosition: 'URLHash', startPosition: start_position, stagePadding: 70, responsive: { 0: {items: 3}, 600: {items: 5}, 1200: {items: 8} } }) } /* Dreams Search */ $('.search_dream button[type=submit]').click(function () { $(this).parent().parent().removeClass('has-error'); var _tmp = $(this).parent().parent().find('input[type="text"]'); if (_tmp) { _tmp.val($.trim($("
" + decodeURIComponent(_tmp.val()) + "
").text())); if (_tmp.val().length < 3) { $(this).parent().parent().addClass('has-error'); } else { window.location.href = baseurl + 'ar/تفسير-الأحلام/بحث/' + encodeURIComponent(_tmp.val()) + '/'; } } return false; }); /* Dreams Search */ /* Add class name, at all general links of CK-Editor -- Only On Article Node Page */ $('.ck_editor .dcption_wrap > p, .ck_editor .dcption_wrap > ul:not(.mrlnk_articl), .ck_editor .dcption_wrap > ol, .ck_editor .dcption_wrap > div.inline_warapper > p, .ck_editor .dcption_wrap > div.inline_warapper > .daily_ramadan_wrapper > p, .ck_editor .dcption_wrap > div.inline_warapper > ol,.ck_editor .dcption_wrap ul:not(.clbrty_info), .ck_editor .dcption_wrap > div:not(.carspecs_wrapper, .cv_box, .dcption_celebrity_wrap, .know_box, .achievment_box, .dreams_wrapper, .article_10, .quiz_wrapper, .poll_wrapper, .imgellery_block, .video_block, .inline_warapper, .indexlnk_box, .mrlnk_articl, .inline_viewmore, .inline_imgallery, .inline_imgvideo, .inline_carouselwrap)').find('a').not('.reference-link, .affiliation-btn, .prices a').addClass('link_out'); $(".ck_editor .dcption_wrap ul.clbrty_info").find('a').removeClass('link_out'); $(".article.review_rate_wrapper").find('a').removeClass('link_out'); /* /Add class name, at all general links of CK-Editor */ /* Collapese References Block */ $('.block_reference .btn_reference a').on('click', function (){ if($(this).hasClass('hdropen')){ $(this).removeClass('hdropen').addClass('hdrclose'); $(this).parents('block_reference').find('hdr-collapse').removeClass('in') } else{ $(this).removeClass('hdrclose').addClass('hdropen'); } }) $('.reference-link').on('click', function(){ $('.block_reference .btn_reference a').removeClass('hdrclose').addClass('hdropen'); $('#collapseReference').addClass('in active'); }); // Scroll Top $(".mw-cite-backlink a[id*='ref_']").on('click', function(e){ e.preventDefault(); var targetElId = $(this).attr('href').replace(/#/, ''); var targetEl = $(".reference-link[id='"+targetElId+"']"); var offset = targetEl.offset(); if(client == 'babonej') { var hdrmenuHeight = $('.pg_inner .header_wrap').height() + $('.search_collapse').height() }else{ var hdrmenuHeight = $('.pg_inner .header_wrap').height() } var scrollto = offset.top - hdrmenuHeight; $('html, body').animate({scrollTop:scrollto}, 500); }); // Scroll Down $(".reference-link").on('click', function(e){ e.preventDefault(); var targetElId_ = $(this).attr('href').replace(/#/, ''); var targetEl_ = $("a[id='"+targetElId_+"']"); var offset_ = targetEl_.offset(); if(client == 'babonej') { var scrollto_ = offset_.top - ($('.pg_inner .header_wrap').height() + $('.search_collapse').height() - 65); }else{ if(mobileQ.matches) { var scrollto_ = offset_.top - ($('.pg_inner .header_wrap').height() - 52 ); }else{ var scrollto_ = offset_.top - ($('.pg_inner .header_wrap').height() - 65 ); } } // $('.search_collapse').height() $('html, body').animate({scrollTop:scrollto_}, 500); }); /* /Collapese References Block */ }); /* Mac CSS Hack */ if (navigator.userAgent.indexOf("Mac") > 0) { document.getElementsByTagName('body')[0].className += " mac-os"; }