
01/07/2004, 15:48
|
| | Fecha de Ingreso: junio-2004 Ubicación: Puerto Rico
Mensajes: 39
Antigüedad: 20 años, 10 meses Puntos: 1 | |
Scripts en Dreamwaver ¿? Hola a todos los que usan Dreamwaver que es el mejor programa para hacer paginas web. Necesito poner un script para poner imagenes pero no se si se puede, aqui les dejo el script para ver si les sale a ustedes.
Código:
<HTML>
<HEAD>
<TITLE>Open window without menu etc.</TITLE>
<SCRIPT LANGUAGE="JavaScript">
<!--- Hide script from old browsers
function OpenNewWindow(WindowPicture,WindowParameters)
{
NewWindow=window.open("","NewOne", WindowParameters);
NewWindow.document.write ("<HTML><HEAD><TITLE>");
NewWindow.document.write ("Untittle Document");
NewWindow.document.write ("</TITLE></HEAD>");
NewWindow.document.write ("<BODY BGCOLOR='BLACK'>");
NewWindow.document.write ("<P ALIGN=CENTER>");
NewWindow.document.write ("<B><FONT SIZE='4' COLOR='#000075'>");
NewWindow.document.write ("Click the image to close this window");
NewWindow.document.write ("</FONT></P>");
NewWindow.document.write ("<P ALIGN=CENTER>");
NewWindow.document.write ("<A HREF='JavaScript:this.close()'><IMG SRC=");
NewWindow.document.write (WindowPicture);
NewWindow.document.write ("></A>");
NewWindow.document.write ("</P>");
NewWindow.document.write ("</BODY></HTML>");
NewWindow.document.close();
return false;
}
// end hiding from old browsers -->
</SCRIPT>
</HEAD>
<BODY BGCOLOR="AQUA">
<A href=# onClick="OpenNewWindow('http://direccion de imagen de web.jpg','resizable=1,location=0,directories=0,status=0,menubar=0,scrollbars=1,toolbar=0,width=445,height=420');return false;"><!-- $MVD$:picsz("405","500") --><IMG SRC="http://direccion de imagen de web.jpg" WIDTH="100" HEIGHT="75" VSPACE="0" HSPACE="0" BORDER="0" LOOP="0"></A><BR>
|