Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
This will modalize content someday.
branch: master

This branch is 4 commits behind darrinholst:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
spec
src
LICENSE
README.md
SpecRunner.html

README.md

jquery.modalizer

Given some html

<div class="non-modal-page">
  <h2>Some Title</h2>
  <form>
    <input type="text" name="foo">
    <div class="actions">
      <input type="submit" value="Do It">
    </div>
  </form>
</div>

When I

$(".non-modal-page").modalize();

Then I get

<form>
  <div class="modal-header">
    <h2>Some Title</h2>
  </div>
  <div class="modal-body">
    <input type="text" name="foo">
  </div>
  <div class="modal-footer">
    <div class="actions">
      <input type="submit" value="Do It">
    </div>
  </div>
</form>

Until I get a command line test runner run python -m SimpleHTTPServer from the root directory and open http://localhost:8000/SpecRunner.html to run the specs.

Something went wrong with that request. Please try again.