Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

javascript

Name: Anonymous 2007-06-14 13:51 ID:U902qcqx

I am asking for your help /prog/

The thing is that I'm using some modified lightbox version and it doesn't close opened image when I press the mouse on it, so that's the problem. (I would you use the default one or different one for that matter, but I can't so...)

if((key == 'x') || (key == 'o') || (key == 'c')){
myLightbox.end();
}

I'm guessing that something like closeWindow(); onClick(); or something else could do the trick instead of these keys, but I don't know js at all so I'm asking you /prog/.

Please.

Name: Anonymous 2007-06-15 3:36 ID:rbgMqqyq

>>6
It picks up the event correctly, the thing I wanted to accomplish was to pick it up on different action. Now it is x/o/c, but instead I wanted for it to trigger on mouse click.

Well, thanks for these who bothered but I managed to get the problem fixed a little bit differently.

For these who don't understand about what I am talking about - I'm using Joomla! with a ton of modules/mambots php workarounds and javascript actions, so yeah. It is messy.

Anyway, I would like to find out how to do this kind of stuff if anyway knows.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List