🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.lenguajes.java
Article #29918

"Anterior" con JavaScript

#29918
From: sinera
Date: Wed, 01 Oct 1997 00:00
29 lines
1104 bytes
Salud:

Estoy intentado montar en un web una opci�n "go back", para visitar la
p�gina de la que provienes... pero lo intento con un <usemap> y con
javaescript... alguien me puede dar un golpe de mano

Este es el c�digo que uso

+++++++++++++++++
<SCRIPT LANGUAGE="LiveScript">
function goHist(a) 
{
   history.go(a);      // Go back one.
}
</script>

[...]

<img src="images/menulat.gif" width=137 height=83 border=0 hspace=0
vspace=0 usemap="#menulat">

[...]
<MAP NAME="menulat">
<AREA SHAPE=RECT COORDS="89,71,136,82"  onClick="goHist(-1)">
<AREA SHAPE=RECT COORDS="1,6,83,24" HREF="a.html">
<AREA SHAPE=RECT COORDS="31,31,85,46" HREF="b.html">
<AREA SHAPE=RECT COORDS="13,52,85,68" HREF="c.html">
</MAP>
Technical Details
Message-ID: <34328aa8.9662971@noticias.ibernet.es>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: 1116f3,6fa6dfacfd2b826c,start
X-Google-Attributes: gid1116f3,public
From: sinera@conexis.xxx.es
Subject: "Anterior" con JavaScript
Date: 1997/10/01
Message-ID: <34328aa8.9662971@noticias.ibernet.es>
X-Deja-AN: 277070333
Organization: Unisource Espana NEWS SERVER
Newsgroups: es.comp.lenguajes.java