Back to top

Autore Topic: Modulo sotto component  (Letto 765 volte)

Offline Magma

  • Nuovo arrivato
  • *
  • Post: 16
  • Sesso: Maschio
    • Mostra profilo
Modulo sotto component
« il: 16 Mag 2013, 17:54:27 »
salve, questo è il codice del mio index.php

Codice: [Seleziona]
<?php defined'_JEXEC' ) or die( 'Restricted access' );?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language?>" lang="<?php  echo $this->language?>" >
<head>

<jdoc:include type="head" />

<!-- <link rel="stylesheet" href="<?php echo $this->baseurl  ?>/templates/DE_Template/css/template.css" type="text/css" />-->

<style>
.boom{
    background:#EFEFEF;
    width:80%;
    height:auto;
    border:1px solid #000000;
}

#footer {
bottom:0;
}
</style>

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js">
</script>
<script>

jQuery.noConflict();

jQuery(document).ready(function(){
                           
    jQuery(window).resize(function(){

        jQuery('.className').css({
            position:'absolute',
            left: (jQuery(window).width() - jQuery('.className').outerWidth())/2,
            top: (jQuery(window).height() - jQuery('.className').outerHeight())/2
        });
       
    });
    // To initially run the function:
    jQuery(window).resize();

});
</script>

</head>
<body>
 

<div id="contenitore">

    <div class="boom">
        <jdoc:include type="component" />
    </div>
   
    <div class="menu">
        <jdoc:include type="modules" name="menu"/>
    </div>
 
   
</div>



    </body>
</html>
Il problema e che mi mostra il div del menu sopra il div del component ed invece io vorrei il div del menu sotto al div del component (SPERO CHE POSSIATE AIUTARMI)

PS

Grazie in anticipo

 



Web Design Bolzano Kreatif