Peter
Peter

Reputation: 1

A simple jQuery plugin to open a modal window

Please, I need help.

I am new to jQuery and I have link which on click should open a modal window of some sort (I want to be able to controll the position of it).

This is a simple window. It only contains some text and I want it to have just a closing button. That is all.

How can I do this in jQuery? I want something very simple, without to much dependencies.

Thank you all.

Upvotes: 0

Views: 734

Answers (4)

Anwar Chandra
Anwar Chandra

Reputation: 8648

you can try facebox, lightbox but the simplest is jqModal

Upvotes: 1

Galen
Galen

Reputation: 30170

try http://jqueryui.com/demos/dialog/

there are more options on the top of this page: http://jquery.com/demo/thickbox/

Upvotes: 2

Chris Nicol
Chris Nicol

Reputation: 10396

Here's a really simple Modal Plugin for jQuery.

Hope that helps.

Upvotes: 1

Sampson
Sampson

Reputation: 268424

jQueryUI has its own Dialog Plugin, having the ability to be Modal and positioned explicitly from its configuration.

Upvotes: 2

Related Questions