Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to add icon in button when slide down in jquery
    primarykey
    data
    text
    <p>![enter image description here][1]I did some code for jquery sliding-toggle div but for now i want to adding icon in button when sliding down i want to show a small arrow icon bottom of the open content button. when i click again on open content button that icon want to remove.</p> <p>go through the following path for see the code. <a href="http://jsfiddle.net/sureshsummy/2kQXW/23/" rel="nofollow">jsfiddle link</a></p> <pre><code>&lt;div id="btn-div"&gt;Open content&lt;/div&gt; &lt;div id="content-div"&gt;Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. &lt;br class="clear"/&gt; &lt;/div&gt; </code></pre> <pre><code>body{ font:12px/18px Arial; color:white; } #btn-div{ background:blue; padding:10px; font-size:14px; line-height:20px; color:white; width:100px; } #content-div{ background:#106DCD; display:none; padding:10px; } .clear{ clear:both; }​ </code></pre> <pre><code> $('#btn-div').live('click', function() { $("#content-div").slideToggle("slow"); });​ </code></pre> <p>​</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload