HTML - Instant Messaging Directly On Current Page?
Hello, I am a beginner at HTML. I am new to this forum so I am sorry if this is posted in the wrong section.
I'm trying to create a website that consists of a name and message input, and after you click send message, it sends it instantly to the current page under this input. So far I have this for my form: Code: <form method="post" action="" > <textarea cols="25" rows="1">Name</textarea> <br> <textarea cols="200" rows="10">Message</textarea> <br> <input type="file" /> <br> <input type="submit" value="Send Message" /> </form> How can I edit this code so that when one sends a message, it appears directly under this form and will place above any previously made messages, so that basically the most recent message appears at top. This is much like facebook messaging, when you send the message it appears above the message box and appears instantly. Thanks for the help. Similar TutorialsHello; I have text box & submit button in page_1 & I have text box & submit button in page_2. I want when write text in text box in page_1 it go directly to text box in page_2 & I want when click on submit button in page_1 it is like click on submit button in page_2. Assume page_2 located in other site www.page_2.com. How to do that.?? Is this possible? I remember seeing this somewhere but I don't really remember how to place the info in the address. Is it something like http://test.com@username:password ? Thanks! Not even sure what to call this actually... I received this message from a friend whose site I just put up. ---------------------------- When you click on say the Home Page, and then you click on something else then go back to the prvious page, it apparently displays the previous page on the home page for example. I was not able to recreate this on my computer, but apparently, [another] web developer said this is a fairly common problem. Do you know what he is referring to, and can it be fixed? ---------------------------- Here's the site in question. Nothing fancy, just individual HTML pages. http://www.soundadviceht.com/index.html I gotta admit, I have no earthly clue what he's talking about, unless he's relaying the message wrong? Any ideas what he's talking about? I am trying to create a site that I can respond to a text message. I am not sure that I can even do this with html (another language might be more appropriate, but which?). Either way, how do I make it so that a website can "accept" a text message and then respond to it based on what the text message said? Does anyone know of any resources that may help me find a way to do what I am looking for or can anyone suggest anything that may be useful? Thanks, Matt Hi guys, Basically, I have a .swf that I want to put on multiple pages that is capable of linking to different pages without having to customise the xml per page. I'll try and explain myself: If I inset the flash file on page1, then I want to have links coming out of the flash that direct to http://site/page1/A and http://site/page1/B. I'd then like to use the same flash on page two, and have the links point to http://site/page2/A and http://site/page2/B. I basically need to have the link address take into account the page the user is on and add an A, or B to the address. Is this possible? Perhaps it will require javascript? I can't get my head around this, so any help would be much appreciated! Thanks Alright, I haven't been coding in a while, just got back into it. Well my question is, how can I make the Home button, light up, ONLY on the Home Page (Chat button light up on Chat page) etc etc. I already have rollover image buttons on my site. Here is my HTML: Code: <html> <head> <link href="style.css" rel="stylesheet" type="text/css"> <title>Decker Designs</title> <SCRIPT LANGUAGE="JavaScript"> image1 = new Image(); image1.src = "http://s2.postimage.org/gn90899g/home2.png"; image2 = new Image(); image2.src = "http://s2.postimage.org/gocp4l44/chat2.png"; image3 = new Image(); image3.src = "http://s2.postimage.org/gp1i6sis/gal2.png"; </script> <a href="index.html" onmouseover="image1.src='http://s2.postimage.org/gn90899g/home2.png';" onmouseout="image1.src='http://s2.postimage.org/gn5p5k9w/home1.png';"> <img name="image1" src="http://s2.postimage.org/gn5p5k9w/home1.png" border=0></a> <a href="chat.html" onmouseover="image2.src='http://s2.postimage.org/gocp4l44/chat2.png';" onmouseout="image2.src='http://s2.postimage.org/gohnqmlg/chat1.png';"> <img name="image2" src="http://s2.postimage.org/gohnqmlg/chat1.png" border=0></a> <a href="gal.html" onmouseover="image3.src='http://s2.postimage.org/gp1i6sis/gal2.png';" onmouseout="image3.src='http://s2.postimage.org/goy743j8/gal1.png';"> <img name="image3" src="http://s2.postimage.org/goy743j8/gal1.png" border=0></a> </head> <body> Thanks everyone! What I want is to use some html or javascript or something to show the user of my site the exact page they are viewing. Then i would set it up so they could either bookmark it or copy the link. So a normal bookmarking script is not what I want. I need to be able to display the link the user is viewing on the page they are viewing. How can this be done? I have need to include a button in a SharePoint page that will refresh that page, but strip out everyting after the .aspx in the URL (meaning "?blablabla"). I know the simple code <a href="#">click me</a> will load the current page. But is there a code that will strip out everything after the "?" portion? Dear colleagues, I'm new in Web design and I don't know all HTML reference. I need one HTML statement to include into a page code, that allow to obtain the file name (like "pagename.html") of the page I load into the browser. This value of "pagename.html" I will use to load in a variable. For example: When I load "home.html", I need that this page have a HTML statement that detect its own filename "home.html". Once detected, I will use this value in a variable. I hope I'm explaining clearly. Thank you for your help! GusSiglo21 I want to display the current page URL in an input box, so users can copy the url from the input box rather than from the adress bar. Kinda like this: HTML Code: <input type="text" readonly="readonly" value=" -PAGE URL AUTOMATICALLY APPEARS HERE- " /> I've seen a code that can display the URL, but it displays as regular text, rather than inside an input box. Secondly, I was wondering if the same thing could be done(in an input box), but the url will be displayed inside of a link- like this: HTML Code: <input type="text" readonly="readonly" value=" <a target='_blank' href='PAGE URL APPEARS AUTOMATICALLY HERE'>Click here!<a> " /> Is this possible to do? hai, could anyone plz tell me, how to open window popup in current html page ( that means not in different window) without statusbar,locationbar,titlebar and menubar and scrollbar. Thanks®ards kelvin Hi Does anyone know of a way to make webpages instantly refresh themselves when they are viewed. I'm changing content daily and having bother with people not being able to see all the new stuff as they are loading yesterday's page from their cache. Any help would be greatly appreciated. So how would I manage to do so? I just need a simple set up, thank you. Have a look at the page here . The navigation needs to adjust to the page being watched.. So when you press a link in the navigation bar, that link needs to change with a big white block behind it. thank you hi, as shown in the pic, the line and the word "Hello" has a gap in between, how can i remove the gap or space to allow the line to sit directly on top of the word Hello ?? This is probably the simplest thing in the world but I can't figure out what to do to make it happen... I need to have an "enter zip code" box with submit button, that opens a link in a new window...where the zip code entered is passed into the link... So, I enter my zip code: 28052 and get this link in a new window when pressing submit: thesiteaddresshere.com/ login/ minisearchpost.cfm? something=1&zipcode=28052 &signup=ouraffiliatecode Thanks in advance for any and all help! David T. Can someone tell me how I would code for a webpage to open directly into a form where the cursor just sits there flashing awaiting input form the user. just like this google page does: http://maps.google.co.uk/maps I have the webpage and the form, but just need to know hot get the cursor to go straight to the form? I created the look of the poll through Dreamweaver. How do I link the poll from my forums so that when they vote on the front page it will vote on the forums? Basically trying to make my front page a portal I guess from scratch. Heres a link to my homepage with the poll: http://compkiosk.com/ And heres the forum with the poll: http://www.compkiosk.com/Forums/viewtopic.php?f=51&t=8 I don't know how to make the Radio buttons work with the submit button. Is it possobel to show current month in my drop down . Thanks Hi. Im looking for a script that allows the current url you are visiting to be set as a your startpage. Not just one single url but the one you are on! Anybody know of such a script? Cant find it Hello, I have the following form on my webpage, however I need to modify the code so that where it says value ="20080916", i.e. todays date in the format YYYYMMDD, I need it to change to whatever the date is on the particular day that the site is accessed and the form used. Any ideas? Thanks Damian <form action="http://logis.korail.go.kr/driveinfo/TrainDriveSearchp.jsp" method="get"> <input name="opsDd" type="hidden" id="opsDd" value="20080916"> <p align="center"> <!--webbot bot="Validation" B-Value-Required="TRUE" I-Minimum-Length="5" I-Maximum-Length="5" --> <input name="trnNo" id="trnNo" style="font-family: Arial;" size="3" maxlength="4"> <input name="pageNo" type="hidden" id="pageNo" value="1"> </p> <p align="center"> <input type="submit" value="Submit" style="font-family: Arial; font-weight: bold"> </p> </form> |