Ver Mensaje Individual
  #2 (permalink)  
Antiguo 03/12/2010, 06:14
Avatar de raxper
raxper
 
Fecha de Ingreso: enero-2010
Ubicación: ------
Mensajes: 472
Antigüedad: 14 años, 3 meses
Puntos: 2
Respuesta: Ayuda con música en web

mira hay dos formas de hacerlo, uno es con 2 iframe

Iframe 1 = Tenga el Reproductor
Iframe 2 = Tenga el fondo de página


Iframe 2 = todo se cargue en _Self se cargará ahi nomás y no cargará en toda la página :)!


Otra forma de hacerlo es que cada documento se cargue en un DIV, 1 ejemplo
Código Javascript:
Ver original
  1. <script>
  2. function lala(opcion){document.getElementById('div').innerHTML = opcion.name}
  3. </script>
  4.  
  5. <a onclick="lala(this)" name="<iframe src='http://google.com.pe' width='400' height='400'></iframe>"><img style="margin: 0pt 1px 1px 0pt; cursor: pointer; width: 300px; height: 100px;" src="http://www.google.com.pe/intl/en_com/images/srpr/logo1w.png" alt="" border="0" /></a>
  6.  
  7.  
  8. <a onclick="lala(this)" name="<iframe src='http://pe.yahoo.com/?p=us' width='400' height='400'></iframe>"><img style="margin: 0pt 1px 1px 0pt; cursor: pointer; width: 202px; height: 100px;" src="http://l.yimg.com/a/i/ww/met/logo/20100503/yahoo_logo_pe.png" alt="" border="0" /></a>
  9.  
  10.  
  11. <table><tr><td>
  12. <div align="left" id="div"></div></td><td align="right"><object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/VR_Tj4R_kn0?fs=1&amp;hl=es_ES&amp;rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/VR_Tj4R_kn0?fs=1&amp;hl=es_ES&amp;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object></td>

Última edición por raxper; 03/12/2010 a las 06:24