salve...ho questo codice, ho inserito un div contenitore per far includere il div jg_dtl_photo,
perchè questo non si verifica, in cosa ho sbagliato?
codice HTML:
<div id="contenitore" style="text-align:center; position:relative;">
<div id="jg_dtl_photo" class="jg_dtl_photo" style="height:80%; width:100%; position:absolute; margin-left:-30px; ">
<?php if($this->params->get('show_nametags')): ?>
<div id="jg-img" style=" margin:10px auto; width:100%; height:80%; z-index:0;">
<?php endif;
if($this->params->get('image_linked')): ?>
<a <?php echo $this->image->atagtitle; ?> href="<?php echo $this->image->link; ?>">
<?php endif; ?>
<img src="<?php echo $this->image->img_src; ?>" class="jg_photo2" id="jg_photo_big" alt="<?php echo $this->image->imgtitle;?>" <?php echo $this->extra; ?> />
<?php if($this->params->get('image_linked')): ?>
</a>
<?php endif;
if($this->_user->get('id') && $this->_config->get('jg_nameshields') && !$this->slideshow && ($this->params->get('show_movable_nametag') || $this->_config->get('jg_nameshields_others'))): ?>
<span id="jg-movable-nametag" style="width:<?php echo $this->nametag['length']; ?>px; z-index: 500; cursor:move;" class="nameshield<?php if($this->_config->get('jg_nameshields_others')): echo ' jg_displaynone'; endif; ?>">
<?php echo $this->nametag['name']; ?>
</span>
<form name="nameshieldform" action="<?php echo $this->nametag['link']; ?>" target="_top" method="post">
<div>
<input type="hidden" name="id" value="<?php echo $this->image->id; ?>" />
<input type="hidden" name="xvalue" value="" />
<input type="hidden" name="yvalue" value="" />
<input type="hidden" name="userid" value="" />
</div>
</form>
<?php endif;
if($this->params->get('show_nametags')): ?>
<?php echo JHTML::_('joomgallery.nametags', $this->nametags); ?>
</div>
<?php endif; ?>
</div>
</div>