Ver Mensaje Individual
  #5 (permalink)  
Antiguo 28/08/2008, 14:30
Avatar de subero
subero
 
Fecha de Ingreso: marzo-2007
Mensajes: 64
Antigüedad: 17 años, 1 mes
Puntos: 0
Respuesta: ayuda con document type does not allow element "style" here

fijate eso es un menu slider de joomla un compomente por lo que he analizado esa parte del codigo lo hacen dentro de un .php ellos no colocan encabezado de html ni nada peroe structuran l codigo asi, es por eso mi duda

en el cual colocan:
<?php
codigo php..
.
.
//luego esto
/* Include stylesheet */
echo '<link rel="stylesheet" href="modules/mod_kwickverti_slidingmenu/kwickverti_slidingmenu/kwickverti_slidingmenu.css" type="text/css"/>';

/* include mootools only if indicated */
if ($with_mootools)
echo "<script src=\"modules/mod_kwickverti_slidingmenu/kwickverti_slidingmenu/js/mootools.js\" type=\"text/javascript\"></script>";

echo "<script src=\"modules/mod_kwickverti_slidingmenu/kwickverti_slidingmenu/js/kwickverticalslide.js\" type=\"text/javascript\"></script>";
?> //cierran php

//luego

<style type="text/css"> //aqui me da el error

/* now lets do the styling thats not covered in the .css */
#kwickmenu {
height: <?php echo $menuheightall; ?>px;
}
#kwickmenu .menus {
width: <?php echo $menucontainer; ?>px;
}
#kwickmenu .menu {
width:<?php echo $menuwidth; ?>px;
height:<?php echo $menuheight; ?>px;
border-bottom: <?php echo $separator_height; ?>px solid <?php echo $separator_color; ?>;
}

/* now lets set up the images */

<?php if ($status1==1) { ?>
#kwickmenu .opt1 {
background: url(modules/mod_kwickverti_slidingmenu/kwickverti_slidingmenu/images/<?php echo $camp26image1?>) ;
} ?>