Download slide in pane

Demo | Demo 2 | Demo 3 | Demo 4

Bookmark and Share

Put this into your <HEAD> section

Put this somewhere in your <BODY> section

Configuration

You use CSS(The part between <STYLE type="text/css"> and </STYLE>) to configure the colors and fonts used in the slide in pane. Look at the comments there for more help.

Javascript variable are used to specify if:

  • Sliding should be used or not. If it's not used, it will pop out instantly.
  • The speed of the sliding effect
  • The width of the panel
  • If your main content should be pushed to the right when sliding

This is the default settings for these variables:
var panelWidth = 150; // Width of help panel
var slideSpeed = 15; // Higher = quicker slide
var slideTimer = 10; // Lower = quicker slide
var slideActive = true; // Slide active?
var initBodyMargin = 0; // Left or top margin of your tag (left if panel is at the left, top if panel is on the top)
var pushMainContentOnSlide = true; // Push your main content to the right when sliding
var panelPosition = 0; // 0 = left , 1 = top

Update content of left panel dynamically

You can update the content of the left panel by calling the function setLeftPanelContent. Example:
<A href="#" onclick="setLeftPanelContent('Hello <b>There</b>');return false">Show help

Rate this script at Hotscripts.com

If you like my script, please rate it at HotScripts.com

Comments

No one has commented this - be first!

Post your comment

Don't have an avatar? Create one at Gravatar.com.

Confirmation code:

Go to cbolson.com


About/Contact | A good idea? | Submit a script | Privacy notice
© 2005 - 2024 dhtmlgoodies.com