TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,027
  • Total Topics: 21,334
  • Online today: 519
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 172
  • Total: 172

Hide panel fade effect

Started by shuban, August 31, 2013, 07:36:01 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

shuban

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.

IchBin

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.

This website is proudly hosted on Crocweb Cloud Website Hosting.