Forums  

Go Back   Forums > Talk > Panorama techniques

Reply
 
Thread Tools Display Modes
  #1  
Old 03-18-2011, 11:29 AM
JaRo JaRo is offline
Junior Member
 
Join Date: Sep 2009
Location: Głog?w
Posts: 22
Downloads: 0
Uploads: 0
Default wmode opaque & lightbox

Hi, I want to add a lightbox to my panorama but to get it work perfectly I must add a param:

Code:
so.addParam("wmode","opaque");
if I do that zoom won't work.

Look at screenshot: http://img190.imageshack.us/img190/4...pboard03ou.jpg

Any idea?

Last edited by JaRo; 03-18-2011 at 12:00 PM.
Reply With Quote
  #2  
Old 03-18-2011, 12:26 PM
allSaints's Avatar
allSaints allSaints is offline
Senior Member
 
Join Date: Aug 2008
Location: Stockholm, Sweden
Posts: 945
Downloads: 0
Uploads: 0
Default

I'm not using LightBox myself, but maybe this link can be of some help.

I always use Highslide, but I can't remember if I have ever shown any pictures together with Flash.

Tommy
Reply With Quote
  #3  
Old 03-18-2011, 12:39 PM
JaRo JaRo is offline
Junior Member
 
Join Date: Sep 2009
Location: Głog?w
Posts: 22
Downloads: 0
Uploads: 0
Default

I found a solution, I added that param + jquery plugin mousewheel:

Code:
$(function() {
                $('html, body').bind('mousewheel', function(event, delta) {
                    var dir = delta > 0 ? 'Up' : 'Down',
                    vel = Math.abs(delta);
                    if(dir == 'Up') window.document.pano.myidPanoExecute('pano.zoomKey=2,0');
                    if(dir == 'Down') window.document.pano.myidPanoExecute('pano.zoomKey=-2,0');
                    return false;
                });
            });
not exactly what I wanted but it works with scroll.

http://img717.imageshack.us/img717/6...pboard02ly.jpg

Cheers.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 05:05 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.