Copier le code du code comme suit:
<span id = "tiao"> 3 </span> <a href = "javascript: compte à rebours"> </a> Pudding Footprint; '/search/billsearch.jsp' </ul>
<! - Le script commence->
<script lingots = "javascript" type = "">
Countdown de fonction (Secs) {
Tiao.InnerText = Secs;
if (--scs> 0)
setTimeout ("Countdown (" + Secs + "), 1000); 1000);
}
Compte à rebours (3);
</cript>
<! - Script end->
Type de bouton:
<Entrée name = "pclog" type = "bouton" value = "go" onclick = "location.href = 'http: //www.ddhbb.com /'">
Lien:
<A href = "javascript: hestory.go (-1)"> retour à l'étape précédente </a>
<a href = "<% = request.servervariables (" http_referr ")%>"> Retour à l'étape précédente </a>
Type de saut direct:
<script> window.location.href = 'http://www.ddhbb.com';
Ouvrez une nouvelle fenêtre:
<A href = "javascript:" onclick = "window.open ('http://www.ddhbb.com/blog/guestbook.asp', 'height = 500, width = 611, scrollbars = oui, status = oui' ) "> Empreinte de pudding </a>
JS Jump Page Code de référence
Le premier type:
<script lingots = "javascript" type = "text / javascript">
Window.location.href = "login.jsp? Backurl =" + window.location.href;
</cript>
Le deuxième type:
<script linguisse = "javascript">
alert ("retour");
window.history.back (-1);
</cript>
Troisième type:
<script linguisse = "javascript">
Window.navigate ("top.jsp");
</cript>
Le quatrième type:
<script linguisse = "javascript">
self.location = 'top.htm';
</cript>
Cinquième type:
<script linguisse = "javascript">
alerte ("Visite illégale!");
top.location = 'xx.jsp';
</cript>
===== JavaScript Pop -Up Sélection Boîte à d'autres pages =====
<script linguisse = "javascript">
<! -
Fonction Logout () ... {
if (confirm ("êtes-vous sûr de vouloir annuler votre identité?
Window.location.href = "Logout.asp? Act = Logout"
}
}
->
</cript>
===== JavaScript Pop -Up Invite Box Jump aux autres pages =====
<script linguisse = "javascript">
<! -
Fonction Logout () ... {
Alert ("Êtes-vous sûr de vouloir annuler votre identité?");
Window.location.href = "Logout.asp? Act = Logout"
}
->
</cript>
[/code]