Dr. Guillermo Castillo

Dr. Guillermo Castillo

Dr. Guillermo Castillo is a fellow of the Royal College of Physicians and Surgeons of Canada in Otolaryngology and a fellow of the American Board of Otolaryngology – Head and Neck Surgery. He is a member of the College of Physicians and Surgeons of Ontario, the Ontario Medical Association, and a fellow of the American Academy of Cosmetic Surgery. He completed his medical education at the National Autonomous University of Mexico and completed his rotating internship at Dalhousie University in Halifax, Nova Scotia. He did his general surgery training at University of Ottawa and his residency in Otolaryngology at the University of Toronto. He did a post graduate fellowship in microvascular surgery at the University of Toronto. He subsequently became a fellow of the American Academy of Cosmetic Surgery and the American Liposuction Society. He has been in private practice since 1979. He is an active staff member at the Scarborough Health Network, Scarborough General Hospital, Rouge Valley Centenary Hospital, and Grace Hospital.

Dr. Guillermo Castillo is a cosmetic surgeon with 34 years of experience. He has participated as a speaker in 5 world congresses of cosmetic surgery (Australia, Norway, England, Argentina, Colombia). He also has spoken as a guest speaker at conferences for cosmetic surgery multiple times in the USA.

A man in a yellow suit standing next to a painting.

Our Hours

tag on yout theme's header.php Read the detailed step-by-step at https://humbertosilva.com/visual-composer-infinite-image-carousel/ */ // auxiliary code to create triggers for the add and remove class for later use (function($){ $.each(["addClass","removeClass"],function(i,methodname){ var oldmethod = $.fn[methodname]; $.fn[methodname] = function(){ oldmethod.apply( this, arguments ); this.trigger(methodname+"change"); return this; } }); })(jQuery); // main function for the infinite loop function vc_custominfiniteloop_init(vc_cil_element_id){ var vc_element = '#' + vc_cil_element_id; // because we're using this more than once let's create a variable for it window.maxItens = jQuery(vc_element).data('per-view'); // max visible items defined window.addedItens = 0; // auxiliary counter for added itens to the end // go to slides and duplicate them to the end to fill space jQuery(vc_element).find('.vc_carousel-slideline-inner').find('.vc_item').each(function(){ // we only need to duplicate the first visible images if (window.addedItens < window.maxItens) { if (window.addedItens == 0 ) { // the fisrt added slide will need a trigger so we know it ended and make it "restart" without animation jQuery(this).clone().addClass('vc_custominfiniteloop_restart').removeClass('vc_active').appendTo(jQuery(this).parent()); } else { jQuery(this).clone().removeClass('vc_active').appendTo(jQuery(this).parent()); } window.addedItens++; } }); // add the trigger so we know when to "restart" the animation without the user knowing about it jQuery('.vc_custominfiniteloop_restart').bind('addClasschange', null, function(){ // navigate to the carousel element , I know, its ugly ... var vc_carousel = jQuery(this).parent().parent().parent().parent(); // first we temporarily change the animation speed to zero jQuery(vc_carousel).data('vc.carousel').transition_speed = 0; // make the slider go to the first slide without animation and because the fist set of images shown // are the same that are being shown now the slider is now "restarted" without that being visible jQuery(vc_carousel).data('vc.carousel').to(0); // allow the carousel to go to the first image and restore the original speed setTimeout("vc_cil_restore_transition_speed('"+jQuery(vc_carousel).prop('id')+"')",100); }); } // restore original speed setting of vc_carousel function vc_cil_restore_transition_speed(element_id){ // after inspecting the original source code the value of 600 is defined there so we put back the original here jQuery('#' + element_id).data('vc.carousel').transition_speed = 600; } // init jQuery(document).ready(function(){ // find all vc_carousel with the defined class and turn them into infine loop jQuery('.vc_custominfiniteloop').find('div[data-ride="vc_carousel"]').each(function(){ // allow time for the slider to be built on the page // because the slider is "long" we can wait a bit before adding images and events needed var vc_cil_element = jQuery(this).prop("id"); setTimeout("vc_custominfiniteloop_init('"+vc_cil_element+"')",2000); }); });

Toronto © 2024. All rights reserved.