Visualizzazione dei risultati da 1 a 9 su 9

Discussione: div concatenati

Visualizzazione discussione

  1. #1
    Utente di HTML.it
    Registrato dal
    May 2009
    Messaggi
    27

    div concatenati

    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>
    Ultima modifica di marri07; 04-03-2014 a 19:24

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.