PurabTech is technical blog for Programmer and Coders
minimize, restore, maximize and hide functionality with javascript
Inpage Popup are most used JS for website developers. Here in this article I given full detailed code for popup using javascript. Many times we need to minimize and restore functionality for our in page pop-up. In This article I will show how to achieve the minimize and maximize and restore functionality with javascript.
minimize, restore, maximize and hide functionality with javascript
minimize, restore, maximize and hide functionality with javascript
I you want the minimize functionality for your in page pop-up use following code for minimize and restore button. Following code you can use for showing the minimize button on pop-up.
Note: Here for this example My in page popup div id name is “popup-container”. For using following example you should keep the main popup continer id name is “popup-container”.
Use following javascript function in your document.
[viral-lock message=”Solution code is Hidden! It’s Visible for Users who Liked/Shared This article on Facebook or Twitter or Google+. Like or Tweet this article to reveal the content.”]
Above function will swap the minimize and restore button through javascript.
Using following function you can achieve the maximize and maximize restore functionality using the simple javascript. following code you need to use in your html for maximize button.
5 thoughts on “minimize, restore, maximize and hide functionality with javascript”
you forgot to publish the minimize function.
The maximize works fine with a simple div but I tried to use it with a jquery ui dialog and it doesn’t work. How can I do it so it looks like the picture ?
you forgot to publish the minimize function.
The maximize works fine with a simple div but I tried to use it with a jquery ui dialog and it doesn’t work. How can I do it so it looks like the picture ?
I will put the minimize function also…my bad
i can’t arrange this effect in my page please help me
Explain, what you doing.
I’m new with this, How can I put this on wordpress?
I want a popup that minimize and maximize