diff options
author | RedMatrix <info@friendica.com> | 2015-01-06 09:40:26 +1100 |
---|---|---|
committer | RedMatrix <info@friendica.com> | 2015-01-06 09:40:26 +1100 |
commit | c45456fa3342bc72d30c20bafd029913930130aa (patch) | |
tree | f707891da9bd1c7272f04e455f33043bbb29ef1d /library/jquery.divgrow/howto | |
parent | 074be42e234a9d44ffe7875ffef6eb7a5e22f013 (diff) | |
parent | 5ce5de73051e0d68d277dc189b3bcc4593d7ab8d (diff) | |
download | volse-hubzilla-c45456fa3342bc72d30c20bafd029913930130aa.tar.gz volse-hubzilla-c45456fa3342bc72d30c20bafd029913930130aa.tar.bz2 volse-hubzilla-c45456fa3342bc72d30c20bafd029913930130aa.zip |
Merge pull request #820 from pafcu/nomigrate
Steps towards not needing jquery-migrate
Diffstat (limited to 'library/jquery.divgrow/howto')
-rw-r--r-- | library/jquery.divgrow/howto | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/library/jquery.divgrow/howto b/library/jquery.divgrow/howto deleted file mode 100644 index c2fdd66f9..000000000 --- a/library/jquery.divgrow/howto +++ /dev/null @@ -1,46 +0,0 @@ -1) Inlcude the JS file into your page (after jQuery): - -<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script> - -<script src="JS/jquery.divgrow.js" type="text/javascript"></script> - - -2) Call the divgrow function to any div element you want to grow. initialHeight sets the height of the containers before they are expanded. - -<script type="text/javascript"> - $().ready(function() { - $('div.more-block').divgrow({ initialHeight: 147 }); - }); - - -3) Create you container and give it a reference, i.e. by classname "more-block" - - <div class="more-block"> - <h2>Corns and Callus (Hyperkeratosis)</h2> - <p> - These occur in areas of the foot that are experiencing excess pressure and/or friction. The body seeks to defend itself by producing extra layers of skin as a form of protection. However as the process continues the accumulation of extra skin exceeds that which is lost naturally so the skin in these vulnerable areas builds up and becomes compacted as the original cause of the process continues. The protective mechanism becomes the problem if left untreated and the cause not addressed.<br /> - Callus denotes a general area of hard dead skin and a corn is a much more concentrated collection which often goes deep rather than wide. Corns can produce pain completely out of proportion to their size often because of impingement upon nerves or sometimes infection.<br /> - Treatment of the symptoms is the first step to stopping the pain and discomfort and this is usually addressed without much discomfort by a foot health professional. Treating the cause can be as simple as discarding an ill fitting pair of shoes or may entail a more detailed assessment of individual foot function.<br /> - Callus is not always caused by mechanical factors but can be a symptom of a systemic disease such as Psoriasis.<br /> - There are some useful devices to assist in protecting vulnerable areas from corns and callus ? see our recommended <a href="Products.aspx">products page</a>. - </p> - </div> - - - ------------------------------------------------------ - -Thats it. - -Optional arguments: - -initialHeight: 100 - (default) -moreText: "+ Show More" - (default) -lessText: "- Show Less" - (default) -showBrackets: true - (default) - -e.g. - -$('div.more-block').divgrow({ initialHeight: 147, moreText: "give me more", lessText: "thats enough", showBrackets: false }); - - |