Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
- <script src="//catalogue.ulrls.lon.ac.uk/screens/jquery.urlshortener.js" type="text/javascript"></script>
- <script src="//s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4f32821f48ef902e" type="text/javascript"></script>
- <script type="text/javascript">
- var urlindex = document.URL.indexOf('record/C__R');
- recordid = document.URL.substring(urlindex + 11,urlindex + 19);
- //alert(recordid);
- </script>
- <script type="text/javascript">
- (function() {
- var mobilestub = "http://encore.ulrls.lon.ac.uk/iii/mobile/record/C__R";
- var qrrecordid = (recordid);
- var longurl = '' + mobilestub + qrrecordid + '?utm_source=encore%26utm_medium=qr%26utm_campaign=mobile';
- var qrdiv=document.createElement('div');
- //alert(longurl);
- $.shortenUrl(longurl, function(shorturl) {
- //alert(shorturl);
- qrdiv.innerHTML = '<span class="bibInfoHeader">Mobile Catalogue</span><div class="headerFields"><img src="http://chart.apis.google.com/chart?cht=qr&chs=100x100&chld=L|2&chl=' + shorturl + '" alt="Scan to view this record on the Mobile Catalogue" title="Scan to view this record on the Mobile Catalogue" /><br><a href="http://www.senatehouselibrary.ac.uk/library/helpandsupport/qrcodes.shtml">What\'s this\?</a></div>';
- document.getElementById("customBottom").appendChild(qrdiv);
- });
- }
- )();
- </script>
- <script type="text/javascript">
- (function() {
- var addthisDiv=document.createElement('div');
- addthisDiv.innerHTML = '<span class="bibInfoHeader">Bookmark This Record</span><div class="addthis_toolbox addthis_default_style ">' +
- '<p><div class="headerFields">Persistent link to this record: <a title="Persistent link to this record for bookmarking" alt="Persistent link to this record for bookmarking" href="https://encore.ulrls.lon.ac.uk/iii/encore/record/C__R' + recordid + '">https://encore.ulrls.lon.ac.uk/iii/encore/record/C__R' + recordid + '</a></p></div>' +
- '<a class="addthis_button_twitter"></a>' +
- //'<a class="addthis_button_pinterest"></a>' +
- '<a class="addthis_button_connotea"></a>' +
- '<a class="addthis_button_citeulike"></a>' +
- '<a class="addthis_button_diigo"></a>' +
- '<a class="addthis_button_mendeley"></a>' +
- '<a class="addthis_button_email"></a>' +
- '<a class="addthis_button_compact"></a>' +
- '<a class="addthis_counter addthis_bubble_style"></a>' +
- '</p></div>' ;
- document.getElementById("customBottom").appendChild(addthisDiv);
- }
- )();
- </script>
- <script type="text/javascript">
- (function() {
- var azImageDiv = document.getElementById("imageAnyComponent_0");
- if (azImageDiv) {
- if (azImageDiv.width>1 && azImageDiv.height>1) {
- //alert (azImageDiv.width);
- //alert (azImageDiv.height);
- // key is a variable Encore uses for checking Google Books. It contains 'ISBN:' plus an ISBN10.
- var azAsin = key.substring(5);
- //alert (azAsin);
- var pinterestDiv=document.createElement('div');
- pinterestDiv.innerHTML = '<span class="bibInfoHeader">Pinterest</span><div class="addthis_toolbox addthis_default_style" ><p>' + '<a class="addthis_button_pinterest" pi:pinit:url="https://encore.ulrls.lon.ac.uk/iii/encore/record/C__R' + recordid + '" pi:pinit:media="' + 'http://images-eu.amazon.com/images/P/' + azAsin + '.01._SCLZZZZZZZ_.jpg"' + ' pi:pinit:layout="horizontal" pi:pinit:description="Senate House Libraries"></a></div>';
- document.getElementById("customBottom").appendChild(pinterestDiv);
- }
- }
- })();
- </script>
Advertisement
Add Comment
Please, Sign In to add comment