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

Inline Edit Interface


Some of JazzMeet's regular contributors may find it easier to have the edit interface appear inline. We can achieve this by using JavaScript.

We have quite a few choices when it comes to providing a suitable solution for this functionality. We will assess ThickBox, Lightbox 2, and GreyBox, all of which have slightly different features and implementations.

ThickBox

ThickBox (http://jquery.com/demo/thickbox/) is a JavaScript "widget" that makes use of the jQuery library:

What does ThickBox Support?

We can use ThickBox with images, content within iframes, and AJAX-based content. ThickBox also supports inline content (that is, content within the page that you are linking, as seen in the following screenshot), although this is not of interest to us in this application. Unlike Lightbox, ThickBox can also be used with Flash videos and games.

ThickBox's Features

ThickBox allows for its invocation from three elements: links, inputs (for example, submit buttons), and image maps...