Team:TU-Munich/Project/Overview

From 2013.igem.org

(Difference between revisions)
Line 21: Line 21:
dom = $.parseHTML(html);
dom = $.parseHTML(html);
visitors = $(dom).find('a[title="Team:TU-Munich"]').parent().text();
visitors = $(dom).find('a[title="Team:TU-Munich"]').parent().text();
-
visitors = visitors.substring(visitors.IndexOf('(')+1);
+
visitors = visitors.substring(visitors.indexOf('(')+1);
-
visitors = visitors.substring(0, url.IndexOf(' '));
+
visitors = visitors.substring(0, url.indexOf(' '));
visitors = visitors.replace(',', '');
visitors = visitors.replace(',', '');
render_counter('visitors');
render_counter('visitors');

Revision as of 13:57, 24 September 2013



0 visitors