Absolutely stumped. Simply attempting to toggle layers using cartdb and jquery much like this tutorial. After sniping the console I get init() is not defined? However this only occurs after adding the 4th button (#large)? Works fine with 3 (#all,#69,#115)?
I'm at a wall. Any further direction would be appreciated.
html, body {width:100%; height:100%; padding: 0; margin: 0;} #map { width: 100%; height:100%; background: black;} #menu { position: absolute; top: 5px; right: 10px; width: 400px; height:inherit; background: transparent; z-index:10;} #menu a { margin: 15px 10px 0 0; float: right; vertical-align: baseline; width: 70px; padding: 10px; text-align: center; font: bold 11px "Helvetica",Arial; line-height: normal; color: #555; border-radius: 4px; border: 1px solid #777777; background: #ffffff; text-decoration: none; cursor: pointer; } #menu a.selected, #menu a:hover { color: #F84F40; }
ALL 69 115 230
أكثر...
I'm at a wall. Any further direction would be appreciated.
html, body {width:100%; height:100%; padding: 0; margin: 0;} #map { width: 100%; height:100%; background: black;} #menu { position: absolute; top: 5px; right: 10px; width: 400px; height:inherit; background: transparent; z-index:10;} #menu a { margin: 15px 10px 0 0; float: right; vertical-align: baseline; width: 70px; padding: 10px; text-align: center; font: bold 11px "Helvetica",Arial; line-height: normal; color: #555; border-radius: 4px; border: 1px solid #777777; background: #ffffff; text-decoration: none; cursor: pointer; } #menu a.selected, #menu a:hover { color: #F84F40; }
ALL 69 115 230
أكثر...