There are many libraries available on internet having the feature to hide and show different section of page but usually they carry heavy files to download which may slow down your page. You can use them if you have any complicated situation which can be achieved only by those libraries, unless you can use these short tricks.
It is easy let's do this in just three steps
Create a Div and put some content in it and give id to this Div, set it's style to display:none to hide the div by default
<div id="divhidden" style="display:none;">I have some hidden content</div>
Create an other link to hide the content again
In this example we use text to show and hide but you can use any type of elements like image.
How to change the content of hidden div, let's change it
Process manager with a reputed organization, Fond of learning new features and technology related to C#, ASP.Net, SQL Server, MVC etc.I like to help others, if I can
|By Hamden On 30 Dec, 12 Viewed: 619|
A website isn't complete without the inclusion of all the right elements. Progress bar is one of the key components of every website. It informs the user about the total waiting time for a particular web page or a specific task to load. Apart from adding value to the website, the progress bar is... By Celin Smith On 18 Feb 2015 Viewed: 4,686