Po prostu ktoś musi kliknąć taki link jak podałem u góry.
(
http://dolem.com/lytebox/demo.php - demo)
@
bim2 masz racje tego nie da się zrobić (no chyba że mocno przerobić skrypt

)
a teraz tak myślę a gdyby w jakiś sposób po wpisaniu jakiegoś adresu przekierowało go na adres tej podstrony na której jest ten lightbox to czy można jakoś z przekierowaniem wysłać do skryptu te informacje:
<a href="http://www.google.com"
rel="lyteframe" title="Search Google"
rev="width: 400px; height: 300px; scrolling: no;">Google Search</a>
A i znalazłem fragment odpowiedzialny za odbiór tych informacji
if ((imageLink.getAttribute('rel') == 'lyteframe')) {
var rev = imageLink.getAttribute('rev');
this.frameArray.push(new Array(imageLink.getAttribute('href'), imageLink.getAttribute('title'), (rev == null || rev == '' ? 'width: 400px; height: 400px; scrolling: auto;' : rev)));
} else {
if (imageLink.getAttribute('rel').indexOf('lyteframe') != -1) {
for (var i = 0; i < anchors.length; i++) {
var anchor = anchors[i];
if (anchor.getAttribute('href') && (anchor.getAttribute('rel') == imageLink.getAttribute('rel'))) {
var rev = anchor.getAttribute('rev');
this.frameArray.push(new Array(anchor.getAttribute('href'), anchor.getAttribute('title'), (rev == null || rev == '' ? 'width: 400px; height: 400px; scrolling: auto;' : rev)));
}
}
this.frameArray.removeDuplicates();
while(this.frameArray[this.frameNum][0] != imageLink.getAttribute('href')) { this.frameNum++; }
}
}