Ver Mensaje Individual
  #1 (permalink)  
Antiguo 26/05/2010, 00:07
eltavi
 
Fecha de Ingreso: mayo-2010
Mensajes: 5
Antigüedad: 13 años, 10 meses
Puntos: 0
Sonido al apretar un boton

Bueno, este es mi primer mensaje, pero debo decirles saque un monton de info gracias a los maestros que dan catedra por estos foros.

Ahora, mi pregunta en cuestion, tengo una web, diseñada en photoshop y pasada en una tabla a dreamweaver, a la que le quiero poner el simple sonido de un click al presionar los botones, me canse de leer y la verdad q no encuentro solucion, posteo el codigo del index para ver si me pueden dar una mano, desde ya, MUCHISIMAS GRACIAS POR TODO

<html>
<head>
<title>index.html</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
#Table_01 {
border: thin solid #666;
}
img {
text-decoration: none;
}
</style>
<script type="text/javascript">
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
</script>
</head>
<body bgcolor="#333333" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('images/down_05.gif','images/down_09.gif','images/down_11.gif','images/down_13.gif','images/down_16.gif')">
<p><!-- Save for Web Slices (index.psd) -->
</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<table width="1024" height="769" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
<tr>
<td colspan="6">
<img src="images/inicio_01.gif" width="1024" height="195" alt=""></td>
</tr>
<tr>
<td colspan="4">
<img src="images/index_02.gif" width="297" height="128" alt=""></td>
<td colspan="2" rowspan="11">
<img src="images/index_03.gif" width="727" height="541" alt=""></td>
</tr>
<tr>
<td colspan="2" rowspan="2">
<img src="images/index_04.gif" width="54" height="58" alt=""></td>
<td><a href="index.html" onMouseOver="MM_swapImage('Image26','','images/down_05.gif',1)" onMouseOut="MM_swapImgRestore()" ><img src="images/index_05.gif" name="Image26" width="181" height="42" border="0"></a></td>
<td rowspan="10">
<img src="images/index_06.gif" width="62" height="413" alt=""></td>
</tr>
<tr>
<td>
<img src="images/index_07.gif" width="181" height="16" alt=""></td>
</tr>
<tr>
<td rowspan="8">
<img src="images/index_08.gif" width="53" height="355" alt=""></td>
<td colspan="2"><a href="areas.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image27','','images/down_09.gif',1)"><img src="images/index_09.gif" name="Image27" width="182" height="42" border="0"></a></td>
</tr>
<tr>
<td colspan="2">
<img src="images/index_10.gif" width="182" height="17" alt=""></td>
</tr>
<tr>
<td colspan="2"><a href="legislacion.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image28','','images/down_11.gif',1)"><img src="images/index_11.gif" name="Image28" width="182" height="42" border="0"></a></td>
</tr>
<tr>
<td colspan="2">
<img src="images/index_12.gif" width="182" height="17" alt=""></td>
</tr>
<tr>
<td colspan="2"><a href="consultas.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image29','','images/down_13.gif',1)"><img src="images/index_13.gif" name="Image29" width="182" height="42" border="0"></a></td>
</tr>
<tr>
<td colspan="2">
<img src="images/index_14.gif" width="182" height="16" alt=""></td>
</tr>
<tr>
<td rowspan="2">
<img src="images/index_15.gif" width="1" height="179" alt=""></td>
<td><a href="contacto.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image30','','images/down_16.gif',1)"><img src="images/index_16.gif" name="Image30" width="181" height="42" border="0"></a></td>
</tr>
<tr>
<td>
<img src="images/index_17.gif" width="181" height="137" alt=""></td>
</tr>
<tr>
<td colspan="5">
<img src="images/index_18.gif" width="897" height="32" alt=""></td>
<td><a href="mailto:[email protected]"><img src="images/index_19.gif" width="127" height="32" alt="" border= 0></a></td>
</tr>
<tr>
<td>
<img src="images/spacer.gif" width="53" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="181" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="62" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="600" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="127" height="1" alt=""></td>
</tr>
</table>
<!-- End Save for Web Slices -->
</embed>
</body>
</html>


Si es posible, me gustaria que me expliquen como hacer para q el pie de pagina quede fijo, sin importar lo q escriba en el div contenedor, y en este ultimo, si el contenido sobrepasa su medida q aparezcan los scrolls.

Última edición por eltavi; 26/05/2010 a las 01:18