PDA

View Full Version : step carousel + videobox/lightbox problem



mimmuzzo
11-11-2010, 11:30 AM
hi ,
in this page:
http://www.archirestauro.it/rilievi_progettazione.html
the step carousel left and right button are always visible also when i click on the image and open videobox frame....

it's possible to view the enlarged image without this buttons

please try to click on the images

jscheuer1
11-12-2010, 06:14 AM
In the videobox.css file, add the highlighted:


body {margin: 0;}
#lbOverlay {
position:absolute;
left: 0px;
width: 100%;
background-color: #000;
cursor: pointer;
z-index: 999;
}

#lbCenter, #lbBottomContainer {
position: absolute;
left: 50%;
overflow: hidden;
background-color: #fff;
text-align: center;
padding: 5px;
z-index: 1000;
}

mimmuzzo
11-12-2010, 08:41 AM
thank you very much!!

mimmuzzo
11-14-2010, 01:29 PM
hi!,
i have another problem:
in this page
http://www.archirestauro.it/rilievi_progettazione.html
there are six step carousel gallery, but only the first work fine....
Tnx

jscheuer1
11-14-2010, 04:13 PM
I only see one:


stepcarousel.setup({
galleryid: 'mygallery', //id of carousel DIV
beltclass: 'belt', //class of inner "belt" DIV containing all the panel DIVs
panelclass: 'panel', //class of panel DIVs each holding content
autostep: {enable:false, moveby:1, pause:3000},
panelbehavior: {speed:500, wraparound:true, wrapbehavior:'slide', persist:true},
defaultbuttons: {enable: true, moveby: 1, leftnav: ['img/left.png', -2, 105], rightnav: ['img/right.png', -32, 105]},
statusvars: ['statusA', 'statusB', 'statusC'], //register 3 variables that contain current panel (start), current panel (last), and total panels
contenttype: ['inline'] //content setting ['inline'] or ['ajax', 'path_to_external_file']
})
</script>

I do see six:


<div id="mygallery" class="stepcarousel"> . . .

But setup will only take the first one. If you want six, you need six setups each with a unique:


galleryid: 'mygallery', //id of carousel DIV

and six:


<div id="mygallery" class="stepcarousel"> . . .

one each corresponding to those six unique id's.

There could also be other problem(s). But that much needs to be taken care of. Much of the repetition of the setups could be eliminated if they share everything else in common, but that's another topic.