Permalink
Browse files

Compiled the minified version..

also some little cleaning up.
  • Loading branch information...
1 parent 5c4a68d commit 0da499ce6e9f0265981a6a13feba54cea62efa94 @natrixnatrix89 committed Jan 3, 2012
File renamed without changes.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,31 @@
+.promptumenu_nav{
+ z-index: 5;
+ position: absolute;
+ bottom:5px;
+ left: 50%;
+}
+.promptumenu_window{
+ cursor: url(hand.ico), move;
+ background: #EEE;
+ border: solid 5px #666;
+ border-radius: 15px;
+ -webkit-border-radius: 15px;
+ margin: 10px;
+ position: relative;
+}
+.promptumenu_nav a{
+ cursor: pointer;
+ width: 20px;
+ height: 20px;
+ text-indent: -9999px;
+ outline: none;
+ background: url(pagelink.png) 0 -20px no-repeat;
+ display: block;
+ float: left;
+ position: relative;
+ left: -50%;
+ margin: 0 2px;
+}
+.promptumenu_nav a.active{
+ background: url(pagelink.png) 0 0 no-repeat;
+}
@@ -78,12 +78,12 @@
properties = {
'width': (settings.width == 'auto') ? $this.width() : settings.width,
'height': (settings.height == 'auto') ? $this.height() : settings.height,
- 'margin': $this.css('margin'),
- 'position': ($this.css('position') == 'absolute') ? 'absolute' : 'relative',
- 'top': $this.css('top'),
- 'right': $this.css('right'),
- 'bottom': $this.css('bottom'),
- 'left': $this.css('left'),
+ //'margin': $this.css('margin'),
+ //'position': ($this.css('position') == 'absolute') ? 'absolute' : 'relative',
+ //'top': $this.css('top'),
+ //'right': $this.css('right'),
+ //'bottom': $this.css('bottom'),
+ //'left': $this.css('left'),
'padding': 0,
'display': 'block',
'overflow': 'hidden'
@@ -296,7 +296,6 @@
}, Math.abs(speed.y * settings.inertia), 'inertia');
}
-
} else {
var pos = init_pos.left + delta.x + speed.x * settings.inertia;
@@ -455,7 +454,6 @@
}, false);
} catch(error) {
//apparently this browser won't support swiping
- alert(error);
}
}
});
View
@@ -4,30 +4,11 @@
<meta charset="utf-8" />
<title>Promptu menu test page</title>
<!--<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>-->
+ <link rel="stylesheet" type="text/css" href="../promptumenu/promptumenu.css" />
<script type="text/javascript" src="../../jquery.js"></script>
+ <!--<script type="text/javascript" src="../promptumenu/jquery.promptumenu.min.js"></script>-->
<script type="text/javascript" src="../source/jquery.promptu-menu.js"></script>
- <style type="text/css">
- .promptumenu_nav{
- z-index: 5;
- position: absolute;
- }
- .promptumenu_nav a.active{
- color: red;
- }
- .promptumenu_window{
- cursor: url(../img/hand.ico), move;
- background: #EEE;
- border: solid 5px #666;
- border-radius: 15px;
- -webkit-border-radius: 15px;
- margin: 10px;
- }
- .promptumenu_nav a{
- cursor: pointer;
- }
- </style>
-
<script type="text/javascript">
$(function(){
$('ul').promptumenu({width:500, height:500, rows: 4, columns: 4, direction: 'horizontal', pages: true});

0 comments on commit 0da499c

Please sign in to comment.