PDA

View Full Version : Reload only one face of the cube..


mathew
11-18-2008, 03:40 PM
Hi everybody!
Is it possible to insert a link inside a pano, which reloades only one image of the six faces of cube and not all pano?
I know the question seems to be stupid, but I want to try this.. :)
Many thanks!
Matteo

siesfor
11-18-2008, 10:56 PM
As far as I know, I don't believe it's possible to change a pano face without reloading the whole thing. It's not as clean a transition as you were probably hoping for, but you could use the loadPano command to reload the pano and change just the face you wanted to.
ie..

let's say the panoName you're viewing, is "cube", and that you want to change the bottom face from cube6.jpg to cube7.jpg . You could use this...

onClick = "loadPano(?panoName=cube&image_d=cube7.jpg)"

What's happening is that you're telling FPP to load panoName "cube" again, but to substitute cube7 for cube6, while cubes 1-5 (f,r,l,b,u) load as usual.