Visualizzazione dei risultati da 1 a 2 su 2
  1. #1
    Utente di HTML.it
    Registrato dal
    Feb 2002
    Messaggi
    167

    collegamento stessa pagina

    ho sei bottoni e voglio fare in modo che quando se ne prema uno a fianco esca ad esempio una tabella, un form...

    come posso fare?

  2. #2
    codice:
    <%@LANGUAGE="VBSCRIPT"%>
    <html>
    <head>
    <title>Pagina</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    
    <body>
    <table>
    	<tr>
    		
        <td valign="top"> 
    		Mostra la form 
    
    		Mostra la foto 
    	</td>
        <td valign="top"> 
          <%
    		show = request.queryString("show")
    		if show = "form" then
    		%>
    		<form name="myForm" method="post" action="pagina.asp">
    		<input type="text" name="nome"> 
    		<input type="submit" value="VAI">
    		</form>
    		<%
    		elseIf show = "foto" then
    		%>
    		[img]foto.jpg[/img]
    		<%
    		end if
    		%>
        </td>
    	</tr>
    </table>
    </body>
    </html>

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.