Ver Mensaje Individual
  #4 (permalink)  
Antiguo 13/10/2011, 07:22
kiko's
 
Fecha de Ingreso: julio-2005
Mensajes: 310
Antigüedad: 18 años, 9 meses
Puntos: 36
Respuesta: Efecto Frame pero sin frame.

Creo que tendrá que ser con AJAX:

Código:
<html>
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
<script type="text/javascript">
 $(document).ready(function(){
   $('.enlaceInterno').click(function(event){
    event.preventDefault();
    var href = $(this).attr("href");
    $('#principal').load(href);
   });
 });
</script>
</head>


<body>
<div id="reproductor">Aquí el reproducto. Probandooo:<?php echo time(); ?></div>
<div id="principal">
   Aquí va el resto de la web
   <a href="pagina2.php" class="enlaceInterno">Ir a pagina2.php</a>
</div>
</body>
</html>

Última edición por kiko's; 13/10/2011 a las 07:35