El parametro wmode puesto como transparent hara que los divs siempre esten por encima del objeto flash.
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="500" height="200" title="slip">
<param name="movie" value="RUTA_ARCHIVO">
<param name="quality" value="high">
<param name="wmode" value="transparent"> <!-- este es el parametro que hara que los div's esten por encima del objeto flash -->
<embed src="RUTA_ARCHIVO" width="500" height="200" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
</object>
it works in IE 5, 6, 7, and 8.
for more info: http://code.google.com/p/ie7-js/
funciona en IE 5, 6, 7 y 8
para mas informacion: http://code.google.com/p/ie7-js/
/*
original: http://code.google.com/p/ie7-js/
*/
<!--[if lt IE 8]>
<script src="http://ie7-js.googlecode.com/svn/version/2.0(beta2)/IE8.js" type="text/javascript"></script>
<![endif]-->
</head>
Teneis mas informacion en la pagina del autor del codigo.
http://www.emezeta.com/articulos/youtube-estandar-con-xhtml-valido
<object data="http://www.youtube.com/v/O0G7iKj6PS0" type="application/x-shockwave-flash" width="425" height="350"> <param name="quality" value="high" /> <param name="movie" value="http://www.youtube.com/v/O0G7iKj6PS0" /> <img border="0" src="/img/video.png" alt="Video (Objeto multimedia)" /> </object>
En el desarrollo de un sitio se crean carpetas reales o carpetas ficticias aplicando las URL Amigables, esto provoca que cuando se vinculan imágenes o enlaces internos hay que ir caminos atrás y luego caminos alante...
Una solución a este problema es mediante la etiqueta <base> que especifica una URL base para todos los enlaces en una página.
<!--La etiqueta <base> se coloca entre las estas etiquetas <head></head> -->
<!--<base href="http://www.dominio.com/" />-->
<base href="<?php echo 'http://'. $_SERVER['HTTP_HOST'].'/';?>" />
<!--Los enlaces se harían a partir de la raíz del sitio-->
<link href="/css/style.css" media="screen" rel="stylesheet" type="text/css" />
<img src="/imagenes/imagen.jpg" alt="texto alternativo" />
<a href="/paginas/enlace/" title="texto alternativo">Enlace</a>
Sencilla, pero util funcion para mostrar u ocultar una capa dentro de una pagina web con javascript.
Hay que tener un poco de conocimientos de DOM y CSS.
// MOSTRAR - OCULTAR
function mostrarOcultar(id) {
divID = document.getElementById(id);
if(divID.style.display == "")
divID.style.display = "none";
else
divID.style.display = "";
}
// Enlace y Capa
<a href="#" onclick="mostrarOcultar('capa'); return false;">Mostrar-Ocultar</a>
<div id="capa" style="display: none;">Contenido de la Capa.</div>
Il reste encore des améliorations à faire...
function html2txt($document){
$search =
array('@<script[^>]*?>.*?</script>@si',
// Strip out javascript
'@<style[^>]*?>.*?</style>@siU', // Strip style tags properly
'@<[?]php[^>].*?[?]>@si', //scripts php
'@<[?][^>].*?[?]>@si', //scripts php
'@<[\/\!]*?[^<>]*?>@si', // Strip out HTML tags
'@<![\s\S]*?--[ \t\n\r]*>@', // Strip multi-line comments including CDATA
);
return $text;
}
Pour telecharger la piece "pngfix.js" aller sur le site: http://catinon.info/blog/2006/01/24/3-le-point-sur-les-png-transparent-sous-ie6.
/* A ajouter entre les balise <head> */
<!--[if lt IE 7]>
<script defer type="text/javascript" src="pngfix.js"></script>
<![endif]-->