MediaWiki:Sandbox.js: Difference between revisions

MDFW - The Mystery Dungeon Tree of Information.
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 4: Line 4:


$(function() {   
$(function() {   
var lastRow = $('#tableDungeon tr').last();
var lastRow = $('#tableDungeon tr').last();
lastRow.find('td').last().attr('style', 'border-radius: 0 0 0 10px');
lastRow.find('td').last().attr('style', 'border-radius: 0 0 10px 0');
lastRow.find('td').first().attr('style', 'border-radius: 0 0 10px 0');
lastRow.find('th').first().attr('style', 'border-radius: 0 0 0 10px');
});
});

Revision as of 19:35, 5 October 2022

/* 
*  This is a sandbox.
*/

$(function() {  
	var lastRow = $('#tableDungeon tr').last();
	lastRow.find('td').last().attr('style', 'border-radius: 0 0 10px 0');
	lastRow.find('th').first().attr('style', 'border-radius: 0 0 0 10px');
});