Skip to content
This repository has been archived by the owner on Dec 27, 2021. It is now read-only.
/ Content-Switcher Public archive

🔄 🔀 Using Javascript you can switch the Content of a Span, Div or really anything.

License

Notifications You must be signed in to change notification settings

nhalstead/Content-Switcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Content 🔀

Using this Javascript class you can switch the Content of a Span, Div or really anything.

Example

If you add the Following to an Website with the Javascript file, it will switch the text with one, two, three, four.

All Elements with the Class of testingSwitch will be updated.

  <span class="testingSwitch"></span><br>
  <span class="testingSwitch"></span><br>
  <span class="testingSwitch"></span><br>
  <span class="testingSwitch"></span><br>
  var Testing = new contentSwitcher("testingSwitch", 800, ["one", "two", "three", "four" ] );
  Testing.startSwitching();

About

🔄 🔀 Using Javascript you can switch the Content of a Span, Div or really anything.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published