HTML - Html Code For Selling Unique Item.
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> Similar TutorialsHi 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 My html problem keeps failling, with all my image codes.. shown for 10 errors which are all for the images what's wrong? Here is the code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- New Perspectives on HTML and XHTML 5th Edition Tutorial 2 Case 2 Fiddler Home Page Author: Date: 2-16-2011 Filename: home.htm Supporting files: fiddler.jpg --> <title>, ITSE 1411 Lab Project 2, Tutorial 2 Case 2, Due 02/23/2011</title> </head> <body> <div> <img src="fiddler.jpg" alt="Fiddler on the Roof" /> <hr /> <a href="home2.htm"><img src="home.jpg" alt="home" /></a> <a href="slide1txt.htm"<img src="start.jpg" alt="start" /></a> <a href="slide1txt.htm"<img src="back.jpg" alt="back" /></a> <a href="slide2txt.htm"<img src="forward.jpg" alt="forward" /></a> <a href="slide6txt.htm"<img src="end.jpg" alt="end" /></a> <br /> <a href="slide1txt.htm"<img src="thumb1.jpg" alt="slide1" style="border-width: 5" /></a> <a href="slide2txt.htm"<img src="thumb2.jpg" alt="slide2" style="border-width: 0" /></a> <a href="slide3txt.htm"<img src="thumb3.jpg" alt="slide3" style="border-width: 0" /></a> <a href="slide4txt.htm"<img src="thumb4.jpg" alt="slide4" style="border-width: 0" /></a> <a href="slide5txt.htm"<img src="thumb5.jpg" alt="slide5" style="border-width: 0" /></a> <a href="slide6txt.htm"<img src="thumb6.jpg" alt="slide6" style="border-width: 0" /></a> </div> <hr /> <div> <img src="slide1.jpg" alt="slide1" /> </div> <blockquote> <p><i>Do You Love Me?</i> sung by Deb Ingalls and Thomas Gates</p> </blockquote> </body> </html> Hello! I have a blog on blogger and i want to make a c++ tutorial.. But every time i type "<iostream>" on post, when i see it, it is only "iostream". How can i make a code like the "[code]" from BBcode to cancel the compiling from HTML? Thanx! Hello everybody, I'm new here. I'm redesigning my own website and came up with some tricky situation. I write HTML lessons and I want to put just the pure code in my posts, but they appear as a regular html document... How do I make the code to be shown just as text (code), like we do in the forum boards (code tags or whatever)? I have a website where I want to make a drop down menu that will bring you to different pages. It is a very basic, sort of old-fashioned website that relies entirely on html. What I'm trying to do is make a drop-down menu that will be used as navigation for a section of a website and I want to have it in each internally linked page in that section, but I'm going to be adding more pages to it over time so I want to be able to put the drop-down menu code in a separate text file and then substitute it into the pages that I make that the options in the menu link to and then just edit the code in the text file when I add another page so that I don't have to go back and edit the code every single individual page whenever I add a new one among them. Basically all I'm asking is how I can put html code in a text file and then substitute that code into an html page by referring to the file. Thanks in advance for any help. Say I have 3 .htm files that make up a Website, and they all ask for a persons name via text input. Would all 3 input boxes have to have different ids if I want to change their size via CSS? Say they all had the id="firstName" Could I go to my CSS file and use #firstName {length: 10} or would I have to use a class? The fact that they are in separate files makes me wonder if I have to use a class. Dear Forum-goers, If I knew what to search for I would, but I don't know what this idea is called. I want to create a website with code that does the following: <body> (INSERT FROM OTHER HTML FILE: Page introduction) (INSERT FROM OTHER HTML FILE: Content) (INSERT FROM OTHER HTML FILE: Sidebar) </body> Is there a way to do this? If not, then okay. I've tried using <link />, which doesn't do the job. You'll see the line in question in blue font: Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>This is the main page.</title> <link type="text/css" rel="stylesheet" href="journal.css" /> </head> <body> <link type="text/html" rel="content" href="tobelinked.html" /> </body> </html> I have this website and want to add an extra RSS feed on the right side. I want to use a copy of Equipment & Supplies For Sale, add it right above the orginal and then convert it to RSS feed. The problem is no matter how much I try and figure out which parts to copy and paste, I can't get it to line up or even be in the right table. This might be simple to some of you but is damn hard for me. Could some one copy the complete table which includes the Equipment & Supplies For Sale code or add another one so it displays two complete Equipment & Supplies For Sale. Thanks for your help, code is below Fix Johnson website is http://barrie101.com <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Barrie101 - Your Online Business Community</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="description" content="Barrie Ontario's online business portal for local information including News, Events, Classifieds, Discussion Boards, Businesses, Links, Newsletters, Polls and Weather."> <meta name="keywords" content="Barrie business city guide, Barrie Colts, Barrie Advance, local community, news, events, classifieds, discussions, businesses, links, newsletters, polls, weather"> <link rel="stylesheet" href="Default.css" type="text/css"> <link rel="stylesheet" href="Site.css" type="text/css"> <script language="JavaScript" src="http://www.barrie101.com/script.js"></script> </head> <body class="PageBODY"> </div> </center></td> </tbody> </table> </td> </tbody> </table> <table cellSpacing="0" cellPadding="3" width="100%" border="0"> <tbody> </tbody> </table> </td> </tr> </tbody> </table> </td> </tr> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td width="100%" height="15"> </td> </tr> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <td></table> </td> </tr> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td><div align="center"><center> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <td><div align="center"><center><table cellSpacing="0" cellPadding="1" width="100%" bgColor="#C9DBED" border="0"> <tbody> <tr> <td><table cellSpacing="0" cellPadding="3" width="100%" bgColor="#FFFFFF" border="0"> <tbody> </tr> <tr bgColor="#C9DBED"> <td><b>Discuss Your New Products or Services</b></td> <td><p align="right"><a href="Discussions.{Extension}">more...</a></td> </tr> </tbody> </table> <table cellSpacing="0" cellPadding="0" width="100%" border="0"> <tbody> <tr> <td bgColor="#1400eb"><table cellSpacing="0" cellPadding="0" border="0"> <tbody> <tr> <td height="1"></td> </tr> </tbody> </table> </td> </tr> </tbody> </table> <table cellSpacing="0" cellPadding="3" width="100%" border="0" bgcolor="#FFFFFF"> <tbody> </tbody> <tbody> <tr> <td style="padding: 10" colspan="2"><!--BeginFormDisc--><table> <!--BeginDListDisc--> <tr> <td>{Field1} </td> <td><a href="{mtopic_URLLink}?mid={Prmmtopic_mid}&forum_id={Prmmtopic_forum_id}&">{mtopic}</a> </td> </tr><!--EndDListDisc--> <!--BeginDiscNoRecords--> <tr> <td colspan="2">No records</td> </tr><!--EndDiscNoRecords--> </table><!--EndFormDisc--> </td> </tr> </tbody> </table> </td> </tr> </tbody> </table> </td> </tr> <tr> <td width="100%" height="15"> </td> </tr> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td><div align="center"><center> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <td><div align="center"><center><table cellSpacing="0" cellPadding="1" width="100%" bgColor="#C9DBED" border="0"> <tbody> <tr> <td><table cellSpacing="0" cellPadding="3" width="100%" bgColor="#ffffff" border="0"> <tbody> </tr> <tr bgColor="#C9DBED"> <td><b>Equipment & Supplies For Sale</b></td> <td><p align="right"><a href="Classifieds.{Extension}">more...</a></td> </tr> </tbody> </table> <table cellSpacing="0" cellPadding="0" width="100%" border="0"> <tbody> <tr> <td bgColor="#1400eb"><table cellSpacing="0" cellPadding="0" border="0"> <tbody> <tr> <td height="1"></td> </tr> </tbody> </table> </td> </tr> </tbody> </table> <table cellSpacing="0" cellPadding="3" width="100%" border="0" bgcolor="#FFFFFF"> <tbody> </tbody> <tbody> <tr> <td style="padding: 10" colspan="2"><!--BeginFormClassifieds--><table cellSpacing="0" cellPadding="0" width="100%"> <tbody><!--BeginDListClassifieds--> <tr> <td>{ad_category_id} <br> <a href="{ad_title_URLLink}?ad_id={Prmad_title_ad_id}&{TransitParams}">{ad_title}</a><br> </td> </tr><!--EndDListClassifieds--> <!--BeginClassifiedsNoRecords--> <tr> <td colspan="2">No records</td> </tr><!--EndClassifiedsNoRecords--> </tbody> </table> <!--EndFormClassifieds--> </td> </tbody> </table> <table cellSpacing="0" cellPadding="3" width="100%" border="0"> <tbody> </tbody> </table> </td> </tr> </tbody> </table> </td> </tr> <tr> <td width="100%" height="15"> </td> </tr> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <td><div align="center"><center> <table cellSpacing="0" cellPadding="1" width="100%" bgColor="#C9DBED" border="0"> <tbody> <tr> <td> <table cellSpacing="0" cellPadding="3" width="100%" bgColor="#ffffff" border="0"> <tbody> <tr bgColor="#C9DBED"> <td><b>Today's Poll</b></td> <td><p align="right"><a href="PollResults.{Extension}">results...</a></td> </tr> </tbody> </table> <table cellSpacing="0" cellPadding="0" width="100%" border="0"> <tbody> <tr> <td bgColor="#1400eb"> <table cellSpacing="0" cellPadding="0" border="0"> <tbody> <tr> <td height="1"></td> </tr> </tbody> </table> </td> </tr> </tbody> </table> <table cellSpacing="0" cellPadding="3" width="100%" border="0" bgcolor="#FFFFFF"> <tbody> </tbody> <tbody> <tr> <td style="padding: 10"><form method="GET" action="PollResults.{Extension}" name="Poll"> <!--BeginFormVote--><table> <tr> <td colspan="2"><a name="Vote"><center> <p>{Question}</p> </center></a></td> </tr> <tr> <td></td> <td></td> </tr> <!--BeginDListVote--> <tr> <td>{answer_id} </td> <td>{answer_content} </td> </tr> <!--EndDListVote--> <!--BeginVoteNoRecords--> <tr><td colspan="2">No records</td></tr> <!--EndVoteNoRecords--> </table> <!--EndFormVote--> <center> <p>{VoteBox} <input type="hidden" value="Vote" name="AddVote"/> </p> </center> </td> </tr> </tbody> </table> <table cellSpacing="0" cellPadding="3" width="100%" border="0" bgcolor="#FFFFFF"> <tbody> <tr> </form> <SCRIPT Language="JavaScript"> function update() { document.Poll.AddVote.value = 'Vote'; document.Poll.submit(); } </SCRIPT> </tr> </td> </tr> </tbody> </table> </td> </tr> </tbody> </table> </td> </tr> </td> </tbody> </table> <tr> <td width="100%" height="15"></td> </tr> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <td><div align="center"><center> <table cellSpacing="0" cellPadding="1" width="100%" bgColor="#C9DBED" border="0"> <tbody> <tr> <td> <table cellSpacing="0" cellPadding="3" width="100%" bgColor="#ffffff" border="0"> <tbody> </tr> <tr bgColor="#C9DBED"> <td><b>Featured Business</b></td> Can somebody pls. help me HTML code below ? I simply want to change Font Size ? <text><![CDATA[Lorem ipsum dolor sit amet, <b>consectetur adipisici elit</b>, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. <font color="#CCFF33">Ut enim ad minim veniam</font>, quis nostrud exercitation ullamco laboris nisi ut aliquid ex ea commodi consequat. Quis aute iure reprehenderit in <b>voluptate velit esse</b> cillum dolore eu fugiat nulla pariatur. Cupiditat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquid ex ea commodi consequat. Quis aute iure reprehenderit in <b>voluptate velit esse</b> cillum dolore eu fugiat nulla pariatur. Cupiditat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.]]></text> The piece of code is embedded in XML file but i suspect that HTML concept applies here... Mave Hi All... I am having problems with a page...the table displays on one page, but not on another page...and all I've done is c + p from the bad page into the working one and voila! It went bad this is when viewed in Firefox... Here's the page that works...the middle column keeps the text all the way down the page: http://www.ediblog.com/audjblog.htm Here's the page where the table ends, but the text continues down the page: http://www.ediblog.com/rae.htm Can someone tell me what I'm doing wrong here?? wacko.gif I'm very confused... Thanks I have created an html order form and I want the results from the form emailed to me but I can't get the results that someone types in email to me. Below is my html page: Also, my email button will not go to the bottom. I appreciate anyones help!!! <HTML> <HEAD> <TITLE>The Cheese Course Product Order Form from New England Distributors</TITLE> </HEAD> <BODY> <h5 align="center"><b>New England Distributors LLC<br>240 Lakeview Drive, #109<br>Weston, FL 33326<br>(954) 588-2300<br> <A HREF="mailto:newenglanddistributors@gmail.com">newenglanddistributors@gmail.com</A></h3></p> <h2 ALIGN="CENTER"><U>2010 New England Distributors Product Order Form</U></H4> <P><b>Order Online</b>, please fill out the form below and email it back to <A HREF="mailto:newenglanddistributors@gmail.com">newenglanddistributors@gmail.com</A> or<br> <b>Order Via Telephone</b>, please fill out form and call (954) 588-2300 and leave your order on voicemail.</P> <p>The Cheese Course<br>Location: <select name="chzcourselocations"> <option>Pick a location from the drop down list <option>Weston Town Center 1679 Market Street Weston, FL 33326 <option>Midtown Miami 3451 NE 1st Avenue, Unit 100 Miami, FL 33137 <option>The Village at Gulfstream Park 601 Silks Run, #1480 Hallandale Beach, FL 33009 <option>Mizner Park 305 Plaza Real, #1305 Boca Raton, FL 33432 </select></p> <table align="left" width="50%" border="0"> <form method="post" action="mailto:newenglanddistributors@gmail.com"> <input type="submit" value="Send"> <tr> <th width="5%"><u>Case Quantity</u></th> <th width="45%" align="left"><u>Deep River Snacks</u></th> </tr> <tr> <td><form method=post action="http://www.mcp.com/cgi-bin/post-query"><input quantity="Quantity"></form></td> <td valign="top">2oz Deep River Original Kettle Chips - 24ct.</td> </tr> <tr> <td><form method=post action="http://www.mcp.com/cgi-bin/post-query"><input quantity="Quantity"></form></td> <td valign="top">2oz Deep River Sweet Maui Onion Kettle Chips - 24ct.</td> </tr> <tr> <td><form method=post action="http://www.mcp.com/cgi-bin/post-query"><input quantity="Quantity"></form></td> <td valign="top">2oz Deep River Rosemary & Olive Oil Kettle Chips - 24ct.</td> </tr> <tr> <td><form method=post action="http://www.mcp.com/cgi-bin/post-query"><input quantity="Quantity"></form></td> <td valign="top">2oz Deep River Salt & Vinegar Kettle Chips - 24ct.</td> </tr> <tr> <td><form method=post action="http://www.mcp.com/cgi-bin/post-query"><input quantity="Quantity"></form></td> <td valign="top">2oz Deep River Mesquite Barbeque Kettle Chips - 24ct.</td> </tr> <tr> <td><form method=post action="http://www.mcp.com/cgi-bin/post-query"><input quantity="Quantity"></form></td> <td valign="top">2oz Deep River Cracked Pepper & Sea Salt Kettle Chips - 24ct.</td> </tr> <tr> <td><form method=post action="http://www.mcp.com/cgi-bin/post-query"><input quantity="Quantity"></form></td> <td valign="top">2oz Deep River Zesty Jalepano Kettle Chips - 24ct.</td> </tr> <tr> <td><form method=post action="http://www.mcp.com/cgi-bin/post-query"><input quantity="Quantity"></form></td> <td valign="top">2oz Deep River Asian sweet & Spicy Kettle Chips - 24ct.</td> </tr> <tr> <td><form method=post action="http://www.mcp.com/cgi-bin/post-query"><input quantity="Quantity"></form></td> <td valign="top">2oz Deep River Lightly Salted Kettle Chips - 24ct.</td> </tr> <tr> <td><form method=post action="http://www.mcp.com/cgi-bin/post-query"><input quantity="Quantity"></form></td> <td valign="top">2oz Deep River Sharp White Cheddar Cheese Popcorn - 24ct.</td> </tr> </table> <table align="right" width="50%" border="0"> <tr> <th width="5%"><u>Case Quantity</u></th> <th width="45%" align="left"><u>Tate's Bake Shop</u></th> </tr> <tr> <td><form method=post action="http://www.mcp.com/cgi-bin/post-query"><input quantity="Quantity"></form></td> <td valign="top">8oz Tate's Chocolate Chip Cookies - 12ct.</td> </tr> <tr> <td><form method=post action="http://www.mcp.com/cgi-bin/post-query"><input quantity="Quantity"></form></td> <td valign="top">8oz Tate's Chocolate Chip Walnut Cookies - 12ct.</td> </tr> <tr> <td><form method=post action="http://www.mcp.com/cgi-bin/post-query"><input quantity="Quantity"></form></td> <td valign="top">8oz Tate's White Chocolate Chip Macadamia Nut Cookies - 12ct.</td> </tr> <tr> <td><form method=post action="http://www.mcp.com/cgi-bin/post-query"><input quantity="Quantity"></form></td> <td valign="top">8oz Tate's Oatmeal Raisin Cookies - 12ct.</td> </tr> <tr> <td><form method=post action="http://www.mcp.com/cgi-bin/post-query"><input quantity="Quantity"></form></td> <td valign="top">8oz Tate's Whole Wheat Dark chocolate Chip Cookies - 12ct.</td> </tr> <tr> <td><form method=post action="http://www.mcp.com/cgi-bin/post-query"><input quantity="Quantity"></form></td> <td valign="top">8oz Tate's Chocolate Chip Oatmeal Cranberry Cookies - 12ct.</td> </tr> <tr> <td><form method=post action="http://www.mcp.com/cgi-bin/post-query"><input quantity="Quantity"></form></td> <td valign="top">8oz Tate's Chipless Wonder - 12ct.</td> </tr> <tr> <td><form method=post action="http://www.mcp.com/cgi-bin/post-query"><input quantity="Quantity"></form></td> <td valign="top">8oz Tate's Butterscotch Pecan Cookies - 12ct.</td> </tr> <tr> <th width="5%"><u>Case Quantity</u></th> <th width="45%" align="left"><u>Global Beverages</u></th> </tr> <tr> <td><form method=post action="http://www.mcp.com/cgi-bin/post-query"><input quantity="Quantity"></form></td> <td valign="top">7oz Mr. Q. Cumber Soda - 24ct.</td> </tr> </table> </p> </form> </p> <form action="mailto:newenglanddistributors@gmail.com?subject=Website Feedback" method="post" enctype="text/plain"> <table> <tr> <td>Email Adress:</td> <td> <input type="text" name="email_address" value="" maxlength="100" /> </td> </tr> <tr> <td>Comments:</td> <td> <textarea rows="5" cols="30" name="comments"></textarea> </td> </tr> <tr><td> </td> <td> <input type="submit" value="Submit" /> </td> </tr> </table> </form> </body> </html> I use reporting services alot, and all the code in that is XML, but i want to use a refresh code that is html, how could i do this? or is it possible I am trying to bold and make the text in this phrase orange: Get 20% Off On ALL Home Improvement Projects!! Deal Ends April 30th! See html below <marquee behavior="scroll" direction="left">Get 20% Off On ALL Home Improvement Projects!! Deal Ends April 30th!</marquee> <p style="font-size:10px;"><a href="http://facebook.com/homeimprovementexperts/">Click Here To Get Weekly Deal Updates</a></p> Hello fellow HTMLer's! I have a serious eye problem-- i am per-assumming-- because I can't figure out what is wrong with my code; When I use my function dart to draw the specs on my table, it seems to do nothing, but I keep scanning my code and I can't figure out what is wrong with it. Any help would be awesome. Thank you! P.S Why haven't the X/HTML gods created an compiler yet, or I'm I out of date! HTML Code: <html> <head> <style> table {border-collapse:collapse} </style> <script> nx=32; ny=32; wx=1000; wy=600; dx=Math.floor(wx/nx); ny=Math.round(nx*600/1000); function dart() {npt=200; for(i=0;i<npt;i++) {x=Math.floor(Math.random()*nx); y=MAth.floor(Math.random()*ny); r=Math.floor(Math.random()*256); g=Math.floor(Math.random()*256); b=Math.floor(Math.random()*256); id1=x+","+y; b1=document.getElementById(id1); b1.style.backgroundColor="rgb("+r+","+g+","+b+")"; } } function getid(id3) {document.form1.idextract.value=id3; comma=id3.indexof(","); x1=id3.substring(0,comma); y1=id3.substring(comma+1, id3.length); document.form1.xextract.value=x1; document.form1.yextract.value=y1; colorstring=document.getElementById(id3).style.backgroundColor; lparen=colorstring.indexof("("); // rgb ( = l paren , = comma1 g , = comma2 b ) comma1=colorstring.indexof(","); comma2=colorstring.indexof(",",comma1+1); r1=colorstring.substring(lparen+1,comma1); //rgb( r,g,b ) you could be a four instead of lparen g1=colorstring.substring(comma1+3,comma2); b1=colorstring.substring(comma2+3,colorstring.length-1); document.form1.rextract.value=r1; document.form1.gextract.value=g1; document.form1.bextract.value=b1; } </script> </head> <body> <table> <script> dy=dx; for(i=0;i<ny;i++) {document.write("<tr>"); for(j=0;j<nx;j++) {color="yellow"; id1=j+","+i; document.write( "<td id="+id1+" style='background-color:"+color+ ";width:"+dx+";height:"+dy+"' onclick='getid(\""+id1+"\")'></td>"); } document.write("</tr>"); } </script> </table> <form name="form1"> id extracted<input type="text" value="id" name="idextract"/input> x extracted<input type="text" value="x" name="xextract"/input> y extracted<input type="text" value="y" name="yextract"/input> <br> r <input type="text" value="r" name="rextract"/input> <br> g <input type="text" value="g" name="gextract"/input> <br> b <input type="text" value="b" name="bextract"/input> <br> <input type="button" value="dart" onclick="dart()"/input> </form> </body> </html> take a loot at my template. i need help with the glitch. hover your mouse below the template need payment,about us etc. please help http://fortressht@lowpricehighdef.co...00Aaabbbb.html this code has been giving me trouble for days and i just cant make it work, please someone help me make the submit button mail the information forms to this email: abuse@hotmail.com PLEAAAAAAAAAAASE. Hi everyone! I am new to this forum and would like to ask some questions(if thats ok!). I'll only ask 1 on this thread. How do I make a form in HTML that would be HTML Code: <INPUT TYPE="input" NAME="from">Your Email Address<P> <INPUT TYPE="input" NAME="firstname">Your First Name<P> <INPUT TYPE="input" NAME="lastname">Your Last Name<P> <INPUT TYPE="input" NAME="subject">Subject<P> <INPUT TYPE="submit" VALUE="Submit"> but how would I have the "submit" button automaticly email me the information. When i do it (with a few modifications to the code) it always open up Thunderbird (my email program) and just gives them like a Mailto Link to my email... any help?? Thanks in advance!! I am creating a project in Flash and it is calling a .txt file. I am reusing code from another source, but I can't figure out what the code is. The issue is that I need to create a glossary that involves terms using the & symbol. Because of how the code is set up the terms are cut off when I use the symbol for terms. I highlighted the issues in blue. &item23=LDP#Learning & Development Plans.& &item24=OL & D#Organization Learning "&" Development.& &num_items=35& &itemsfile_loaded=1& |