Opening Program: Sports Fest 2017 & Field Demonstration

 02 - 27 - 17
Philippine College of Health Sciences News

Theme: “PCHS @ 24: Continuing Its Commitment to Quality Education”
Day 1: Opening Program: Sports Fest 2017 & Field Demonstration

var lightbox_transition = 'elastic'; var lightbox_speed = 800; var lightbox_fadeOut = 300; var lightbox_title = false; var lightbox_scalePhotos = true; var lightbox_scrolling = false; var lightbox_opacity = 0.201; var lightbox_open = false; var lightbox_returnFocus = true; var lightbox_trapFocus = true; var lightbox_fastIframe = true; var lightbox_preloading = true; var lightbox_overlayClose = true; var lightbox_escKey = false; var lightbox_arrowKey = false; var lightbox_loop = true; var lightbox_closeButton = true; var lightbox_previous = "previous"; var lightbox_next = "next"; var lightbox_close = "close"; var lightbox_html = false; var lightbox_photo = false; var lightbox_width = ''; var lightbox_height = ''; var lightbox_innerWidth = 'false'; var lightbox_innerHeight = 'false'; var lightbox_initialWidth = '300'; var lightbox_initialHeight = '100'; var maxwidth=jQuery(window).width(); if(maxwidth>900){maxwidth=900;} var lightbox_maxWidth = maxwidth; var lightbox_maxHeight = 700; var lightbox_slideshow = false; var lightbox_slideshowSpeed = 2500; var lightbox_slideshowAuto = true; var lightbox_slideshowStart = "start slideshow"; var lightbox_slideshowStop = "stop slideshow"; var lightbox_fixed = true; jQuery(document).ready(function(){ jQuery('.huge_it_gallery_like_cont_14643 .huge_it_like_count').each(function(){ if(jQuery(this).text()3||jQuery(this).text().length>4||jQuery(this).text().length>5)&&jQuery(this).text().length6||jQuery(this).text().length>7||jQuery(this).text().length>8)&&jQuery(this).text().length9||jQuery(this).text().length>10||jQuery(this).text().length>11){ jQuery(this).text(function (_,txt) { return txt.slice(0, -9)+'b' }); } }) jQuery('.huge_it_gallery_like_cont_14643 .huge_it_dislike_count').each(function(){ if(jQuery(this).text()3||jQuery(this).text().length>4||jQuery(this).text().length>5)&&jQuery(this).text().length6||jQuery(this).text().length>7||jQuery(this).text().length>8)&&jQuery(this).text().length9||jQuery(this).text().length>10||jQuery(this).text().length>11){ jQuery(this).text(function (_,txt) { return txt.slice(0, -9)+'b' }); } }) var thumbLike; jQuery('.huge_it_gallery_like_cont_14643 .huge_it_like_thumb').each(function(){ thumbLike=jQuery(this).attr('data-status'); if(thumbLike=='liked'){ jQuery(this).parent().find('.like_thumb_up').addClass('like_thumb_active'); jQuery(this).parent().addClass('like_font_active'); }}) var thumbDislike; jQuery('.huge_it_gallery_like_cont_14643 .huge_it_dislike_thumb').each(function(){ thumbDislike=jQuery(this).attr('data-status'); if(thumbDislike=='disliked'){ jQuery(this).parent().find('.dislike_thumb_down').addClass('like_thumb_active'); jQuery(this).parent().addClass('like_font_active'); }}) function randomString(length, chars) { var result = ''; for (var i = length; i > 0; --i) result += chars[Math.round(Math.random() * (chars.length - 1))]; return result; } jQuery(document).on("click tap",".huge_it_gallery_like_cont_14643 .huge_it_gallery_like_wrapper",function(){ var image_id=jQuery(this).parent().find('.huge_it_like_count').attr('id'); var status=jQuery("span.huge_it_like_thumb[id='"+image_id+"']").attr('data-status'); function setCookie(name, value, expires, path, domain, secure) { document.cookie = name + "=" + escape(value) + ((expires) ? "; expires=" + expires : "") + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + ((secure) ? "; secure" : ""); } function getCookie(name) { var cookie = " " + document.cookie; var search = " " + name + "="; var setStr = null; var offset = 0; var end = 0; if (cookie.length > 0) { offset = cookie.indexOf(search); if (offset != -1) { offset += search.length; end = cookie.indexOf(";", offset) if (end == -1) { end = cookie.length; } setStr = unescape(cookie.substring(offset, end)); } } return(setStr); } function delCookie(name) { document.cookie = name + "=" + "; expires=Thu, 01 Jan 1970 00:00:01 GMT"; } var resStatus=jQuery(this).parent().find("span.huge_it_like_thumb[id='"+image_id+"']").attr('data-status'); var resStatus2=jQuery(".huge_it_dislike_thumb[id='"+image_id+"']").attr('data-status'); //alert(resStatus2); ///////////////////////////// if(resStatus2==undefined){ if(resStatus=='unliked'){ date = new Date(); date.setHours(date.getFullYear() + 1); var cookie=setCookie('Like_'+image_id, randomString(10, '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'), date.toUTCString()); }else if(resStatus=='liked'){ var cookie=getCookie('Like_'+image_id); } }else{ if(resStatus=='unliked'&&resStatus2=='unliked'){ date = new Date(); date.setHours(date.getFullYear() + 1); var cookie=setCookie('Like_'+image_id, randomString(10, '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'), date.toUTCString()); }else if(resStatus=='unliked'&&resStatus2=='disliked'){ date = new Date(); date.setHours(date.getFullYear() + 1); var newCookie=getCookie('Dislike_'+image_id); var cookie=setCookie('Like_'+image_id, newCookie , date.toUTCString()); delCookie('Dislike_'+image_id); }else if(resStatus=='liked'){ var cookie=getCookie('Like_'+image_id); } }var data={action:'huge_it_video_gallery_ajax',task:'like',image_id:image_id,cook:getCookie('Like_'+image_id), status:status}jQuery.post('http://pchsmanila.edu.ph/wp-admin/admin-ajax.php',data,function(response){if(response){response=JSON.parse(response); if(response.like){ var likeNumber=response.like; if((likeNumber.length>3||likeNumber.length>4||likeNumber.length>5)&&likeNumber.length6||likeNumber.length>7||likeNumber.length>8)&&likeNumber.length9||likeNumber.length>10||likeNumber.length>11){ likeNumber=likeNumber.slice(0, -9)+'b'; } response.like=likeNumber; } if(response.dislike){ var dislikeNumber=response.dislike; if((dislikeNumber.length>3||dislikeNumber.length>4||dislikeNumber.length>5)&&dislikeNumber.length6||dislikeNumber.length>7||dislikeNumber.length>8)&&dislikeNumber.length9||dislikeNumber.length>10||dislikeNumber.length>11){ dislikeNumber=dislikeNumber.slice(0, -9)+'b'; } response.dislike=dislikeNumber; } if(response.like<0)response.like=0; jQuery("span.huge_it_like_count[id='"+image_id+"']").text(response.like); jQuery("span.huge_it_dislike_count[id='"+image_id+"']").text(response.dislike); if(response.dislike 0) { offset = cookie.indexOf(search); if (offset != -1) { offset += search.length; end = cookie.indexOf(";", offset) if (end == -1) { end = cookie.length; } setStr = unescape(cookie.substring(offset, end)); } } return(setStr); } function delCookie(name) { document.cookie = name + "=" + "; expires=Thu, 01 Jan 1970 00:00:01 GMT"; } var resStatus=jQuery(this).parent().find("span.huge_it_dislike_thumb[id='"+image_id+"']").attr('data-status'); var resStatus2=jQuery(".huge_it_like_thumb[id='"+image_id+"']").attr('data-status');if(resStatus=='unliked' && resStatus2=='unliked'){ date = new Date(); date.setHours(date.getFullYear() + 1); var cook=setCookie('Dislike_'+image_id, randomString(10, '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'), date.toUTCString()); }else if(resStatus=='unliked' && resStatus2=='liked'){ date = new Date(); date.setHours(date.getFullYear() + 1); var newCookie=getCookie('Like_'+image_id); var cook=setCookie('Dislike_'+image_id, newCookie , date.toUTCString()); delCookie('Like_'+image_id); }else if(resStatus=='disliked'){ var cook=getCookie('Dislike_'+image_id); }var data={action:'huge_it_video_gallery_ajax',task:'dislike',image_id:image_id, cook:getCookie('Dislike_'+image_id)}jQuery.post('http://pchsmanila.edu.ph/wp-admin/admin-ajax.php',data,function(response){if(response){response=JSON.parse(response); if(response.like){ var likeNumber=response.like; if((likeNumber.length>3||likeNumber.length>4||likeNumber.length>5)&&likeNumber.length6||likeNumber.length>7||likeNumber.length>8)&&likeNumber.length9||likeNumber.length>10||likeNumber.length>11){ likeNumber=likeNumber.slice(0, -9)+'b'; } response.like=likeNumber; } if(response.dislike){ var dislikeNumber=response.dislike; if((dislikeNumber.length>3||dislikeNumber.length>4||dislikeNumber.length>5)&&dislikeNumber.length6||dislikeNumber.length>7||dislikeNumber.length>8)&&dislikeNumber.length9||dislikeNumber.length>10||dislikeNumber.length>11){ dislikeNumber=dislikeNumber.slice(0, -9)+'b'; } response.dislike=dislikeNumber; } if(response.like<0)response.like=0; jQuery("span.huge_it_like_count[id='"+image_id+"']").text(response.like); if(response.dislike<0)response.dislike=0; jQuery("span.huge_it_dislike_count[id='"+image_id+"']").text(response.dislike); if(response.statLike=='Liked'){ jQuery("span.huge_it_like_thumb[id='"+image_id+"']").parent().find('.like_thumb_up').addClass('like_thumb_active'); jQuery("span.huge_it_like_thumb[id='"+image_id+"']").parent().addClass('like_font_active'); jQuery("span.huge_it_like_thumb[id='"+image_id+"']").attr('data-status','liked') }else if(response.statLike=='Like'){ jQuery("span.huge_it_like_thumb[id='"+image_id+"']").parent().find('.like_thumb_up').removeClass('like_thumb_active').addClass('like_thumb_up'); jQuery("span.huge_it_like_thumb[id='"+image_id+"']").parent().removeClass('like_font_active'); jQuery("span.huge_it_like_thumb[id='"+image_id+"']").attr('data-status','unliked') delCookie('Like_'+image_id); } if(response.statDislike=='Disliked'){ jQuery("span.huge_it_dislike_thumb[id='"+image_id+"']").parent().find('.dislike_thumb_down').addClass('like_thumb_active'); jQuery("span.huge_it_dislike_thumb[id='"+image_id+"']").parent().addClass('like_font_active'); jQuery("span.huge_it_dislike_thumb[id='"+image_id+"']").attr('data-status','disliked'); }else if(response.statDislike=='Dislike'){ jQuery("span.huge_it_dislike_thumb[id='"+image_id+"']").parent().find('.dislike_thumb_down').removeClass('like_thumb_active').addClass('dislike_thumb_down'); jQuery("span.huge_it_dislike_thumb[id='"+image_id+"']").parent().removeClass('like_font_active'); jQuery("span.huge_it_dislike_thumb[id='"+image_id+"']").attr('data-status','unliked'); delCookie('Dislike_'+image_id); }}})return false;})});var lightbox_top = false; var lightbox_bottom = false; var lightbox_left = false; var lightbox_right = false; var lightbox_reposition = false; var lightbox_retinaImage = true; var lightbox_retinaUrl = false; var lightbox_retinaSuffix = "@2x.$1"; jQuery(document).ready(function(){ jQuery("#huge_it_gallery_content_14 a[href$='.jpg'], #huge_it_gallery_content_14 a[href$='.jpeg'], #huge_it_gallery_content_14 a[href$='.png'], #huge_it_gallery_content_14 a[href$='.gif']").addClass('gallery_group14'); jQuery(".gallery_group14").gicolorbox({rel:'gallery_group14'}); jQuery(".youtube").gicolorbox({iframe:true, innerWidth:640, innerHeight:390}); jQuery(".vimeo").gicolorbox({iframe:true, innerWidth:640, innerHeight:390}); jQuery(".iframe").gicolorbox({iframe:true, width:"80%", height:"80%"}); jQuery(".inline").gicolorbox({inline:true, width:"50%"}); jQuery(".callbacks").gicolorbox({ onOpen:function(){ alert('onOpen: gicolorbox is about to open'); }, onLoad:function(){ alert('onLoad: gicolorbox has started to load the targeted content'); }, onComplete:function(){ alert('onComplete: gicolorbox has displayed the loaded content'); }, onCleanup:function(){ alert('onCleanup: gicolorbox has begun the close process'); }, onClosed:function(){ alert('onClosed: gicolorbox has completely closed'); } }); /******************Clone bug update***************************/ var groups = 14; var group_count_slider = 0; var i = 1; var group_count_slider_clone = 0; jQuery(".slider-content").each(function(){ group_count_slider++; }); jQuery(".gallery_group"+i).gicolorbox({rel:'gallery_group'+i}); //jQuery(".group1").gicolorbox({rel:'group1'}); for(var i = 1; i <= group_count_slider; i++){ jQuery(".gallery_group_"+groups+"_"+i).gicolorbox({rel:'gallery_group_'+groups+"_"+i}); jQuery("#main-slider_14 .clone a").removeClass(); } /*************************************************************/jQuery('.non-retina').gicolorbox({rel:'group5', transition:'none'}) jQuery('.retina').gicolorbox({rel:'group5', transition:'none', retinaImage:true, retinaUrl:true});jQuery("#click").click(function(){ jQuery('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("Open this window again and this message will still be here."); return false; }); }); <!-- --> section #huge_it_gallery { padding: 0px !important; min-width: 100%; width: 100%; min-height: 100%; text-align: center; margin: 0; margin-bottom: 30px; background-color: #333333; box-shadow: 0 0 10px; }#huge_it_gallery .huge_it_big_li { overflow:hidden; width: 100%; max-width: 240px; height: 150px; margin: 1px !important; border-radius: 5px; padding:0px !important } section #huge_it_gallery li .overLayer ul li h2, section #huge_it_gallery li .infoLayer ul li h2 { font-size: 16px; color: #FFFFFF; } section #huge_it_gallery li .infoLayer ul li p { color: #FFFFFF; } section #huge_it_gallery li .overLayer, section #huge_it_gallery li .infoLayer { -webkit-transition: opacity 0.3s linear; -moz-transition: opacity 0.3s linear; -ms-transition: opacity 0.3s linear; -o-transition: opacity 0.3s linear; transition: opacity 0.3s linear; width: 100%; max-width: 240px; height: 150px; position: absolute; text-align: center; opacity: 0; top: 0px; left: 0; z-index: 4; } section #huge_it_gallery li a { position: absolute; display: block; width: 100%; max-width: 240px; height: 150px; top: 0px; left: 0px; z-index: 6; border-radius: 5px; } #huge_it_gallery li img { width: 100%; max-width: 238px; height: 148px; border: 1px solid #444444; border-radius: 5px; margin:0px !important; } .load_more3 { margin: 10px 0; position:relative; text-align:center;width:100%; }.load_more_button3 { border-radius: 10px; display:inline-block; padding:5px 15px; font-size:19px !important;; color:#CCCCCC !important;; background:#333333 !important; cursor:pointer;} .load_more_button3:hover{ color:#D9D9D9 !important; background:#8F827C !important; } .loading3 { display:none; } .paginate3{ font-size:22px !important; color:#0A0202 !important; text-align: center; } .paginate3 a{ border-bottom: none !important; } .icon-style3{ font-size: 22px !important; color:#333333 !important; } .clear{ clear:both; } section #huge_it_gallery li:hover .overLayer { -webkit-transition: opacity 0.3s linear; -moz-transition: opacity 0.3s linear; -ms-transition: opacity 0.3s linear; -o-transition: opacity 0.3s linear; transition: opacity 0.3s linear; opacity: 0.801; display: block; background: #CCCCCC; border-radius: 5px; } section #huge_it_gallery li:hover .infoLayer { -webkit-transition: opacity 0.3s linear; -moz-transition: opacity 0.3s linear; ms-transition: opacity 0.3s linear; -o-transition: opacity 0.3s linear; transition: opacity 0.3s linear; opacity: 1; display: block; } section #huge_it_gallery p {text-align:center;}
View More
jQuery(document).ready(function(){ if(jQuery("#thumbwrapper14 .load_more_button3").length){ jQuery("#thumbwrapper14 .load_more_button3").on("click tap",function(){if(jQuery("#thumbwrapper14 .pagenum:last").val()3||jQuery(this).text().length>4||jQuery(this).text().length>5)&&jQuery(this).text().length6||jQuery(this).text().length>7||jQuery(this).text().length>8)&&jQuery(this).text().length9||jQuery(this).text().length>10||jQuery(this).text().length>11){ jQuery(this).text(function (_,txt) { return txt.slice(0, -9)+'b' }); } }) jQuery('.huge_it_gallery_like_cont_14643 .huge_it_dislike_count').each(function(){ if((jQuery(this).text().length>3||jQuery(this).text().length>4||jQuery(this).text().length>5)&&jQuery(this).text().length6||jQuery(this).text().length>7||jQuery(this).text().length>8)&&jQuery(this).text().length9||jQuery(this).text().length>10||jQuery(this).text().length>11){ jQuery(this).text(function (_,txt) { return txt.slice(0, -9)+'b' }); } }) var thumbLike; jQuery('.huge_it_gallery_like_cont_14643 .huge_it_like_thumb').each(function(){ thumbLike=jQuery(this).attr('data-status'); if(thumbLike=='liked'){ jQuery(this).parent().find('.like_thumb_up').addClass('like_thumb_active'); jQuery(this).parent().addClass('like_font_active'); } }) var thumbDislike; jQuery('.huge_it_gallery_like_cont_14643 .huge_it_dislike_thumb').each(function(){ thumbDislike=jQuery(this).attr('data-status'); if(thumbDislike=='disliked'){ jQuery(this).parent().find('.dislike_thumb_down').addClass('like_thumb_active'); jQuery(this).parent().addClass('like_font_active'); } }) function randomString(length, chars) { var result = ''; for (var i = length; i > 0; --i) result += chars[Math.round(Math.random() * (chars.length - 1))]; return result; } });}else{ alert("no"); } },"json"); }});

The post Opening Program: Sports Fest 2017 & Field Demonstration appeared first on Philippine College of Health Sciences, Inc.

First Appeared on Philippine College of Health Sciences

Reviews are closed.