GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - cynx/JSfadeinout: Pure JavaScript function for chained fade in and out or vice versa

BranchesTags
Open more actions menu

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
LICENSE
LICENSE
 
 
README.md
README.md
 
 
fade.js
fade.js
 
 

Repository files navigation

JSfadeinout

Pure JavaScript function for chained fade in and out or vice versa

This function can be used to perform following actions

  • Fade in and out
  • Fade out and in
  • Fade in
  • Fade out

The function accepts following parameters

  • type - accepts string value of 'in' or 'out'.
  • ms - fade delay in miliseconds
  • el - object of element for first action (fade in or out)
  • callback (Optional) - pass the 'fade' function as this parameter if chained action required
  • cel - object of element for second chained action (mandatory if callback function is passed)

Working Example: Follow this JS Fiddle

About

Pure JavaScript function for chained fade in and out or vice versa

Resources

Readme
MIT license
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.