you should use JQuery for this job.
1.make a function in your html page to build lightbox window.
2.call this function in krpano by this command : js( ...Javascript code... )
http://krpano.com/docu/actions/#js
sampel :
+ fist of all import FancyBox library to your html page.
http://fancybox.net/howto
+ then use this function to build lightbox window :
|
Source code
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
function popup()
{
$.fancybox(
'YOUR-HTML-ADDRESS/FILENAME.html',
{
'width' : '100%',
'height' : '100%',
'autoScale' : false,
'transitionIn' : 'none',
'transitionOut' : 'none',
'type' : 'iframe'
}
);
};
|
+ and call the popup function in krpano by this code :
|
Source code
|
1
|
onclick="js( popup() );"
|
NOTE:
Flashplayer Notes - this action requires the External Interface of the Flashplayer! This means the action will
work offline/locally only when the security settings of the Flashplayer were adjusted.
See here for more detatils - Local / Offline Usage.