HTML - How To Remove The "edit Text" Feature Of Text Box
hello friends,
I want to display the text in a textbox. But I dont want the user to edit it. How can the remove this editing feature in the text box. If possible can you please give me a sample code. Similar TutorialsThis may seem like a rather elementary question, but I'm doing a this for a school project and wanted some input on how this should be done. What I'm looking to do is to have a very simple text-input box on my page where the user would obviously type in some text, then a simple "post" button or something like that where when once clicked, the text typed by the user would just then appear above the box, possibly in a table? How simple/complicated is it to do this. I'm pretty familiar with html so once I get pointed in the right direction I should be fine. I don't want a blog or something where someone has to sign up with a user name or anything like that, just whoever visits the site can write text into the/a text input box and then it is shown after whatever text was typed by the user before them. Any help/suggestions are greatly appreciated. I've run into a problem. I've got hyperlinks triggering a JS function, using this code: Code: <A href=javascript:MyFunc()>Clickable text</A> The JS function I'm triggering is used to artificially update the browser history. (This is because of AJAX requests, and I'm doing it using the Really Simple History library.) Now, unfortunately, updating the browser history triggers IE's "click" sound. That would be fine except the hyperlink also triggers that sound, so you get two clicks in close succession! If possible I'd like to disguise one of them so you only hear one click. I can do this by triggering the JS function with a FORM button instead of a hyperlink. But then you lose the CSS attributes that you can decorate hyperlinks with. I want it as much as possible to look like a normal website. So what I'm after is a way to make clickable, "decoratable" text that triggers JS without triggering the click sound. In other words, a silent hyperlink. Is there such a thing? Thanks in advance, Seymour. I am having a problem with a web page that when I use the echo statement and try to output data to the web page in a table the data in the table pushes the data from another row down the page. What should I do to stop this from happening. I am using adobe dreamweaver. Thanks a lot!! Hello again. Hope you had a wonderful Christmas. =) I think I have a better way to ask my question. I'm trying to do something similar to this webpage. ....If you copy ANY PART of the lyrics, you'll see the website's name and URL "magically" appear when you paste it. I want to do something like this. When I looked at the source code for the webpage, I got REALLY confused. Not sure if they're using a script or some CSS to do this. And I doubt I'll get a response if I emailed them, because (1) this site looks REALLY big, so they might not reply to emails, and (2) I don't speak fluent Japanese. Really hope someone can figure out how I can do this. Thanks in advance!!! Hello all, I am looking for help with something that I know is pretty simple. http://www.somesite.com/refer.htm?4 Upon loading the page, I want to take the value following '?' and post it inside a text area form on the page. Im very new to html and javascript so im not sure exactly how to achieve this. Thanks for the help. Hi, I am required to save entries from 3 text boxes into a text file on clicking a submit button. Can anyone help please. Regards Shrekpete Here is the code: <marquee behavior="scroll" scrollamount="1" scrolldelay="15" direction="up" width="250" height="87" style="font-family: Verdana; font-size: 9pt;"> <font color = #ffffff><h5> Komatsu NTC Ltd. Launches Special <br> Machining Center Promotion<br> </h5> <i>Promotion Ends December 6th.<br> To Learn More, Click </font><font color= #b8382d> NEWS. <href="news.html"></font></i> </marquee> Now, how do I have it stop at the last (and stay)? Thanks! Hello all, It'd be much appreciated if someone could tell me how to make the font smaller and remove visible tags (found on the left hand side) on my Tumblr page. I have the option to edit the HTML, but don't know where to begin. Here's a link to my Tumblr page. Any and all help would be appreciated. Thank you. hi all i,m having a problem with the HTML command alt="hover text" this seems to work on an image <img src="c:\documents and settings\admin\my documents\my pictures\thinklogo.gif"alt="hover text" width="100" height="100"> but i am unable to place it in this piece of code <a href="http://www.google.com" target="blank"<b style="color:green">google</b> i am a noob at html and not sure if it can be used with a link. any help would be appreciated. Hi Everyone, Would anyone know of a way to remove from the explorer menu-bar, the option: File > Edit with "xxx" It appears that some viewers of my sites are able to view this option, and I am aware that they have Frontpage installed on their system as well as Dreamweaver, but the option displaying is "Edit with Microsoft Frontpage"... They are able to view some of the content how it was designed through this option but not all. I am wondering if there is a way of adapting some script to the <head> tag of webpage index.htm to disallow this function. In this case, Internet Explorer was used, Thanks for your help Jai C Like if I just wanted an image Hey Guys, I know XHTML pretty good, but have recently been trying my hand with Dreamweaver to bang out some websites for other people. I need to know how I can take a basic link, for example... [<a href="http://www.kilroymusic.com/press.htm>] and have it appear without a line under it? I know how to change the link color, and the visited link color. But there doesn't seem to be an intuitive way in Dreamweaver to get rid of the line. Hopefully I have made what I am talking about clear. I don't care if you tell me how to do it in Dreamweaver or manually with code. This is just killing me. Thanks guys! Kilroy I was wondering.. how can I add a "Remove Frame" option to the top frame on my website? For an example, click here. (Goes to a google image search.) You'll see that it says "Remove Frame" in the top right corner.. I wanna get it just like that on my website. .. Does anyone know how to do this? A customer gave me a Word doc that they want turned into a printer friendly web page. I understand that there are tons of ways to do this but I really want the answer to the subject. What i'm referring to is a form that someone can print from the browser and "fill in the blanks" on the page where there are "underscores". My question is how to code those underscores. I tried manipulating the <hr> tag but it's putting way too much space in between each <hr>. I've already coded a "fill in the blank" line using <u> nbsp;</u> but that looks very messy. What do you guys/gals think? http://www.colletts.co.uk/winter_dolomites.htm I have the above page that redirects users to my Winter Website - the HTML below isn't valid W3C does anyone know of a better and valid way to get this done? Cheers, Mas HTML Code: <META HTTP-EQUIV="Refresh" CONTENT="2.5;URL=http://www.colletts.co.uk/winter/winter_dolomites.html" /> I was hoping someone could clue me in as to whether or not this would be possible. I'm thinking it isn't but I need to make sure. I'd like to provide a file for people to download on my website, but when they click on the link and the download window appears I don't want them to have the option of opening it. Is it possible to only give them the option to save the file? Sounds incredibly unlikely but I gotta know. I use "alt" and "title" attributes on all images. The combination works fine with IE7, Firefox and Netscape but not with Opera or Safari. The only alternative appears to be something like: onmouseover="this.T_BGIMG='image.png';this.T_SHADOWWIDTH=2;this.T_BGCOLOR='#ffffff'; this.T_DELAY=150; this.T_WIDTH=120;this.T_FONTSIZE='13';this.T_FONTCOLOR='#000000';this.T_TEXTALIGN='center'; return escape('I'm an image!')" Is there a simpler alternative? Hello, I want to load a page in a iframe, and when i do this, i want that page to be displayed not at the begining of that page, i want that page to be displayed at a "x" and "y" position specificated by me. How can i do that? Thank you. hi, i am working on <div> i have to hide some part of the table. I am not able to hide that table part can anybady tell me where is the error. Code: <html> <head> <script type="text/javascript"> function callme(){ document.getElementById("hid").style.visibility="visible"; } function hideme(){ document.getElementById("hid").style.visibility="hidden"; } </script> </head> <body> <form name="myform"> <table width="100%" border="4" cellpadding="2" cellspacing="2"> <tr> <td class="tableheader" colspan="9">TS </td> </tr> <div style="visibility:hidden" id="hid"> <tr> <td width="17%" class="labeltext">Tran Code</td> <td width="1%" class="blanktext">:</td> <td colspan="4" class="blanktext">Name</td> </tr> <tr> <td width="17%" class="labeltext">Product Type</td> <td width="1%" class="blanktext">:</td> <td colspan="4" class="blanktext"> </td> </tr> </div> <tr> <td> </td> </tr> </table> <input type="button" onclick="callme()" value="show"> <input type="button" onclick="hideme()" value="hide"> </form> </body> </html> thx in Adv, Hanm. |