views:

107

answers:

3

I would like to have a link on my site that when you click it a site segment that hovers above the content appears and displays some information until it is closed in some way, and I would like to be able to insert anything I want to in there- text, images, CSS formatting, etc.

What language should I use for this? Do you know any sites that do this? Also a link to relevant libraries would be appreciated.

A: 

Check out Prototype Window Xilinus. They have exactly you're looking for.

Tony C
A: 

If I understand well the requirements, you need to use JavaScript, <div>s and the CSS property "display".

Saulo Silva
+2  A: 

javascript is used for such client side tasks such as this. The library jquery will be imensensly helpful. Basically what happens is when you hover your mouse over an image (or whatever you like) a div gets its display property switched and is positioned at the appropriate coordinates. Since this is a div, you can insert into it anything you would have in a webpage, images, CSS, flash, or whatever you like.

CrazyJugglerDrummer
In addition to jQuery, take a look at Thickbox. It sounds like the sort of thing you're after.
Olly Hodgson