![]() |
![]() |
|
![]() |
![]() |
|
Programmierung Rat & Tat für Programmierer |
![]() |
|
Themen-Optionen | Ansicht |
![]() |
#1 |
Inventar
![]() |
![]() Hi an Alle
![]() also hier mal das script ..... bsp.asp <%Option Explicit%> <HTML> <BODY BGCOLOR="#000000" TEXT="#00FF00"> <CENTER> <%If Request.Form("pass") <> "password" Then%> <form action="bsp.asp" method="post"> <H1>Bitte Password eingeben</H1> <input name="pass" type="password"> <input type="submit" value="los gehts"> </form> <%Else%> Hier gehts weiter ;-)) <%End if%> </CENTER> </BODY> </HTML> und jetzt mein prob..... das was rot gekennzeichnet ist da sollte ein frameset stehen aber wie soll ich das machen? oder..... eine seite die mich automatisch auf einen bestimmte seite weiterleitet hat wer nen vorschlag? THX
____________________________________
MfG Nightman |
![]() |
![]() |
![]() |
#2 |
Elite
![]() Registriert seit: 14.11.1999
Alter: 40
Beiträge: 1.429
|
![]() Code:
<%Option Explicit%> <HTML> <%If Request.Form("pass") <> "password" Then%> <form action="bsp.asp" method="post"> <H1>Bitte Password eingeben</H1> <input name="pass" type="password"> <input type="submit" value="los gehts"> </form> <%Else%> <frameset cols="100,100%,50"> <frame name="nav" src="nav.html" target="Hauptframe"> <frame name="Hauptframe" src="firstsite.html" target="_self"> <frame name="info" src="chatbox.html" target="_blank"> <%End if%> </HTML> Wenns bei dir wie behauptet nicht funzt musst du einen Fehler haben! Poste bitte mal deinen Source! |
![]() |
![]() |
![]() |
#3 |
Inventar
![]() |
![]() Hi an Alle
@ Hier den source ..... <%Option Explicit%> <HTML> <Head> <link rel=stylesheet type="text/css" href="../style1.css"> </head> <body size="1" topmargin="45" align="center"> <%If Request.Form("pass") <> "password" Then%> <table style="border-collapse: collapse" bordercolor="#000000" cellspacing="0" cellpadding="0" width="600" border="0" align="center"> <tr> <td style="border-right: 1px solid; border-left: 1px solid; border-top: 1px solid; border-bottom: 1px solid" width="100%" bgcolor="#0066ff" height="16"><font size="1"></font></td> </tr> <tr> <td width="100%" height="4"</td> </tr> <tr> <td style="border-right: 1px solid; border-left: 1px solid; border-top: 1px solid; border-bottom: 1px solid" width="100%" bgcolor="#0337bc" height="16" align="center"><font face="verdana, arial, helvetica, sans-serif" size="1"> Passwort Bitte !!! <form action="Admin.asp" method="post"><input name="pass" type="password"><input type="submit" value="OK"></form></font></td> </tr> <tr> <td width="100%" height="4"</td> </tr> <tr> <td style="border-right: 1px solid; border-left: 1px solid; border-top: 1px solid; border-bottom: 1px solid" width="100%" bgcolor="#0066ff" height="16"><font size="1"></font></td> </tr> </table> <%Else%> <frameset cols="100,100%,50"> <frame name="nav" src="nav.html" target="Hauptframe"> <frame name="Hauptframe" src="firstsite.html" target="_self"> <frame name="info" src="chatbox.html" target="_blank"> <%End if%> </BODY> </HTML> THX
____________________________________
MfG Nightman |
![]() |
![]() |
![]() |
#4 |
Elite
![]() Registriert seit: 14.11.1999
Alter: 40
Beiträge: 1.429
|
![]() also ich schreib die framesets immer ausserhalb vom body, normalerweise so zwischen </head> und <body>
![]() ![]() ![]() Code:
<%Option Explicit%> <HTML> <Head> <link rel=stylesheet type="text/css" href="../style1.css"> </head> <%If Request.Form("pass") <> "password" Then%> <body size="1" topmargin="45" align="center"> <table style="border-collapse: collapse" bordercolor="#000000" cellspacing="0" cellpadding="0" width="600" border="0" align="center"> <tr> <td style="border-right: 1px solid; border-left: 1px solid; border-top: 1px solid; border-bottom: 1px solid" width="100%" bgcolor="#0066ff" height="16"><font size="1"> </font></td> </tr> <tr> <td width="100%" height="4"</td> </tr> <tr> <td style="border-right: 1px solid; border-left: 1px solid; border-top: 1px solid; border-bottom: 1px solid" width="100%" bgcolor="#0337bc" height="16" align="center"><font face="verdana, arial, helvetica, sans-serif" size="1"> Passwort Bitte !!! <form action="Admin.asp" method="post"><input name="pass" type="password"><input type="submit" value="OK"></form></font></td> </tr> <tr> <td width="100%" height="4"</td> </tr> <tr> <td style="border-right: 1px solid; border-left: 1px solid; border-top: 1px solid; border-bottom: 1px solid" width="100%" bgcolor="#0066ff" height="16"><font size="1"> </font></td> </tr> </table> </BODY> <%Else%> <frameset cols="100,100%,50"> <frame name="nav" src="nav.html" target="Hauptframe"> <frame name="Hauptframe" src="firstsite.html" target="_self"> <frame name="info" src="chatbox.html" target="_blank"> <%End if%> </HTML> ![]() |
![]() |
![]() |
![]() |
Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1) | |
|
|