From e56dfe84a87a98bad1d850576e32ee8f9088813f Mon Sep 17 00:00:00 2001 From: Jorge Plaza Date: Mon, 4 May 2015 18:46:57 -0430 Subject: [PATCH 1/3] Adding menu border and font-color support. Improving a bit the demo html. --- index.html | 27 ++++++++++++++++++++++----- src/jquery.popmenu.js | 13 ++++++++----- 2 files changed, 30 insertions(+), 10 deletions(-) diff --git a/index.html b/index.html index c9059d9..26d7fb8 100644 --- a/index.html +++ b/index.html @@ -36,10 +36,11 @@ Fork me on GitHub

jQuery pop menu

- click these buttons below to have a try. + Click the buttons below to have a try. +

Demo 1: Default menu

-
+
  • Home
  • Cloud
  • @@ -52,8 +53,9 @@

    jQuery pop menu

  • Exit
+

Demo 2: Menu with square corners and orange background

-
+
  • Home
  • Cloud
  • @@ -66,6 +68,18 @@

    jQuery pop menu

  • Exit
+

Demo 3: Menu with border and custom colors

+
+ +
    +
  • Home
  • +
  • Cloud
  • +
  • settings
  • +
  • E-mail
  • +
  • Clock
  • +
  • Exit
  • +
+

How to use:

$('#demo_box').popmenu({parameters});

You can use parameters below.

@@ -77,7 +91,9 @@

How to use:

'borderRadius': '10px', // radian of angles, '0' for right angle 'top': '50', // pixels that move up 'left': '0', // pixels that move left - 'iconSize': '100px' // size of menu's buttons + 'iconSize': '100px', // size of menu's buttons + 'color': '#fff' // color of menu's text + 'border': '1px solid #000', // border style for the menu box }

Find more information on github.