HTML and jQuery Toggle

HTML Menu for Toggling

This code shows the list of HTML menu items with more/less button to toggle.

<div id="option-list">
	<p>Write Mail</p>
	<p>Sent Mail</p>
	<div id="more-option">

jQuery Toggle to Show/Hide Menu Options

This jQuery script is used to hide and show menu options with toggle effect.

function toggleText() {
     if(!$("#more-option").is(':visible')) {
	 } else {

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

Show Buttons
Hide Buttons
Social Media Auto Publish Powered By :