Clean up code for use outside example page

This commit is contained in:
Jordan Eldredge 2015-03-28 16:41:20 -07:00
parent a9900a6df8
commit e3671e8249
3 changed files with 10 additions and 7 deletions

View file

@ -3,10 +3,6 @@
position: absolute;
height: 116px;
width: 275px;
margin-top: -58px;
margin-left: -137px;
top: 40%;
left: 50%;
cursor:url('../cursors/MAINMENU.PNG?inline'), auto;
/* Ask the browser to scale showing large pixels if possible */
image-rendering: -moz-crisp-edges; /* Firefox */

View file

@ -17,6 +17,13 @@ body {
text-align: center;
}
#main-window {
margin-top: -58px;
margin-left: -137px;
top: 40%;
left: 50%;
}
.about {
position: absolute;
bottom: 0;

View file

@ -1,9 +1,9 @@
Context = {
// The Option button
option: document.getElementById('option'),
init: function(winamp) {
this.winamp = winamp;
// The Option button
this.option = document.getElementById('option');
var self = this;
document.onclick = function() {