Forum by laureateci.it
[ Home | REGOLE FORUM | Tutti i blog | Profilo | Registrati | CHAT | Discussioni Attive | Discussioni Recenti | Segnalibro | Msg privati | Sondaggi Attivi | Utenti | Download Informatica | Download ICD | Download TPS | Download Magistrale | Download Specialistica | Giochi | Cerca nel web | cerca | faq | RSS ]
Nome Utente:
Password:
Salva Password
Password Dimenticata?

 Tutti i Forum
 ITPS - Secondo Anno
 Programmazione per il Web + Lab.
 Esercizio dom ultimo esame

Nota: Devi essere registrato per poter inserire un messaggio.
Per registrarti, clicca qui. La Registrazione è semplice e gratuita!

Larghezza finestra:
Nome Utente:
Password:
Modo:
Formato: GrassettoCorsivoSottolineatoBarrato Aggiungi Spoiler Allinea a  SinistraCentraAllinea a Destra Riga Orizzontale Inserisci linkInserisci EmailInserisci FlashInserisci Immagine Inserisci CodiceInserisci CitazioneInserisci Lista Inserisci Faccine
   
Icona Messaggio:              
             
Messaggio:

  * Il codice HTML è OFF
* Il Codice Forum è ON

Smilies
Approvazione [^] Arrabbiato [:(!] Bacio [:X] Bevuta [:273]
Caldo [8D] Compiaciuto [8)]    
compleanno [:269]
Davvero Felice [:D] Diavoletto [}:)] Disapprovazione [V] Domanda [?]
Felice [:)] Fumata [:29] Goloso [:P] Imbarazzato [:I]
Infelice [:(] Morte improvvisa da [:62]
Morto [xx(] Occhio Nero [B)] Occhiolino [;)] Palla 8 [8]
pc [:205]    
Riproduzione [:76]
Scioccato [:O]      

   Allega file
  Clicca qui per inserire la tua firma nel messaggio.
Clicca qui per sottoscrivere questa Discussione.
    

V I S U A L I Z Z A    D I S C U S S I O N E
ciccio007 Inserito il - 15/11/2009 : 18:17:53
Hola a todos!
Qualcuno saprebbe darmi la traccia anche possibilmente svolta dell'ultimo esercizio (maledetto) sul dom che ha dato Ardimento all'esame?

grazie
2   U L T I M E    R I S P O S T E    (in alto le più recenti)
peppe6387_g Inserito il - 16/11/2009 : 09:36:25
Il prof all'esame disse che era possibile svolgere questo ese in 4 modi diversi, sicuramente quello più facile, era mettere una sola riga di codice:

<input type="button" onclick="location.href = 'b.htm'" value="B"/>

dove ogni vota che si premeva su uno dei bottoni compariva la pagina selezionata.
Cmq a parte tutto mi sa che nn è questo l'esercizio che ha chiesto....
Angioletto Inserito il - 16/11/2009 : 00:08:10
Se intendi quella dui bottoni è questa:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>1 23 Settembre 2009</title>
<script language="JavaScript" type="text/javascript">
<!--
function A()
{
document.getElementById("a1").style.display="none";
document.getElementById("a2").style.display="none";
document.getElementById("a3").style.display="none";
document.getElementById("p1").style.display="block";
document.getElementById("p2").style.display="none";
document.getElementById("p3").style.display="none";
document.getElementById("p4").style.display="none";
document.getElementById("o1").style.display="list-item";
document.getElementById("o2").style.display="none";
}
function B()
{
document.getElementById("a1").style.display="none";
document.getElementById("a2").style.display="none";
document.getElementById("a3").style.display="none";
document.getElementById("p1").style.display="none";
document.getElementById("p2").style.display="block";
document.getElementById("p3").style.display="none";
document.getElementById("p4").style.display="none";
document.getElementById("o1").style.display="none";
document.getElementById("o2").style.display="none";
}
function C()
{
document.getElementById("a1").style.display="none";
document.getElementById("a2").style.display="none";
document.getElementById("a3").style.display="none";
document.getElementById("p1").style.display="none";
document.getElementById("p2").style.display="none";
document.getElementById("p3").style.display="block";
document.getElementById("p4").style.display="none";
document.getElementById("o1").style.display="none";
document.getElementById("o2").style.display="none";
}
function D()
{
document.getElementById("a1").style.display="none";
document.getElementById("a2").style.display="none";
document.getElementById("a3").style.display="none";
document.getElementById("p1").style.display="none";
document.getElementById("p2").style.display="none";
document.getElementById("p3").style.display="none";
document.getElementById("p4").style.display="block";
document.getElementById("o1").style.display="none";
document.getElementById("o2").style.display="list-item";
}
//-->
</script>

</head>
<body>
<input type="submit" name="b1" value="a" onclick="A()" />
<input type="submit" name="b2" value="b" onclick="B()"/>
<input type="submit" name="b3" value="c" onclick="C()"/>
<input type="submit" name="b4" value="d" onclick="D()"/>
<p id="p1" style="display:block">TAB a - This is a text of TAB a</p>
<p id="p2" style="display:none">TAB b - This is a text of TAB b</p>
<p id="p3" style="display:none">TAB c - This is a text of TAB c</p>
<p id="p4" style="display:none">TAB d - This is a text of TAB d</p>



<ol id="o1" style="display:list-item">
<li>tab 1</li>
<li>tab 1</li>
<li>tab 1</li>
</ol><br />
<ol id="o2" style="display:none">
<li>D</li>
<li>D</li>
</ol>




<a id="a1" style="display:block">TAB b - This is a text of TAB b</a>
<a id="a2" style="display:block">TAB c - This is a text of TAB c</a>
<a id="a3" style="display:block">TAB d - This is a text of TAB d</a>
</body>
</html>

Se nn è questa spiegati meglio

Forum by laureateci.it © 2002 - 2012 Laureateci Communications Torna all'inizio della Pagina
Il DB ha risposto in 0,06 secondi.

TargatoNA.it | SuperDeejay.Net | Antidoto.org | Brutto.it | Equiweb.it | Snitz Forum 2000