Tekforums

Chat => Entertainment & Technology => Topic started by: neXus on March 07, 2007, 14:34:40 PM

Title: what does this do to work?
Post by: neXus on March 07, 2007, 14:34:40 PM
Hey all, Do not need details, just link to an example or basic information and then I can write my own

http://wow-en.curse-gaming.com/files/details/3921/wim-wow-instant-messenger/

When you click the images you do not get a new window but a layer pop up of sorts, what is done to do that?
THanks
Title: what does this do to work?
Post by: Mardoni on March 07, 2007, 14:47:31 PM
Its done using Divs and Javascript.

Their javascript is here:
http://65.98.12.220/js/kbox.js

Probably need the CSS too:
http://65.98.12.220/css/kbox.css
Title: Re:what does this do to work?
Post by: White Giant on March 07, 2007, 15:56:17 PM
Ironically enough I installed that last night. Corking little addon.  :mrgreen:
Title: Re:what does this do to work?
Post by: neXus on March 07, 2007, 19:10:30 PM
Yeah, its better then new window pop ups etc to view images

Nimrod you got a code use example?

Cheers
Title: what does this do to work?
Post by: Mardoni on March 07, 2007, 23:11:18 PM
That website you linked to is the example. All of the code you need is in their Javascript and their CSS files.
Title: Re:what does this do to work?
Post by: skidzilla on March 08, 2007, 04:13:47 AM
Theres a much slicker script out there that does this (http://www.huddletogether.com/projects/lightbox2/), just click on the example images and youll see what I mean. 8)

Youll also need these two (http://script.aculo.us/) Javascript libraries for it (http://www.prototypejs.org/) to work. :)