OSHC

An insight into student life


=0 || time_zone_format.indexOf(‘-‘)>=0 ){ time_zone_format = selected_time_zone; } } }else{ time_zone_format = selected_time_zone; } time_zone_format = time_zone_format + ” ” + $(“#webinar_time_zone_title”).children().eq(0).html().substr(0,11).replace(“+0″,” “).replace(“+”,” “).replace(“-0″,” -“).replace(“-“,” -“); $(‘.time_zone_display’).html(time_zone_format + ”); $(‘.time_zone_display’).show(); $(‘#time_zone_picker’).hide(); }); }); ]]> 0 && form.find(‘.new_member_first_name’).val().trim().length == 0) { check = false; form.find(‘.new_member_first_name’).parent().addClass(‘errors’); } if (form.find(‘.new_member_last_name’).length > 0 && form.find(‘.new_member_last_name’).val().trim().length == 0) { check = false; form.find(‘.new_member_last_name’).parent().addClass(‘errors’); } if (form.find(‘.new_member_full_name’).length > 0 && form.find(‘.new_member_full_name’).val().trim().length == 0) { check = false; form.find(‘.new_member_full_name’).parent().addClass(‘errors’); } if (form.find(‘.new_member_email’).length > 0 && form.find(‘.new_member_email’).val().trim().length == 0) { check = false; form.find(‘.new_member_email’).parent().addClass(‘errors’); } if (form.find(‘[id^=conference_registration_pre_conference_responses_attributes_][id$=_response]’).length > 0) { $.each(form.find(‘[id^=conference_registration_pre_conference_responses_attributes_][id$=_response]’), function (index, obj) { check = check_required_pre_conference_question(obj) && check; }); } if (check) { $(this).closest(‘form’).submit(); } else { // $(this).val(‘Register’); btn_dis_with == ‘Entering…’ ? $(this).val(‘Enter Webinar’) : btn_dis_with == ‘REGISTERING…’ ? $(this).val(‘REGISTER’) : $(this).val(‘Register’); $(this).attr(‘disabled’, false); } }); $(document).on(‘blur’, ‘.new_member_first_name, .new_member_last_name, .new_member_full_name, .new_member_email’, function () { if ($(this).val().trim().length == 0){ $(this).parent().addClass(‘errors’); }else{ $(this).parent().removeClass(‘errors’); } }); $(document).on(‘blur’, ‘[id^=conference_registration_pre_conference_responses_attributes_][id$=_response]’, function () { check_required_pre_conference_question(this); }); function addPresenter(member_id,conference_id) { $.post(‘/conference/render_webinar_presenter?member_id=’ + member_id+’&conference_id=’+conference_id); } function refresh_enter_button() { $.ajax({ url: ‘/conferences/’ + ‘b52d3d2ccc21’ + ‘/refresh_enter_button?rand=1222’ + Math.random() }) }; if ($(‘#clockdiv’).length > 0 && $(‘#clockdiv’).attr(‘countdown-seconds’) > 0) { var deadline = new Date(Date.parse(new Date()) + $(‘#clockdiv’).attr(‘countdown-seconds’) * 1000); initializeClock(‘clockdiv’, deadline); } if ($(‘#clockdiv-webinar-countdown’).length > 0 && $(‘#clockdiv-webinar-countdown’).attr(‘countdown-seconds’) > 0) { var deadline = new Date(Date.parse(new Date()) + $(‘#clockdiv-webinar-countdown’).attr(‘countdown-seconds’) * 1000); initializeClockWebinarCountdown(‘clockdiv-webinar-countdown’, deadline); } $(function () { if (jstz.determine().name().length > 0) { var date = new Date(); var browser_offset = -date.getTimezoneOffset() * 60; $.ajax({ url: ‘/set_user_time_zone?time_zone=’ + jstz.determine().name() + ‘&time_zone_offset=’ + browser_offset + ‘&conference_id=b52d3d2ccc21’ }); } }); $(document).on(‘click’, ‘#play_on_demand_video’, function () { switch (“default_template”) { case ‘webinar_template_2’: $(‘.template-2-video-content’).show(); $(‘.template-2-video-play-box’).hide(); $(‘.template-2-video-box’).css(‘background-image’, ”); break; case ‘webinar_template_3’: $(‘.template-3-video-content’).show(); $(‘.template-3-video-play-box’).hide(); $(‘.template-3-video-box’).css(‘background-image’, ”); break; } $(‘#on_demand_video’)[0].play(); $(this).hide(); }); $(document).on(‘click’, ‘.js-choose-edit-presenter-photo’, function (e) { $(this).parentsUntil(‘form’).find(‘#presenter_photo’).click(); e.preventDefault(); return false; }); $(document).on(‘change’, ‘#presenter_photo’, function (e) { $(‘#edit_presenter_icon_preview’).attr(‘src’, window.URL.createObjectURL(this.files[0])); $(‘#edit_presenter_icon_preview’).parent().removeClass(‘close’); $(‘#js-choose-edit-presenter-photo-link’).hide(); }); $(document).on(‘click’,’#nhl-get-help’,function(event){ event.stopPropagation(); $(“.new-header-lih-nav-slider-2”).toggle(); $(‘.new-header-user’).removeClass(‘onactive’); $(“.new-header-user2”).removeClass(“onactive”); }); $(document).on(‘click’,’.new-header-user-img’,function(event){ event.stopPropagation(); $(‘.new-header-lih-nav-slider-2’).hide(); }); $(window).click(function() { $(‘.new-header-lih-nav-slider-2’).hide(); }); function getUrlVars() { var vars = {}; var parts = window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi, function(m,key,value) { vars[key] = value; }); return vars; } var params = getUrlVars(); if(params[‘WT.dcsvid’]){ $(‘body’).ready(function(){ $.ajax({ url: “/conferences/b52d3d2ccc21/look_up_salesforce_contact”, dataType: “script” }); }); } ]]> Let’s take a quick tour!” }, { element: ‘#landing_header_edit’, intro: “You can edit webinar details, add presenters, adjust privacy settings, and sell tickets on the Edit Page.” }, { element: ‘#landing_header_preview’, intro: “You can customize your landing page, add your logo/branding to your live webinar, and update your webinar preview card on the Design Page.”, position: ‘bottom’ }, { element: ‘#email_template_preview’, intro: ‘ Create, send, and manage invitations and email notifications for your webinar in the Emails & Invitations section of your webinar page.’, position: ‘bottom’ }, { element: ‘#landing_header_invite’, intro: ‘You can manage, upload webinar content, set up integrations, and view webinar statistics on the Promote and Manage page.’, position: ‘bottom’ }, { element: ‘#landing_header_show’, intro: “Your audience will come here to register for and attend your webinar. If you record your webinar, your recording will display on your landing page after the webinar ends.”, position: ‘bottom’ } ], showStepNumbers: false, showProgress: true, showBullets: false, hidePrev:true, hideNext:false }); intro.onchange(function(targetElement) { stepNumeber=stepNumeber+1; $.ajax({ url: “/tour_trackers”, type: “POST”, data: {tour_tracker: { name: ‘first_webinar_tour_step_’+stepNumeber, }}, success: function(resp){ } }); }); intro.start(); } // var isiOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream // if(isiOS) // $(‘#conference-registration-link’).attr(‘rel’, ‘modal:skip’); ]]>


Source

oshcinsurance-logo

Leave a Reply

Your email address will not be published. Required fields are marked *