HTML - Form-password & Iframe
Similar TutorialsHey all, The webpage I will talk about is the following: http://globaltransport.atw.hu/ First of all could you help me to make something with the ads? Because if you navigate to an another page of this page one more ad is being displayed, and than another, and so on...(try it and you will see what I talk about) Then, I'd like to submit a 'Members Area' on my webpage but I have no idea how to protect it with password. If possible I don' wanna use php. Only, HTML, or script that could be built in a HTML code. Could you help me in it? Thanks so much, Gajka I'm sorry if this question has been asked hundreds of times! I am trying to make a form which has a password box and a button, and the button relates back to the password entered - so if someone typed a specific word into the password box, they'd get onto the website, but if they didn't it would have an alert telling them it was wrong. This is what I've got so far: <body> <div style="text-align: center;"> <table style="margin-left: auto; margin-right: auto; text-align: left; width: 499px; height: 439px;" background="http://www.freewebs.com/lucymarshall/ipods.jpg" border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td style="vertical-align: top;"><br> </td> <td style="vertical-align: top;"><br> </td> <td style="vertical-align: top;"><br> </td> <td style="vertical-align: top; text-align: center;"><small><small><span style="font-family: helvetica,arial,sans-serif;">What is the surname of the current headmaster?</span></small></small><br> </td> <td style="vertical-align: top;"><br> </td> <td style="vertical-align: top;"><br> </td> </tr> <tr> <td style="vertical-align: top;"><br> </td> <td style="vertical-align: top;"><br> </td> <td style="vertical-align: top;"><br> </td> <td style="vertical-align: top;"><br> <br> <br> <div style="text-align: center;"><small><small style="font-family: helvetica,arial,sans-serif;"><small><br> <br> <br> Name</small><span style="font-family: helvetica,arial,sans-serif;">: </span></small><br> <input name="password2" size="10" type="password"> <br> </small></div> </td> <td style="vertical-align: top;"><br> </td> <td style="vertical-align: top;"><br> </td> </tr> <tr> <td style="vertical-align: top;"><br> </td> <td style="vertical-align: top;"><br> </td> <td style="vertical-align: top;"><br> </td> <td style="vertical-align: top; text-align: center; font-family: helvetica,arial,sans-serif;"> <input value="A-Go-Go!" type="button"> <br> </td> <td style="vertical-align: top;"><br> </td> <td style="vertical-align: top;"><br> </td> If you could help me I would be SO grateful. Thanks! Hi all! I'd like to create a Username/Password form, but i dont know how to do it. I'd like something like this: Username: *user has to type name* Password: *user has to type password* ACCEPT CLEAN I want it to work only for ONE username and ONE password. So, if user types this correct username and password (plus ACCEPT) then the page links you to PageCorrect.htm If user types any kind of username and password besides the correct one (plus ACCEPT), then the page links you to PageIncorrect.htm If user clicks on CLEAN, then the boxes have to clean. Thanks a lot! I really need this help...Its something important Hi there, I'm hoping this is a pretty easy thing to do, and that it is me missing something. My password submit button on my html page will only work when the user clicks on submit and does not work when the user just presses "Enter". How can I change this so that the user can submit the password by pressing "Enter"? Here is my code: Code: <script language="javascript"> function pasuser(form) { if (form.pass.value=="password") { location = "page2.html" } else { alert("Invalid Password") } } </script> <form name="login"> <input name="pass" type="password"> <input type="button" value="Login" onClick="pasuser(this.form) "> <input type="Reset"> </form> Hi folks, I run a mail/web hosting service and we have a client who is telling us that we have changed something on our server that has stopped part of their website working. So I have had a look at their code and to me I can't see how it ever worked, hence my posting here to see what everyone else thinks. The site uses a CMS system (I'm not sure precisely which one) with the main page being index.php The particular page in question runs through index.php and then calls an iframe as such: Code: <iframe height="1445" allowTransparency="true" frameborder="0" scrolling="no" style="width:100%;border:none" src="http://www.domain.tld/formadmin/embed.php?id=1" title="Request a call back"><a href="http://www.domain.tld/formadmin/view.php?id=1" title="Request a call back">Request a call back</a></iframe> We then move onto the form itself which is defined as such: <form id="form_1" class="appnitro" method="post" action="#main_body"> When you click the submit button on the form, the server replies with the content of the main index page to the website. From what I see, the #main_body action is simply incorrect and the form should be posting back to embed.php instead of to #main_body. This company are insistent that it used to work and that it still works on their test server (yet they won't provide me with any copies of their configuration files so that I can see if there's any php differences or anything like that). So, my questions to you folks are this. 1) Give the code above, is there any set of circumstances where #main_body would post back to the iframe instead of to the original file that may have somehow been affected by a backend configuration on the server? 2) If the action of the form is changed to match the source of the iframe, it is my understanding that the form should work properly. Assuming no other fancy stuff in the CMS then I imagine this is correct? Thanks! This is very basic but somehow won't work..i just need the form to target the iframe instead of a new window. <form> <table border="0" width="80" cellspacing="0"> <tr><td width="100%" bgcolor="#000000" style="height: 70px"> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr><td width="100%" background="images/boxtopA.png"><img border="0" src="images/11dot.gif" width="19" height="19"></td></tr> </table> <table border="0" cellspacing="0" cellpadding="3" style="width: 94%; height: 1px"> <tr><td width="2%" background="images/boxbackA.png" style="height: 28px"> <img border="0" src="images/11dot.gif" width="18" height="18"> </td><td width="98%" background="images/boxbackB.png" style="height: 28px"> <select class="combobox" name="SiteMap" onchange="if(options[selectedIndex].value){location = options[selectedIndex].value}" size="1" > <option selected>Select Date </option> <option value="http://donedealevents.myjalbum.net/Inaugural%205-12-2007" >5-12-2007</option><option value="http://donedealevents.myjalbum.net/Inaugural%205-19-2007" >5-19-2007</option> </select> </td></tr> </table></td></tr> </table> </form> <hr /> <br /> <iframe name="gallery" width="512" height="370" style="width: 817px; height: 771px"> Please use a browser that supports iframes </iframe> <br /> Thanks Hello all, I'm try to use a form to choose what webpage is displayed in an iframe on the same page. What I have so far is not working: <form name="list" action="" method="get" target="repIframe" style="margin:0px;padding:0px"> <select name="zone"> <option value="./testadvisory.php?warnzone=UTZ019&warncounty=UTC053">St. George</option> <option value="./testadvisory.php?warnzone=UTZ013&warncounty=UTC043">Cedar City</option> </select> </form> <iframe name="repIframe" src="blank.html"></iframe> Could someone offer a suggestion ir procedure to allow the use of a form to choose the content of the iframe? Thanks, Randy I have 2 IFrames on a page. I am going to end up with a long list of shows to catch-up on. Is there a way I can embed an IFrame with the list, and when you click on a show, you it will change the Playing Show http://tiny.cc/catchup <---The page I am referring to. hi, i've a very simple html page, where i have an iframe. The problem is that i want to add some text below the iframe. however, my text keeps showing up on the right hand side of the iframe. i've looked at the tutorials discussing the tags available for iframe, but surprisingly, none seem to relevant to this. Code: <html> <body> <table border="0" cellspacing="10"> <table border="0" cellpadding="0" cellspacing="0" align="left"> <td valign="top"> <iframe src="mySource.jsp" height="700" width="600" frameborder="0" scrolling="auto"></iframe> </td> </table> This should be displayed below the iframe but actually gets displayed on the right </body> </html> any help / guidance in this will be much appreciated. thanks in advance! Hi! I've been cracking my head trying to solve this: How can I insert a iframe [i.e. 300x200px] inside of another iframe [i.e. 700x500px] and pull different web content n each one? kind of concentric iframes or like a 'Donut iframe' Now here is my problem. I'm not familiar with other laguages then html and a little bit of javascript and I wanted to make a site for me and my brothers photography company. I currently using dreamweaver and have figured out the way I want to make this site. I tried using ordinary frames, but I want the website to be aligned in the middle and I could make that happen. That is why I went into iframes and a regular table on the index page. My problem now is that I have several iFrames and I want a link from one to open in another. http://www.trans4mind.com/personal_d...e/iframes3.htm here is a link for this to happen, and the simple solution is to name the frame and then target the link. but I have tried that and when the link is from one iframe to another it won't work. If the link is on the index page and target the iframe then it works. Do you have any idea why this happens? I know it's possible since the link above does it. I wish to attach a password to a Web site so that only persons who know the password can view the site. I have created some code, below, but it lacks a condition to restrict entry only to persons who know the password. The password must be "birthday" without the quotes. Could someone please tell me what statements must be added to accomplish my task? Thanks, Bill <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Password02</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> password: <INPUT TYPE=PASSWORD NAME="mypassword"> <P><INPUT TYPE=SUBMIT VALUE="submit"> <p>Password02</p> <table width="200" border="1"> <tr> <td><img src="DSCF0102.JPG" width="640" height="480"> </td> </tr> <tr> <td><img src="DSCF0104.JPG" width="480" height="640"></td> </tr> </table> <p> </p> </FORM> </body> </html> I am looking for a script that will let the user enter a username and password once and then throughput that same info into subsequent pages. I have coded a html page that shows the feed from security cameras on my network at work. Each camera has its own IP. I have each one set to display as part of a table so that the cameras are laid out on a grid. Everything works great except that you have to input the username and password for each camera before they will display. Each one has the same login info so is there a way to script it to be entered once and have the code automatically submit it for the rest? I'm new to HTML and to this forum, so hello everyone! I am a hands on kind of guy and i'm currently making a sort of interactive, info/game site. My question is: For this site I have a simple page (nothing to complex), and I want to have a box for lets say Enter Code: . Note this is not a user name/password just a password so to speak. If the password is correct it will take them to a new page. If not they will stay on the current one but get a error message. To keep it simple. User enters code ---- if correct --- new page ---- if wrong --- error message. Would this be done in Javascript? Can anyone help me with this? I know this is begginer stuff but everyone has to start somwhere. On another note is it possible to have it only allow three try's or it takes you to another page? I take it would be in JS using the ++ to count the attempts. i have a webpage, i want to add a password facility. how can i do this? i want to store the passwords and logons on the server not on host as cookies. Your help would be greatly appreciated. Regards Shrekpete Look at this page: http://www.unit.org.uk/secure/ Can someone give me a HTML code for something like this. PS it has two passwords; buffalo and badwolf I have just set up a subfolder on my website as a standalone service. I have done this several times before and it had always worked fine. This time, when I try to reach the subfolder, it asks for a password and says that the main folder is requesting this. If I type the password of my FTP access it lets me into the site. I have gone through all the properties of the Main Site and the Sub Site and cannot see why this is happening. If any one has seen this one before, I would be pleased to hear from you. ok i hate when it comes to these and i am a noob. I am making like a control panel for my gameserver / web hosting company. I want a safe password gate so like users can login with there password and username. Is there any programs or is there a way you can do somthing from the c panel. any help is greatly appretiated Thanks I want an input field to input a password, however I dont want it to look like a password field. I would like to dispay a default text of the date in plain text and when the user enters text into the field it is displayed as an obscured password. I use Code: <input class="exiter" <?php echo ("value=\"".date("d/m/Y")."\""); ?> type="text" name="Exiter" maxlength="10" size="10" > To display the date in plain text. But obviously when I enter data it is displayed in plain text. If I change the type to password the date is displayed as obscured text. Is this possible? How can I make a simple Username and password function on one of my sites? mvh Prosit |