Template:Kyoto/js
From 2012.igem.org
(Difference between revisions)
Line 4: | Line 4: | ||
var list = document.all.list; | var list = document.all.list; | ||
var board = document.all.board; | var board = document.all.board; | ||
- | |||
/* | /* | ||
var margin = window.innerWidth - (list.style.width + board.style.width); | var margin = window.innerWidth - (list.style.width + board.style.width); | ||
- | var MARGIN-LEFT; | + | var MARGIN-LEFT = board.style.; |
var MARGIN-RIGHT; | var MARGIN-RIGHT; | ||
var MARGIN = MARGIN-LEFT + MARGIN-RIGHT; | var MARGIN = MARGIN-LEFT + MARGIN-RIGHT; |
Revision as of 17:21, 18 September 2012