Book Image

MediaWiki Skins Design

Book Image

MediaWiki Skins Design

Overview of this book

Table of Contents (16 chapters)
MediaWiki Skins Design
Credits
About the Author
About the Reviewer
Preface

Chapter 7. Dynamic CSS and JavaScript

Many websites make use of JavaScript to help their visitors. JavaScript is a client-side scripting language, which means that it runs on your visitors' computers, and not your server. In other words, the elements of your wiki can be manipulated without the wiki page being reloaded.

Note

Less is more with JavaScript

JavaScript is an excellent tool, but be careful to use it to enhance your website. Also be sure that your wiki's primary functionality, which includes being able to add, edit, and manipulate pages, is still easily done for those visitors who do not have JavaScript enabled or installed.

In this chapter, we will cover integrating some JavaScript into the JazzMeet. This includes the following:

  • Manipulating the edit page so that you can edit your wiki's content in a "light box"

  • Manipulating tables in your wiki through "Tablecloth"

Inline Edit Interface

Some of JazzMeet's regular contributors may find it easier to have the edit interface appear inline...