Proceedings of the Establishment of Mechanical Engineers, Half D: Journal

Proceedings of the Institution of Mechanical Engineers, Part D: Journal of Automobile Engineering,”); ]]> 1) $(this).textual content($(this).textual content().substitute(moreNumber, moreNumber – 1)); else // if just one was hidden, no have to increase $(this).mother or father().css(“show”, “none”); } }); } } } }); } perform cpTitlesDates() { if (‘{}’===’cp’ || ‘{}’===’cpv’) { $(‘.pubDate-left’).addClass(‘not-show-important’); } } perform deniedPdfAccess() { //console.debug(‘Denial PDF button clicked’); if ($(‘#accessOptionsTop’).size > 0) { // clicked on web page with entry denial bar toggleDenialBar(true); $(‘#accessOptionsTop enter[name=”login”]’).focus(); } else { // no entry denial bar window.location = ‘/doi/pdf/’; } } perform accesibilityImageAltText() { $(‘.moreFromThisJournalModules img’).every(perform(){ if ($(this).attr(‘alt’)===undefined) $(this).attr(‘alt’, ”); }); $(‘.portalResourcesContainer img, .tellUsImage img, img.relatedJournalsImageContainer’).attr(‘alt’, ”); $(‘.relatedJournalsTextContainer’).every(perform(){ let $journalText = $(this); $journalText.closest(‘.relatedJournalsColumn>a’).append($journalText.textual content()); $journalText.take away(); }); $(‘.relatedJournalsImageContainer img’).every(perform(){ let $coverImage = $(this); let $mother or father = $(this).mother or father(); $coverImage.addClass(‘relatedJournalsImageContainer’); $coverImage.prependTo($coverImage.closest(‘.relatedJournalsColumn>a’)); $mother or father.take away(); }); $(‘td.savedSearch.savedResult:nth-child(4) img’).attr(‘alt’, perform() { return $(this).attr(‘alt’).substitute(‘alert sort’, ‘saved date’); }) $(‘td.savedSearch.savedResult:nth-child(5) img’).attr(‘alt’, perform() { return $(this).attr(‘alt’).substitute(‘alert sort’, ‘final run date’); }) } perform checkJournalHomeLinks(){ //SAGE-4019 if (inJournalHome()){ if ($(‘.journalBoardViewAllButton a’).size && $(‘.journalBoardViewAllButton a’).attr(‘href’).indexOf(‘/related/’)!=-1){ $(‘.journalBoardViewAllButton a’).attr(‘href’, ‘/editorial-board/pid’); } if ($(‘.journalPublishViewAllButton a’).size && $(‘.journalPublishViewAllButton a’).attr(‘href’).indexOf(‘{}’)!=-1){ let hyperlink=$(‘.menuXml.journalMenus a[data-item-name=”view-submit-paper”]’).attr(‘href’); if (hyperlink===”#”) hyperlink=$(‘.menuXml.journalMenus a[data-item-name=”Submit Now”]’).attr(‘href’); if (hyperlink===undefined) hyperlink=$(‘.menuXml.journalMenus a[data-item-name=”Submit Now “]’).attr(‘href’); if (hyperlink!==undefined) $(‘.journalPublishViewAllButton a’).attr(‘href’, hyperlink); } $(‘.journalCarouselTextButton a’).every(perform (){ if ($(this).attr(‘href’).indexOf(‘/related/’)!=-1 && $(this).textual content().indexOf(‘Extra’)!==-1){ $(this).attr(‘href’, ‘/description/pid’); } }); } } $(‘.purchaseAccessDropZone’).appendTo(‘.accessDenialWidget article’); if ($(‘.creative-commons-badge.cc-by’).size){ console.debug(‘Hiding permissions button because of CC-BY sort of article.’); $(‘a.permissionsTool’).closest(‘div’).css(‘show’, ‘none’); } else $(‘a.permissionsTool’).closest(‘div’).css(‘show’, ‘flex’); // show denial entry bar if person not authenticated or in PB edit mode attempt $(‘.pb-wrap.pb-widget’).size > 0) $(‘.pb-ui .accessOptionsBar’).css(‘show’, ‘block’); else $(‘.pb-ui .accessOptionsBar’).cover(); catch(e){ $(‘.pb-ui .accessOptionsBar’).cover(); } if ($(‘span.related-Article-wrapper span’).size===0) $(‘span.related-Article-wrapper’).cover(); cpTitlesDates(); // Add knowledge module attributes in associated journals HTML widget $(“.otherSociety”).attr(“data-module-name”, “related-journals”); $(“.otherSocietyButton #viewMoreText”).attr(“data-item-name”, “view-more”); $(“.otherSocietyButton #viewLessText”).attr(“data-item-name”, “view-fewer”); $(“.otherSocietyButton #viewFewerText”).attr(“data-item-name”, “view-fewer”); $(‘#share-tabs ul li a[title=”show Social Media”]’).attr(“data-item-name”, “view-social-media”); $(‘#share-tabs ul li a[title=”show Email”]’).attr(“data-item-name”, “view-email”); $(‘#share-tabs ul li a[title=”show Share Access”]’).attr(“data-item-name”, “view-share-access”); //Transfer associated asrticles indication into correct place: $(‘span.related-Article-wrapper’).every(perform() { $(this).insertAfter($(this).closest(‘#texttabcontent, .articleMeta.ja’).discover(‘div.articleInformation’)); }); $(‘.related-article-title’).textual content(perform() { return $(this).textual content().substitute(/s*:/, ‘: ‘); }); $(‘.online-pub-date’).textual content(perform() { return $(this).textual content().substitute(/-/g, ‘ ‘); }); $(‘.contentItemVol’).textual content(perform() { return $(this).textual content().substitute(‘Vol 0,’, ”).substitute(‘Vol.’, ‘Vol ‘).substitute(/s*,/, ‘,’); }); $(‘.issueFormat’).textual content(perform() { return $(this).textual content().substitute(‘situation’, ‘Challenge’).substitute(‘vol.’, ‘Vol’).substitute(/s*,/, ‘,’); }); //Take away trailing dot from a.deleteAccountLink $(‘a.deleteAccountLink’).textual content(‘Delete your account’); //Take away trailing dot from a.deleteAccountLink $(‘a#copyToClipBoard’).textual content(‘Copy to Clipboard’); // Rename “Views” to “Views and downloads” $(‘.view-count’).textual content(perform() { if (inJournalScope()) return $(this).textual content().substitute(‘Views:’, ‘Views & downloads:’); else return $(this).textual content(); }); // return button $(‘#goBackButton’).click on(perform() { window.historical past.again(); }); // Hold solely anchor component if already in citedBy web page if ($(‘.view-all-citedBy a’).attr(‘href’) === window.location.pathname) $(‘.view-all-citedBy a’).attr(‘href’, ”); // Add #top-content-scroll on ‘View All’ citedBy hyperlink $(‘.view-all-citedBy a’).attr(‘href’, $(‘.view-all-citedBy a’).attr(‘href’) + ‘#top-content-scroll’); // Change MR/MC panel textual content $(‘#mostReadCitedPage .online-pub-date’).textual content(perform() { return $(this).textual content().substitute(“On-line publication date”, “First revealed”); }); //Watch for pictures to load, earlier than deciding whteher to maneuver the associated journals $(‘.journalHomeFourRight’).imagesLoaded().all the time(perform(){ moveRelatedJournals(); //console.debug(‘Advert(proper) picture is loaded’); }); if (!inJournalScope() && $(‘#mainSearchBar choose.filterOption choice[disabled]’).size>0){ $(‘#mainSearchBar choose.filterOption’).attr(‘disabled’,”); } // Repair for ‘extra…’ label falling into 2nd line if ($(‘.authors .more-than’).size && $(‘.authors .more-than’).offset().left li’).attr(‘function’, ‘tab’); //Add Self-discipline button in browse publications cellular view if ($(‘.browsePublications’).size>0 && $(‘div.browseDiscipline’).size===1){ $(‘div.browseDiscipline’).clone().insertBefore($(‘.browsePublications .actions’)); } // search outcomes (first 6 journals) if ($(‘.followResultsWidget .expand-all-microsite’).size==0) { $(‘.search-page-body’).prepend(‘.filter-tag.pub-tag-filter{show:block}’); } // Present lean library banner provided that person has full entry if ($(‘.articleBadges .accessIcon.openAccess, .articleBadges .accessIcon.freeAccess’).size>0) $(‘.lean-library-ft p.ll-message-oa’).removeClass(‘doNotShow’); else if ($(‘.articleBadges .accessIcon.fullAccess’).size>0) $(‘.lean-library-ft p.ll-message’).removeClass(‘doNotShow’); if ($(‘.PDFTool.pdf-no-access’).size===0) $(‘div.lean-library-ft’).removeClass(‘doNotShow’); //By default examine the Keep in mind Me field in login type $(‘.bear in mind .keepMeLogin enter’).prop(‘checked’, true); /* attempt{ var observer = new MutationObserver(perform(mutations) { mutations.forEach(perform(mutationRecord) { if (mutationRecord.sort == ‘childList’) { //console.log(‘A baby node has been added or eliminated.’); let refPopup=doc.getElementById(‘openBalloon’); if (refPopup!==null){ if (refPopup.fashion.proper===’0px’) ref.getBoundingClientRect().left<0.6*window.innerWidth) // addClass('openBalloon', 'pull-left'); } } }); }); var target = document.getElementById('25e8d4fe-c5d2-4686-bdef-3b125e01db4b'); if (target) observer.observe(target, {attributes:false, childList:true, subtree:true }); } catch(e) { } */ initLoginBox(); //specialCollectionDuplicate(); removeTlaFromTaxonomyFacet(); moveRelatedJournals(); rearrangeMostReadCitedPage(); accesibilityImageAltText(); removeDuplicateIds(); checkJournalHomeLinks(); if (typeof(Storage)!=='undefined' && sessionStorage.pbPreview==='On' && !inMicrositeScope()){ console.debug('Running document ready JS...'); docReady(); sessionStorage.pbPreview='Off'; } ///////////////////////////////////////////// $(window).bind('orientationchange', function(event){ try { $('input[name=AllField]').autocomplete('close'); } catch(e) {} }); $(window).scroll(function(){ let scroll = $(window).scrollTop(); try { if(scroll>1) $(‘enter[name=AllField]’).autocomplete(‘shut’); } catch(e) {} }); //console.debug(‘Journal: Proceedings of the Establishment of Mechanical Engineers, Half D: Journal of Car Engineering, Challenge: , Article: ‘); ]]>

Auto Business Travel News