CINXE.COM

<!DOCTYPE html> <html lang="en"> <head> <!-- Open graph meta tags for Facebook --> <!-- Change page title to match news article --> <!-- Google Tag Manager Head --> <!-- Google Tag Manager --> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-KW2XNGZ');</script> <!-- End Google Tag Manager --> <title >After you apply - Study at St Andrews - University of St Andrews</title > <!-- JSON LD formatted breadcrumb information --> <script type="application/ld+json">{"@context": "https://schema.org","@type": "BreadcrumbList","itemListElement": [{"@type": "ListItem","position": 1,"name": "Study at St Andrews","item": "https://www.st-andrews.ac.uk/study/"}, {"@type": "ListItem","position": 2,"name": "Masters","item": "https://www.st-andrews.ac.uk/study/postgraduate/"}, {"@type": "ListItem","position": 3,"name": "Apply","item": "https://www.st-andrews.ac.uk/study/postgraduate/apply/"}, {"@type": "ListItem","position": 4,"name": "After you apply","item": "https://www.st-andrews.ac.uk/study/postgraduate/apply/after/"}]}</script> <meta name="referrer" content="no-referrer" /> <meta name="channel-id" content="2"> <meta name="section-id" content="29437"> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=EDGE" /> <meta name="copyright" content="Copyright &copy; University of St Andrews" /> <meta name="rating" content="general" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link href="https://www.st-andrews.ac.uk/~cdn/dpl/1.27.4/styles/screen.css" rel="stylesheet" type="text/css" media="screen" /> <link href="https://www.st-andrews.ac.uk/~cdn/dpl/1.27.4/styles/print.css" rel="stylesheet" type="text/css" media="print" /> <!-- Favicons --> <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"> <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"> <link rel="manifest" href="/site.webmanifest"> <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#00539b"> <meta name="msapplication-TileColor" content="#2b5797"> <meta name="theme-color" content="#ffffff"> <base href="//www.st-andrews.ac.uk/study/postgraduate/apply/after/"> </head> <body> <!--noindex--> <!-- Google Tag Manager Body --> <!-- Google Tag Manager (noscript) --> <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KW2XNGZ" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) --> <nav class="sr-only" id="skip" aria-label="Accessibility links"><a href="#content-begin">Skip to content</a></nav> <!-- HEADER--> <header id="header"> <div class="row"> <div id="logo-container"> <div id="header-logo"><a href="https://www.st-andrews.ac.uk/" aria-label="University of St Andrews"><span>University of St Andrews</span></a></div> </div> <div id="header-search"> <button class="btn btn-link" id="header-search-trigger" name="btnG" aria-label="Toggle search" value=""><i class="fa fa-search" aria-hidden="true"></i><span class="sr-only">Toggle search</span></button> <form action="https://www.st-andrews.ac.uk/search" method="get" role="search" class="dpl-form"> <app-root></app-root> <input type="hidden" name="collection" value="uosa-meta-global"> <input type="hidden" name="profile" value="_default"> <input type="hidden" name="form" value="partial"> </form> </div> </div> </header> <nav id="category-header" aria-label="Category header"> <div class="container"> <div class="category-header__title"><a href="/study/">Study at St Andrews</a></div> </div> </nav> <nav class="navigation-bar"> <div class="container"> <div class="toggle-navigation primary-toggle"><button class="navigation-button" aria-expanded="false" aria-controls="primary-nav">Navigation <i class="chevron down"></i></button></div> <ul class="navigation-bar-nav primary-nav" id="primary-nav"><li><a href="/study/undergraduate/">Undergraduate</a></li><li><span class="currentbranch0"><a href="/study/postgraduate/">Masters</a></span></li><li><a href="/study/postgraduate-research/">Postgraduate research</a></li><li><a href="/study/online/">Online</a></li><li><a href="/study/part-time/">Part-time</a></li><li><a href="/study/support/">Support</a></li><li><a href="/study/meet-us/">Meet us</a></li> </ul> </div> </nav><nav class="navigation-bar subnav" aria-label="Secondary menu"> <div class="container"> <div class="toggle-navigation secondary-toggle"><button class="navigation-button" aria-expanded="false" aria-controls="secondary-nav">Section navigation <i class="chevron down"></i></button></div> <ul class="navigation-bar-nav secondary-nav" id="secondary-nav"><li><a href="https://www.st-andrews.ac.uk/subjects/course-search/?mod=false&form=master&num.ranks=10&profile=_default&query=!null&collection=uosa-web-course--search&sort=metatitle&f.tabs%7Ctype=Postgraduate">Courses</a></li><li><a href="/study/postgraduate/fees/">Fees and funding</a></li><li><a href="/study/postgraduate/apply/">Apply</a></li><li><a href="/study/postgraduate/why/">Why St Andrews</a></li><li><a href="/accommodation/postgraduate/">Accommodation</a></li><li><a href="/study/postgraduate/qualifications/">Qualifications explained</a></li> </ul> </div> </nav> <div class="container breadcrumbs--wrapper"> <div class="row"> <div class="col-lg-12 content"> <nav aria-label="Breadcrumb"> <ol class="breadcrumbs"> <li> <a href="/">University</a></li><li><a href="/study/">Study at St Andrews</a></li><li><a href="/study/postgraduate/">Masters</a></li><li><a href="/study/postgraduate/apply/">Apply</a></li><li>After you apply</li> </ol> </nav> </div> </div> </div> <!--endnoindex--> <main id="content-begin"> <div class="container"> <div class="row"> <div class="col-sm-8 content"><h1 id="d.en.196606" class="page-heading">After you apply &ndash; postgraduate study</h1> <div id="d.en.196607" class="content-section"> <p>Once you have submitted your postgraduate application, the Admissions team will begin to process your application. You should receive email confirmation from the Registry team that the University has received your application.</p> <p>All offers will be sent primarily in the form of an email. More information about types of offers, how to respond, and the pre-payment of fees can be found below.</p> <p><a class="btn btn-primary" href="https://www.admissions.st-andrews.ac.uk/ask-admissions/" type="button">Ask Admissions</a></p> </div> <span id="d.en.196608"></span> <button class="accordion-group__toggle">Open all</button> <ul class="accordion-group accordion-group__toggle-container"> <li id="d.en.196609" class="accordion-item"> <div class="accordion-item__toggle"> <h3 class="accordion-item__toggle-title"> <button class="accordion-item__toggle-button" aria-controls="">Your offer</button> </h3> </div> <div class="accordion-item__content" id="" aria-hidden="true"><h4>Types of offers&nbsp;</h4> <p>You will receive an email from the University when there is a decision on your application. The email will include one of the following messages:&nbsp;</p> <h5>An unconditional offer&nbsp;</h5> <p>This means that you have achieved the required grades or qualifications to study your selected course. Your offer has been confirmed.&nbsp;</p> <h5>A conditional offer</h5> <p>This means that you have not yet achieved the required grades or qualifications to study your selected course. Your offer will only be confirmed if you get the required grades or qualifications. Your offer email will specify the conditions of your offer. These may be the classification of your forthcoming degree and your evidence of English language ability. If you meet the conditions of our offer, we will confirm your place at the University. If you do not achieve the stated grades or qualifications, your offer may be withdrawn.&nbsp;</p> <h5>We are unable to offer you a place&nbsp;</h5> <p>Regrettably, we receive many applications from well-qualified applicants and we have been unable to offer you a place on your selected course.&nbsp;</p> <h4>How to respond&nbsp;</h4> <p>Follow the instructions on your offer email. Your application cannot proceed until you have:&nbsp;</p> <ul> <li>firmly accepted the offer&nbsp;</li> <li>fulfilled any conditions listed in the offer&nbsp;</li> <li>paid a pre-payment (if applicable) &nbsp;&nbsp;</li> </ul> <h4>Deferring an offer&nbsp;</h4> <p>It is not usually possible to postpone (also known as &lsquo;to defer&rsquo;) the start of your taught postgraduate programme. You may request deferment until the following academic year by emailing the School directly and explaining why you want to defer. &nbsp;</p> <h4>Declining an offer&nbsp;</h4> <p>You can decline your offer through the <a href="/study/my-application/">applicant portal</a>. You will be asked to complete a survey after selecting the decline option. &nbsp;&nbsp;</p> <h4>Pre-payment&nbsp;</h4> <p>If your offer requires you to make a pre-payment to secure your place at the University, follow the instructions on your offer email. &nbsp;</p> <p>Your pre-payment will be deducted from your tuition fee.&nbsp;</p> <p>Your course application will not be able to proceed until your pre-payment is complete. Your place at the University is <strong>not guaranteed</strong> if the pre-payment is made after the deadline.&nbsp;</p></div> </li> <li id="d.en.196610" class="accordion-item"> <div class="accordion-item__toggle"> <h3 class="accordion-item__toggle-title"> <button class="accordion-item__toggle-button" aria-controls="">Pre-payments for taught programmes</button> </h3> </div> <div class="accordion-item__content" id="" aria-hidden="true"><p>If you need a visa to study in the UK, your Confirmation of Acceptance for Studies (CAS) will specify how much money you have already paid to the University, including your pre-payment.&nbsp;</p> <p>If you are made an offer, your offer letter will clearly state the date by which your offer is required to be accepted and the pre-payment is required to be paid to secure your place.</p> <h4>Overseas pre-payment fee:</h4> <p>If you are an applicant who meets the following criteria, you are required to pay a pre-payment fee of&nbsp;<strong>&pound;4,000</strong><span>&nbsp;</span>GBP against the balance of your tuition fee:</p> <ul> <li>You have applied to a postgraduate programme.</li> <li>You have a fees status of &lsquo;Overseas&rsquo; in your offer letter.</li> </ul> <p>For applicants who require a Student visa,&nbsp;the Confirmation of Acceptance for Studies (CAS) will display the total amount paid to date, including any pre-payments made, where applicable.</p> <h4>Home (UK and Islands) pre-payment fee:</h4> <p>If you are an applicant who meets the following criteria, you are required to pay a pre-payment fee of&nbsp;<strong>&pound;500</strong><span>&nbsp;</span>GBP against the balance of your tuition fee:</p> <ul> <li>You have applied to a postgraduate programme.</li> <li>You have a fees status of &lsquo;Home (UK and Islands)&rsquo; in your offer letter.</li> </ul> <p>If a pre-payment remains unpaid, this will be taken as an indication that you no longer wish to accept the offer to study at St Andrews.</p> <p>Email <a href="mailto:pgt.application@st-andrews.ac.uk">pgt.application@st-andrews.ac.uk</a> if you have missed the deadline or have any questions about your pre-payment.&nbsp;</p> <h4>How to make a pre-payment</h4> <ul> <li><a href="https://students.convera.com/uosapp#!/">Pay by international bank transfer</a> (preferred method of payment)&nbsp;</li> <li><a href="https://onlinepayments.st-andrews.ac.uk/epayments">Pay by credit or debit card</a> &nbsp;</li> </ul> <h4>After accepting your offer and making your pre-payment&nbsp;</h4> <p>You have a 14-day statutory cancellation period during which you can change your mind about accepting an offer to study at the University. After accepting your University offer and making your pre-payment, your offer will become a binding agreement with the University of St Andrews.&nbsp;</p> <p>The postgraduate <a href="https://www.st-andrews.ac.uk/policy/student-administration-conditions-of-study/terms-and-conditions-of-study.pdf">terms and conditions</a> of this agreement will remain in force for the duration of your studies at the University.&nbsp;<br />&nbsp;<br />The University will tell you if any changes need to be made to your programme. You can find more information on course revision, teaching provision and fee setting policies in your University offer and in the <a href="https://www.st-andrews.ac.uk/policy/student-administration-conditions-of-study/policy-on-further-particulars-of-offers.pdf">further particulars of offers policy</a>.&nbsp;</p> <h4>Pre-payment refunds&nbsp;</h4> <p>Pre-payments will only be refunded under the following circumstances:&nbsp;</p> <ul> <li>you do not fulfil the terms and conditions of your offer&nbsp;</li> <li>you do not fulfil the academic conditions of admission&nbsp;</li> <li>you have medical reasons for withdrawal and the relevant supporting evidence&nbsp;</li> <li>your UK student visa application was not successful&nbsp;&nbsp;</li> <li>the programme was full at the time you paid the pre-payment&nbsp;</li> <li>you cancel within the 14-day statutory cancellation period.&nbsp;</li> </ul> <p>To request a refund, you must complete the <a href="https://forms.office.com/Pages/ResponsePage.aspx?id=yyZW-KgN00mqWGTvZ47wGjYTTtI0-jBOkNiRzd7ANH1UOUQ0NUtGNk1LT1pMRkVXN0ZKWTRUR0haSi4u">pre-payment refund form</a> and submit any relevant evidence to <a href="mailto:pgt.application@st-andrews.ac.uk">pgt.application@st-andrews.ac.uk</a> within 30 days of the official start date of your programme on your offer letter.&nbsp;</p></div> </li> <li id="d.en.196616" class="accordion-item"> <div class="accordion-item__toggle"> <h3 class="accordion-item__toggle-title"> <button class="accordion-item__toggle-button" aria-controls="">Paying fees</button> </h3> </div> <div class="accordion-item__content" id="" aria-hidden="true"><p>You can pay your fees by direct debit, credit card, bank transfer, or in instalments.</p> <p>Read more about your<a href="https://www.st-andrews.ac.uk/pgstudents/money/tuitionfees/howareyoupaying/paying-your-fees/"> tuition and accommodation payment options</a>.&nbsp;</p></div> </li> <li id="d.en.196611" class="accordion-item"> <div class="accordion-item__toggle"> <h3 class="accordion-item__toggle-title"> <button class="accordion-item__toggle-button" aria-controls="">Funding</button> </h3> </div> <div class="accordion-item__content" id="" aria-hidden="true"><p>Check the <a href="https://www.st-andrews.ac.uk/study/fees-and-funding/scholarships/scholarships-catalogue-search/?form=master&amp;num.ranks=10&amp;f.level%7Clevel=postgraduate&amp;query=postgraduate&amp;profile=_default&amp;collection=uosa-web-scholarships&amp;wildcard=">postgraduate scholarships</a> for funding opportunities.&nbsp;</p> <p>Your prospective supervisor may also have advice on sources of funding for your research project.&nbsp;</p></div> </li> <li id="d.en.196617" class="accordion-item"> <div class="accordion-item__toggle"> <h3 class="accordion-item__toggle-title"> <button class="accordion-item__toggle-button" aria-controls="">Pre-sessional courses</button> </h3> </div> <div class="accordion-item__content" id="" aria-hidden="true"><p>If English is not your first language, attending a <a href="/lifelong-learning/courses/pre-sessional/">pre-sessional course</a> can help you develop your academic English and study skills. There are pre-sessional courses for students with and without an English language condition on their University offer. &nbsp;</p> <p>Email <a href="mailto:presessional@st-andrews.ac.uk">presessional@st-andrews.ac.uk</a> for information.</p></div> </li> <li id="d.en.196618" class="accordion-item"> <div class="accordion-item__toggle"> <h3 class="accordion-item__toggle-title"> <button class="accordion-item__toggle-button" aria-controls="">Additional information on postgraduate offers</button> </h3> </div> <div class="accordion-item__content" id="" aria-hidden="true"><p>You will have a contract with the University of St Andrews when you accept your offer to study at the University. This agreement includes:&nbsp;</p> <ul> <li>your degree programme&nbsp;</li> <li>the expectations of students whilst studying in the University of St Andrews community&nbsp;</li> <li>the University approach to delivering a quality learning experience.&nbsp;</li> </ul> <p>The University aims to ensure that students are aware of the main provisions of the agreement and this document offers further information on key aspects of your offer:&nbsp;</p> <ul> <li><a href="https://www.st-andrews.ac.uk/policy/student-administration-conditions-of-study/policy-on-further-particulars-of-offers.pdf">Further particulars of offers</a> &nbsp;&nbsp;</li> </ul></div> </li> <li id="d.en.196612" class="accordion-item"> <div class="accordion-item__toggle"> <h3 class="accordion-item__toggle-title"> <button class="accordion-item__toggle-button" aria-controls="">Accommodation</button> </h3> </div> <div class="accordion-item__content" id="" aria-hidden="true"><p>Each year, the University allocates some accommodation specifically for postgraduate students.&nbsp;</p> <h4>When to apply &nbsp;</h4> <p>Prospective postgraduate students are able to apply for University accommodation once they have accepted their offer <strong>and</strong>, for taught programmes, paid the required pre-payment fee. The online accommodation application form is open from 1 March onwards. University accommodation is a popular choice, so you are encouraged to apply as early as possible to secure a place.&nbsp;</p> <p>We will continue to accept University accommodation applications after 30 June but these will be considered on a case-by-case basis. &nbsp;</p> <p>If you think your undergraduate results won&rsquo;t arrive on time and could affect your accommodation application, email <a href="mailto:accommodation@st-andrews.ac.uk">accommodation@st-andrews.ac.uk</a>.&nbsp;</p> <p>Offers of accommodation will be sent from the end of May until late August. Your application will be processed when your offer becomes unconditional. &nbsp;</p> <p>Email <a href="mailto:accommodation@st-andrews.ac.uk">accommodation@st-andrews.ac.uk</a> if you have any questions. &nbsp;</p> <h4>International students &nbsp;</h4> <p>International postgraduate students who normally live outside the UK will get priority access to postgraduate accommodation. &nbsp;</p> <p>To get priority access, you must: &nbsp;</p> <ul> <li>accept your University offer &nbsp;</li> <li>pay your pre-payment (if applicable)&nbsp;</li> <li>complete the online accommodation application by:&nbsp; <ul> <li>31 March (you are most likely to get University accommodation)&nbsp;</li> <li>30 May (your accommodation application will be considered)&nbsp;</li> <li>30 June (applications are only considered on a case-by-case basis)&nbsp;</li> </ul> </li> </ul> <h4>Couples or families&nbsp;</h4> <p>Accommodation for couples or families is limited. Read more about the accommodation options for couples and families. &nbsp;</p> <p>Email <a href="mailto:accommodation@st-andrews.ac.uk">accommodation@st-andrews.ac.uk</a> to discuss your requirements. &nbsp;</p></div> </li> <li id="d.en.196613" class="accordion-item"> <div class="accordion-item__toggle"> <h3 class="accordion-item__toggle-title"> <button class="accordion-item__toggle-button" aria-controls="">CAS numbers and applying for a visa</button> </h3> </div> <div class="accordion-item__content" id="" aria-hidden="true"><p>You must check if you need a visa to study in the UK. You cannot apply for your visa more than six months before the start date of your course. &nbsp;</p> <p>Once you have firmly accepted your offer the University will give you a CAS (Confirmation of Acceptance for Studies) to support your visa application. When your CAS number is ready, the Registry team will email you the number. You must wait for your CAS number before you start your visa application.&nbsp;</p> <p>If you have any questions, email <a href="mailto:advint@st-andrews.ac.uk">advint@st-andrews.ac.uk</a>.&nbsp;</p> <p>Find out more about moving to the UK.&nbsp;</p></div> </li> <li id="d.en.196614" class="accordion-item"> <div class="accordion-item__toggle"> <h3 class="accordion-item__toggle-title"> <button class="accordion-item__toggle-button" aria-controls="">Terms and conditions</button> </h3> </div> <div class="accordion-item__content" id="" aria-hidden="true"><p>A contract is formed between the University and you once you accept the offer of a place.&nbsp;</p> <p>The terms of this contract include the following policies, and your acceptance of a place is subject to them. For full details on our terms and conditions and policies, please see the relevant links below:&nbsp;</p> <ul> <li><a href="https://www.st-andrews.ac.uk/policy/student-administration-conditions-of-study/terms-and-conditions-of-study.pdf">Terms and conditions of study</a> &nbsp;</li> <li>Further particulars of offers&nbsp;</li> <li>Admissions policy &nbsp;</li> <li><a href="https://www.st-andrews.ac.uk/policy/student-administration-tuition-fees/fee-status-policy.pdf">Fee status policy</a> &nbsp;</li> <li><a href="https://www.st-andrews.ac.uk/policy/search/?form=partial&amp;profile=_default&amp;query=postgraduate&amp;collection=uosa-meta-policy&amp;f.Category%7Ckeyterm1=Student+administration">Postgraduate policies</a> &nbsp;</li> <li><a href="https://www.st-andrews.ac.uk/students/rules/appeals/non-academicmisconduct/">Non-academic misconduct policy</a>&nbsp;</li> </ul></div> </li> <li id="d.en.196619" class="accordion-item"> <div class="accordion-item__toggle"> <h3 class="accordion-item__toggle-title"> <button class="accordion-item__toggle-button" aria-controls="">The town of St Andrews </button> </h3> </div> <div class="accordion-item__content" id="" aria-hidden="true"><h4>Travelling&nbsp;</h4> <p><a href="/study/undergraduate/why/town/">St Andrews</a> is a small town, so most people cycle or walk to travel within the town. There are frequent buses within the town and to local communities. Some students choose to bring a car with them, but it is not essential, and parking can be limited. &nbsp;&nbsp;</p> <p>The nearest airport is Edinburgh airport, and the nearest train station is Leuchars. &nbsp;</p> <p>The University offers a <a href="/students/support/night-bus/">free night bus</a> for all students during term time.&nbsp;</p> <p>Find out <a href="/visiting/travel/">how to get to St Andrews</a>. &nbsp;</p></div> </li> </ul> <!-- End: accordion group - end --> </div> <aside class="col-sm-4 sidebar content"> <div id="d.en.196622" class="content-section"> <h3>Postgraduate applications</h3> <ul> <li><a href="/study/my-application/">Track your taught application</a></li> </ul> </div> </aside> </div> </div> </main> <!--noindex--> <footer id="footer"> <div id="website-footer"> <div id="d.en.204626" class="container"> <div class="row"> <div class="col-sm-4"> <h2>Contact</h2> <p><strong>Admissions</strong><br />University of St Andrews<br />St Katharine's West<br />The Scores<br />St Andrews<br />KY16 9AX</p> <p><strong>Phone:</strong>&nbsp;<a href="tel:+44 (0)1334 46 2150">+44 (0)1334 46 2150</a></p> <ul> <li><a href="https://www.admissions.st-andrews.ac.uk/ask-admissions/">Ask Admissions</a></li> <li><a href="/study/policy/">Admissions policy</a></li> </ul> </div> <div class="col-sm-4"> </div> <div class="col-sm-4"> </div> </div> </div> </div> <div id="university-footer"> <div class="container"> <div class="row"> <div class="col-lg-12"> <p id="footer-charity" >© 2024 The University of St&nbsp;Andrews is a charity registered in Scotland, No: SC013532</p> <ul id="footer-links"> <li><a class="footer-links__link cookie-control__open" aria-controls="ccc" tabindex="0">Cookie preferences</a></li> <li><a href="https://www.st-andrews.ac.uk/digital-standards/accessibility/accessibility-statement/" class="footer-links__link">Accessibility statement</a></li> <li><a href="https://www.st-andrews.ac.uk/terms/" class="footer-links__link">Terms and conditions</a></li> <li><a href="https://www.st-andrews.ac.uk/help/" class="footer-links__link">Website help</a></li> </ul> </div> </div> </div> </div> </footer> <script src="https://www.st-andrews.ac.uk/~cdn/dpl/1.27.4/scripts/core.min.js" ></script> <script src="https://www.st-andrews.ac.uk/~cdn/dpl/1.27.4/scripts/jquery.dataTables.min.js"></script> <script src="https://www.st-andrews.ac.uk/~cdn/dpl/1.27.4/scripts/datatables.js"></script> <script src="https://www.st-andrews.ac.uk/~cdn/dpl/1.27.4/scripts/lightbox.min.js"></script> <script src="https://www.st-andrews.ac.uk/~cdn/dpl/1.27.4/scripts/gallery.js"></script> <script src="https://www.st-andrews.ac.uk/s/resources-global/js/typeahead.bundle-0.11.1.min.js"></script> <script src="https://www.st-andrews.ac.uk/s/resources-global/js/handlebars-4.0.5.min.js"></script> <script src="https://www.st-andrews.ac.uk/s/resources-global/js/funnelback.autocompletion-2.6.0.js"></script> <script> jQuery(document).ready(function() { // ARIA $('.breadcrumbs li:last-child').attr('aria-current', 'page'); // Autocomplete jQuery('.form-control--autocomplete').autocompletion({ datasets: { organic: { collection: 'uosa-meta-global', profile : '_default', program: 'https://www.st-andrews.ac.uk/s/suggest.json', format: 'extended', alpha: '0.5', show: '8', sort: '0', group: true, template: { suggestion: function(context) { var pos = context.label.toLowerCase().indexOf(context.query.toLowerCase()); var pos2 = pos+context.query.length; console.log(pos + ' ' + pos2); return '<div class="tt-suggestion tt-selectable"><span class="tt-highlight">'+context.label.slice(0, pos) + "</span>" + context.label.slice(pos,pos2)+'<span class="tt-highlight">'+context.label.slice(pos2)+'</span></div>'; } } }, }, typeahead: { hint: true, highlight: false }, length: 3 }); }); </script> <script> dataLayer.push({'event':'staScripts_Loaded'}); </script> <!-- programmable layout - text/scripts --> <script src="https://www.st-andrews.ac.uk/t4-autocomplete/runtime.a92ea0e66810b490.js" type="module"></script> <script src="https://www.st-andrews.ac.uk/t4-autocomplete/polyfills.8ba94c94887e9329.js" type="module"></script> <script src="https://www.st-andrews.ac.uk/t4-autocomplete/main.50b79e24bb40e952.js" type="module"></script> <!--endnoindex--> </body > </html >

Pages: 1 2 3 4 5 6 7 8 9 10