mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-25 19:13:54 +00:00
Clean up code for use outside example page
This commit is contained in:
parent
a9900a6df8
commit
e3671e8249
3 changed files with 10 additions and 7 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue