From 4ddeab1783f07debfc6ba64ad463436ea603610b Mon Sep 17 00:00:00 2001 From: Patrick Filler Date: Thu, 21 Jul 2011 10:40:06 -0400 Subject: [PATCH] Update docs to clarify usage in prototype vs. jQuery. Closes Gh-9 --- docsupport/style.css | 6 +++++- index.html | 9 +++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/docsupport/style.css b/docsupport/style.css index 1430fdd..bf5d9aa 100644 --- a/docsupport/style.css +++ b/docsupport/style.css @@ -37,6 +37,8 @@ h3 { font-weight: bold; } ul li { list-style: disc; margin-left: 1em; margin-bottom: 1.25em; } ol li { margin-left: 1.25em; } +ol ul { margin: .25em 0 0; } +ol ul li { margin: 0 0 .25em 1em; } li > p { margin-top: .25em; } @@ -58,4 +60,6 @@ div.side-by-side > div > em { margin-bottom: 10px; display: block; } a { color: #F36C00; outline: none; text-decoration: none; } a:hover { text-decoration: underline; } -ul.credits li { margin-bottom: .25em; } \ No newline at end of file +ul.credits li { margin-bottom: .25em; } + +strong { font-weight: bold; } \ No newline at end of file diff --git a/index.html b/index.html index 569e99e..7165c06 100644 --- a/index.html +++ b/index.html @@ -1198,7 +1198,7 @@
  • Painless Setup

    -

    Add Chosen's files to your app and then add the class chzn-select to your select box. Chosen automatically respects optgroups, selected state, the multiple attribute and browser tab order. You don't need to do anything else except customize the style as you see fit.

    +

    Add Chosen's files to your app and trigger the plug-in (see Setup below). Chosen automatically respects optgroups, selected state, the multiple attribute and browser tab order. You don't need to do anything else except customize the style as you see fit.

  • @@ -1206,7 +1206,12 @@

    Using Chosen is easy as can be.

    1. Download the plug-in and copy the related files to your app.
    2. -
    3. Add the class chzn-select to any select box.
    4. +
    5. Activate the plug-in: +
        +
      • jQuery Version: Call the chosen plug-in - $(".chzn-select").chosen()
      • +
      • Prototype Version: Add the class chzn-select to appropriate select boxes.
      • +
      +
    6. Disco.