View source
From FridaV
for
MediaWiki:Common.js
Jump to:
navigation
,
search
/* Any JavaScript here will be loaded for all users on every page load. */ var chart = { chart: {}, init: function() { $('table.flot').each(function(i) { var my_id=$(this).attr('id'); console.log('table '+my_id); chart.chart[my_id]={cols:{}, ncols:[]}; // get columns $('.wdbi-results-header th').each(function(j) { var name=this.innerHTML; chart.chart[my_id].cols[name]=j; chart.chart[my_id].ncols.push(name); }); console.log(chart.chart[my_id]); }); } } $(document).ready(chart.init);
Return to
MediaWiki:Common.js
.
Views
Message
Discussion
View source
History
Personal tools
Log in / create account
Navigation
Main Page
Recent changes
maps, graphs & data
Daily
Networks
Media
Files
Tracks
cities
Paris
Ljubljana
Rotterdam
New York
Beijing
Zagreb
Istanbul
Maribor
München
Search
Toolbox
What links here
Related changes
Special pages