|
|
Line 166: |
Line 166: |
| | | |
| </body> | | </body> |
| + | <script type="text/javascript" src="http://https://2015.igem.org/Team:CityU_HK/Template/js?action=raw&ctype=text/javascript"></script> |
| | | |
− | <!-- Quantcast Tag -->
| |
− | <script type="text/javascript">
| |
− | var _qevents = _qevents || [];
| |
− |
| |
− | (function() {
| |
− | var elem = document.createElement('script');
| |
− | elem.src = (document.location.protocol == "https:" ? "https://secure" : "http://edge") + ".quantserve.com/quant.js";
| |
− | elem.async = true;
| |
− | elem.type = "text/javascript";
| |
− | var scpt = document.getElementsByTagName('script')[0];
| |
− | scpt.parentNode.insertBefore(elem, scpt);
| |
− | })();
| |
− |
| |
− | _qevents.push({
| |
− | qacct:"p-0dYLvhSGGqUWo",
| |
− | labels:"l0,u57008745.u57008745s899887062766476619"
| |
− | });
| |
− | </script>
| |
− |
| |
− | <noscript>
| |
− | <div style="display:none;">
| |
− | <img src="//pixel.quantserve.com/pixel/p-0dYLvhSGGqUWo.gif?labels=l0,u57008745.u57008745s899887062766476619" border="0" height="1" width="1" alt="Quantcast"/>
| |
− | </div>
| |
− | </noscript>
| |
− | <!-- End Quantcast tag -->
| |
− |
| |
− | <script>
| |
− |
| |
− | (function(jQuery) {
| |
− | try {
| |
− | if (jQuery) {
| |
− | jQuery('div.blog-social div.fb-like').attr('class', 'blog-social-item blog-fb-like');
| |
− | var $commentFrame = jQuery('#commentArea iframe');
| |
− | if ($commentFrame.length > 0) {
| |
− | var frameHeight = jQuery($commentFrame[0].contentWindow.document).height() + 50;
| |
− | $commentFrame.css('min-height', frameHeight + 'px');
| |
− | }
| |
− | if (jQuery('.product-button').length > 0){
| |
− | jQuery(document).ready(function(){
| |
− | jQuery('.product-button').parent().each(function(index, product){
| |
− | if(jQuery(product).attr('target') == 'paypal'){
| |
− | if (!jQuery(product).find('> [name="bn"]').length){
| |
− | jQuery('<input>').attr({
| |
− | type: 'hidden',
| |
− | name: 'bn',
| |
− | value: 'DragAndDropBuil_SP_EC'
| |
− | }).appendTo(product);
| |
− | }
| |
− | }
| |
− | });
| |
− | });
| |
− | }
| |
− | }
| |
− | else {
| |
− | // Prototype
| |
− | $$('div.blog-social div.fb-like').each(function(div) {
| |
− | div.className = 'blog-social-item blog-fb-like';
| |
− | });
| |
− | $$('#commentArea iframe').each(function(iframe) {
| |
− | iframe.style.minHeight = '410px';
| |
− | });
| |
− | }
| |
− | }
| |
− | catch(ex) {}
| |
− | })(window._W && _W.jQuery);
| |
− |
| |
− | </script>
| |
| </html> | | </html> |
| | | |