HTML - Code To Remember Item Or Page Title Then Display In Contact Form
Hi
Im new to the forum, it looks like a great place, would be very grateful for your help I am looking for some code to make up a contact system. When a user clicks on a link or button in my website it forwards them to my contact form and in a field in the contact form it pastes either the items title they were enquiring about or the page they had been enquiring on at the time I found a javascript function that may be able to do it called dopostback but after reading some forums I am concerned it will hinder web crawlers from crawling my site Is there anything equivalent in HTML or other language that could achieve it? Regards Jamie Similar TutorialsHello, I have a form which links to Results.htm Basically I want the title of that page which opens in a new window to be whatever was input in the form previously. Hope you all can help me, it's been bothering me for quite some time. Thanks, Jooey Hi-- I was hoping someone could tell me how to edit this contact form so that it does not redirect to another page (the php page)? I'd like it to just simply send the message without leaving the page. The trick here is that I am using a javascript link to submit the form, NOT a button... Any help would be most appreciated! HTML PAGE: <body> <script type="text/javascript"> function submitform() { document.forms["form"].submit(); } </script> <form id= "form" method="POST" name="form" action="mailer.php"> Name: <input type="text" name="name" size="19"><br> <br> E-Mail: <input type="text" name="email" size="19"><br> <br> Message:<br> <textarea rows="9" name="message" cols="30"></textarea><br> <br> <a href="javascript: submitform()" >Searchthis</a> </form> </body> PHP FILE: <?php $to = "info@abcsofufos.com"; $subject = "ABCs of UFOs"; $name_field = $_POST['name']; $email_field = $_POST['email']; $message = $_POST['message']; $body = "From: $name_field\n E-Mail: $email_field\n Message:\n $message"; echo "Data has been submitted to $to!"; mail($to, $subject, $body); ?> I'm new to HTML and I need help with posting up c++ code. I have very bland formatting for code in my blog. I need to be able to post up c++ code like in this guy's Blog Or like this guys site Notice how the c++ code is formatted nicely to show line numbers and colors. What tags or techniques does one use to get this kind of formatting? I have a form field that I want to remember the text that was put into it after the submit button is pressed......do i need to do that with cookie or is there a way to make a form field remmber the last inputed data?.....for clarity's sake i don't mean for it to remember the data when a user comes back to the page just while they are visiting it. Hello, I currently run a shell script that generates a web page. I have never been happy with the layout and feel I could make it better by instead of having to parse each command into html to use text files. I have put some example code on pastebin and hoped someone could help me in getting the basics working, I know little about iframes and java. I would really love to have the items on the left to be clicked on so they expand and allow me to choose a more granular menu system that allows the items clicked to open in the right hand iframe, a bit like the IBM / HP ilo screens. I have no preference into the code type etc as long as it would be easy to generate the code for ie the menus. css would proved an added benefit as well. current page New look page Thanks hi to all. i need a search script to show directly the resulting elements and not a list of links to pages. also i need to display specific elements from a html page with more elements. pls help me, i searched all over the net but can't find what i need... I got this form in simple html HTML Code: <form name="input" action="display.html" method="get"> Username: <input type="text" name="user" /> <input type="submit" value="Submit" /> </form> When the user clicks the submit button the user should be directed to display.html and should display the name he entered on the form previously. I want the coding in either javascripts or html. y javascript or html ? I want to upload form to a site, so that users can download the form and then fill that form and view what they entered.. To fill the form when running in local machine, you cannot have php scripts, Not all will hav ephp installed in their Pc's.That's y i want in javascript or html... I want to know whats the script to be in display.html page to view the name entered by the user on the form page.......... Hello everyone, I am new here, and would like some help from you. I am planning to start a website for my business to sell online. I will be using PayPal's services to accept card payments. However, I am having a bit of difficulty in using their services to meet my specification without integrating some of my own HTML codes. First of all, I sell one of a kind of items like paintings. That means, if a customer buys an item, a second customer cannot buy it. In this case, I would like the buy now/add to cart/view cart buttons of this item to either be disabled or even better be replaced with "Sold Out" button. Do you know how I can do this? Besides, on items like this, can I really use the shopping cart, or do I need to ask customers to pay each item seperately? Any help would be greatly appreciated. Thank You. Below is the HTML code given by PayPal for Add to Cart and View Cart buttons. Add to Cart: <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="image" src="https://www.paypal.com//fr_FR/i/btn/sc-but-03.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"> <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"> <input type="hidden" name="add" value="1"> <input type="hidden" name="cmd" value="_cart"> <input type="hidden" name="business" value="pradchalise@hotmail.com"> <input type="hidden" name="item_name" value="Test Pendant"> <input type="hidden" name="amount" value="15.00"> <input type="hidden" name="no_shipping" value="2"> <input type="hidden" name="return" value="http://www.pradnie.com"> <input type="hidden" name="cancel_return" value="http://www.pradnie.com"> <input type="hidden" name="currency_code" value="EUR"> <input type="hidden" name="lc" value="FR"> <input type="hidden" name="bn" value="PP-ShopCartBF"> </form> View Cart: <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_cart"> <input type="hidden" name="business" value="pradchalise@hotmail.com"> <input type="image" src="https://www.paypal.com/fr_FR/i/btn/view_cart.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"> <input type="hidden" name="display" value="1"> </form> Ok, just made a website on photosohp and transfered it to notepad, then hosted it on free webs http://www.freewebs.com/narcotica. At the top of the window the title says "New Page 1", how would i change this? Many Thanks, Narc I've seen it done before.. so it is possible to do. And I need to know basically instead of a topic title with text, you'd have an image. I don't think it was just <a href="img"></a> either because I tried that. And yes, I've searched on Google as well.. anyone have an idea? Also on a side note, are we allowed to have sigs on this forum? Dear Forum readers.. My personal issue is a simple one. I need HTML assistance on the correct tag(s) to use to cloak the link I use to refer to another site. I.E. Clickbank, hiding the hop used.. example... <META HTTP-EQUIV="refresh" CONTENT="0;URL=http://sophiaxxx.Iplans.hop.clickbank.net"> When used, the new page has the above link displayed prominently in the title bar. How do I disguise or re-program that aspect? Thanks.. . I have a link from a web page to a page on another server. The link works fine, but the Title at the top of the new page displays the full path as well as the HTML allocated Title. Can anyone advise me how to stop the path being displayed? Thanks Dave Hello, please can you help me with my contact page. I really don't know how to fill my page. What do you guys include on your pages?? The attachment show's you what mine looks like at the moment.. Thanks I'm not sure if this is the right forum for this question but I was just wondering how to change my links so that they look like: http://website.com/?page=contact Thanks for any help. I have searched many pages on this forum for the answer to my question but cannot find it anywhere. I do not know if this can be done in html. I am fairly new to html pages but have been creating .php pages for awhile. I am trying to dynamically create a title for a page based on the url on an html page. I have an existing site that I would prefer to leave html and not change to .aspx or .php. An Example would be: w'ww.mysite.com/ResultsGeneral.html?kwds=Sweatshirts&color=Gray-Sweatshirts. (Not a real site but an example.) I would want to display Gray Sweatshirts for the <title>Gray Sweatshirts</title> head. I know how to do this with .php. I would use <title><?php echo urldecode($_GET["color"]); ?></title> I have also found out this can be accomplished in aspx by using <head id="Head1" runat="server"> <title><%= Request.QueryString("color").Replace("-"," ") %></title> I need to know if it is possible to accomplish this with .html. I am sure it is something simple like .php but I have tried several methods and looked at a lot of forums and cannot find the answer. I may not be wording the question correctly. Thanks in advance, Bob. Hi All, I've been asked to make some hyperlinks that automatically select items in a drop down menu in a contact form. Is this possible if so, how is it done Thanks in advance Bluestreak I have made a rigid non repeated background image on a webpage I am designing using html and css code. Above the image is a title of the page which is "About Us". I want the "About us" to be rigid and non moving and to stick with the background image while the rest of the text on the page will be free scrolling. What code should I use to accomplish this. Thank you in advance. Hi Guys really hope you can help I have a site which runs off a couple of templates and what i need to do is add some code into one of the ditable regions so that it will pic up the Page title and drop it in the body off the page. e.g. the page title is 'Monkey23' and i require 'Monkey23' to automatically show up in the Body of the page. I have hundreds of pages all with different titles and therefore manual titling is not an option. Anyone got any awesome code to help me? Cheers Tom Can someone please let me know where I can find a free contact form for my site. All I want is a simple form - eg: Name: Email: Message: Send: If possible a form that I can copy and paste right onto my site, thanks! I would like someone to help me get the email form on the html page working. I am so lost! http://hershs-salsa.com/locations.html |