TinyPortal

Development => Support => Topic started by: shuban on August 31, 2013, 07:36:01 AM

Title: Hide panel fade effect
Post by: shuban on August 31, 2013, 07:36:01 AM
I was wondering how I could add an effect to the panels if a member decides to hide the whole thing.

For example, in VB, when you hide the right panel, it recedes slowly with a fade until it's gone. In Tinyportal, it just hides immediately.

Could this be done? I'm sure it's just a script, but it's something I'm not good with.
Title: Re: Hide panel fade effect
Post by: IchBin on September 01, 2013, 05:12:43 AM
In the TPortal.php file there is a function named function tp_setupUpshrinks().

You'll have to change the code to use whatever animated javascript you plan to use. I don't know enough javascript to do that for you. I'm sure you could use jquery or something if you wanted, to do this much easier.