Ok :/
Maybe i can do it with another lightbox like lightbox ++
I create something like this :
- function openLightbox(source)
- {
- var link = document.createElement('a');
- link.setAttribute('href',source);
- link.setAttribute('rel','lightbox');
- Lightbox.prototype.start(link);
- }
And it load with lightbx++ only a single image from xml.
I don't know that we understand good.
Look when you enter to my site an go to tab "portfolio" and then go to "kategory1" you will se a thumbnail grid. This thumbnail grid load from xml atribut "source", source is an thumbnail in xml.
lightbox is a large image in xml. And when you click on image in thumbnail grid it sends to html file function 'openLightbox' and large image for this thumbnail atribut "lightbox".
And i want to do that :
When i click on 3rd thumbnail i want to open a big image for this thumbnail. When lightbox open with this image i want to have buttons previous and next. And when i click next i want to load 4th image not first.
And when i click to button previous in lightbox i want to load 2nd image.
This buttons previous and next are not in my flash content, buttons are in lightbox when it is open.
I want to load pictures in turn 1,2,3,4,5,6,7,8,9.......
and after click on 5th it open large image and on large image are buttons prev and next after click prev i want to load 4th image.