Jump to content

Search the Community

Showing results for tags 'html'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • HTML/XHTML
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • XSLT/XSL-FO
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Languages

Found 848 results

  1. Bunnycorn

    Columns

    So, here's my question. I can make columns, I can edit the size, I can do all that stuff, but I can't get it to go actively down the page or get it to go into the background, if you need my source or anything please just ask. Also; although I doubt you'll be able to help me on this; is there any way to edit an actual in use source? Or even get a fresh one? I'm doing it for a school project and the one who's supposed to be getting the site is incredibly slow, and I don't have money to buy my own, nor would I spend that money to buy my own. I shall attach a copy of my source, incase you need to see it for whatever reason. Oh god...htm
  2. My php contact form wont send the emails to my account?This is my contact from page<table width="400" border="0" align="center" cellpadding="3" cellspacing="1"><tr><td><h2><strong>Contact Form </strong></h2></td></tr></table><table width="400" border="0" align="center" cellpadding="0" cellspacing="1"><tr><td><form name="form1" method="post" action="send_contact.php"><table width="100%" border="0" cellspacing="1" cellpadding="3"><tr><td width="16%">Subject</td><td width="2%">:</td><td width="82%"><input name="subject" type="text" id="subject" size="50"></td></tr><tr><td>Detail</td><td>:</td><td><textarea name="detail" cols="50" rows="4" id="detail"></textarea></td></tr><tr><td>Name</td><td>:</td><td><input name="name" type="text" id="name" size="50"></td></tr><tr><td>Email</td><td>:</td><td><input name="customer_mail" type="text" id="customer_mail" size="50"></td></tr><tr><td> </td><td> </td><td><input type="submit" name="Submit" value="Submit"> <input type="reset" name="Submit2" value="Reset"></td></tr></table></form></td></tr></table><p> </p></form>This is my php code for the contact form<?php// Contact subject$subject ="$subject"; // Details$message="$detail";// Mail of sender$mail_from="$customer_mail"; // From $header="from: $name <$mail_from>";// Enter your email address$to ='gareth.joynt@go.edgehill.ac.uk';$send_contact=mail($to,$subject,$messa…// Check, if message sent to your email // display message "We've recived your information"if($send_contact){echo "We've recived your contact information";}else {echo "ERROR";}?>Please help thanks
  3. Forgive me I am very new to HTML... Can anyone work out what is wrong with this code, in red and bold - currently the rollovers do not work. The images are both saved in the same folder and both the image names are correct - Any ideas? <html><head><title>My Party Planner</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head><body bgcolor="#aacde9" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><style type="text/css">table{border-bottom: 2px solid #6600CC}</style><table id="Table_01" width="1200" height="200" border="0" cellpadding="0" cellspacing="0"> <tr> <td rowspan="2"><a href="index.html"><img src="logo.gif " width="253" height="200" border="0" alt=""></a></td> <td colspan="15"> <img src="mypartyplannertext.jpg" width="947" height="156" alt=""></td> </tr> <tr> <td><a href="index.html" onMouseOver="homerollover.gif" onMouseOut="home.gif"><img src="home.gif" width="87" height="44" border="0" alt=""></a></td> <td> <img src="blank7.jpg" width="16" height="44" alt=""></td> <td><a href="venues.html"><img src="venues.gif" width="83" height="44" border="0" alt=""></a></td> <td> <img src="blank10.jpg" width="15" height="44" alt=""></td> <td><a href="catering.html"><img src="catering.gif" width="99" height="44" border="0" alt=""></a></td> <td> <img src="blank5.jpg" width="14" height="44" alt=""></td> <td><a href=entertainment.html"><img src="entertainment.gif" width="127" height="44" border="0" alt=""></a></td> <td> <img src="blank4.jpg" width="14" height="44" alt=""></td> <td> <img src="file:///C|/Users/Cat/Documents/Web Page/Web Page Images/images/images/navigationbar_11.gif" width="1" height="44" alt=""></td> <td><a href="decoratiions.html"><img src="decorativetouch.gif" width="113" height="44" border="0" alt=""></a></td> <td> <img src="blank3.jpg" width="14" height="44" alt=""></td> <td> <img src="about.gif" width="85" height="44" alt=""></td> <td> <img src="blank3.gif" width="14" height="44" alt=""></td> <td> <img src="contact.gif" width="114" height="44" alt=""></td> <td> <img src="blank1.jpg" width="151" height="44" alt=""></td> </tr></table></body></html> Many Thanks in AdvanceCatherine
  4. I wrote a simple HTML web page on my home computer. It appeared fine as both a .txt and .html. But when I transferred (FTP via FileZilla or Core) it to the webhost (GoDaddy) the text was changed and the webpage contained symbols and Chinese characters. http://www.scottyproductions.org/Blog.html. Main site: www.Scottyproductions.org. I finally was able to upload the web pages directly throught the GoDaddey FTP so they are now working/displaying the text properly. I can't figure out why my script changes when it is uploaded to the webhost by FiliZilla or CORE FTP but not by GoDaddy. When you open the "View" Source" from the website, there are many characters which were not in the original script. GoDaddy says that their server is working properly. I have re-downloaded the current FileZilla program; and this also happens when I use Core FTP. I have deleted the file on the server and overwritten and re-transferred the one from my computer (with normal script) but this has not helped. When the HTML page or TXT file appear on the server they contain unusual character. Any idea why or how it can be corrected. It has now been uploaded and works fine so the web pages are OK.
  5. So I am at the part of my website where I need to decide how to display individual products being sold on the website. I want to display the picture, a description, and link it to a paypal account where the individual product can be sold. But I am unsure how to do it. I could do it with HTML easily, but I am wondering if I should use PHP or another programming langauge so I dont have to create 1 page per product, so I dont have to create 50 additional pages. Im thinking that I would have to create a template page using HTML or PHP and then use the programming language to fill in the description and images according to which link (product) they click. How would I do this exactly? I dont have a ton of experience with PHP, am I way over my head? And would PHP would well with PayPal? again, would that be a huge project?
  6. Hi, I am busy testing out a lightbox form that I'm working on and I've got all to work except the "success" or "thank you" page.Basically I want the user to fill in the online form and when the they are click 'submit', the "thank you" message or page resolves in the same lightbox that the form was in. Go to www.testing123.co.za/test.htm and click on that link you see saying "AJAX SuperBox".The lightbox is opening up an HTML page within in the test.htm page (basically acting like an iFrame?).When I click submit, the page resolves to the success.htm page (which it should) but not in the lightbox frame. I don't want visitors to leave the test.htm page. My headers at the bottom of my process php form shows as: '; $headers = "From: $from\r\nBCC:{$bcc}\r\n"; $headers .= "Content-type: text/html\r\n"; $success = mail($to, $subject, $sBodyNew, $headers); header('Location: http://www.testing123.co.za/success.htm'); ?> I assume the Location url above needs code added to it so that it works within the lightbox? Or is there an easier way to do this? Thanks guys!
  7. i want to make it so that what you put in an HTML forum when sent will add to a separate HTML page with the input from the forum inserted into code. For example, on a forum in typeit.html you type "My Name" into the name text box and "This Is My Message" into the message box. You clock submit and it sends it to the PHP page which sends <b>My Name</b><br><p>This Is My message</p><br> to a separate HTML page called mytxt.htmlNote that was an example and what the names of pages and forums are above are different in reality.I already have a code to simple print the text as it is but i don't know how to make code with PHP.Here is the code that I have so far: in photo_main.html <form action="upload_file.php" method="post"enctype="multipart/form-data"><input type="file" name="file" id="file" /> <br />Title:<INPUT TYPE="text" NAME="fname"><br>Description:<INPUT TYPE="text" NAME="age"><br>Photo Album:<INPUT TYPE="text" NAME="alb"><br><input type="submit" name="submit" value="Submit" /></form> in upload_file.php <?php if ($_FILES["file"]["error"] > 0) { echo "Return Code: " . $_FILES["file"]["error"] . "<br />"; } else { echo "Upload: " . $_FILES["file"]["name"] . "<br />"; echo "Type: " . $_FILES["file"]["type"] . "<br />"; echo "Size: " . ($_FILES["file"]["size"] / 1024) . " Kb<br />"; echo "Temp file: " . $_FILES["file"]["tmp_name"] . "<br />"; if (file_exists("images/" . $_FILES["file"]["name"])) { echo $_FILES["file"]["name"] . " already exists. "; } else { move_uploaded_file($_FILES["file"]["tmp_name"], "images/" . $_FILES["file"]["name"]); echo "Stored in: " . "images/" . $_FILES["file"]["name"]; $a_str = array($_POST["fname"],$_POST["age"],$_POST["alb"],$_FILES["file"]["name"]); $contents = implode(PHP_EOL, $a_str); $contents .= PHP_EOL . PHP_EOL; file_put_contents("photos.txt", $contents, FILE_APPEND); print("|$contents|"); } }?> I want to make it so that instead of text going to a txt file I want code going to an HTML file so that i don't have to keep manually putting in uploaded photos. I am going to use an iframe to put in the HTML to a page. If there is a better way than an iframe that would be great too. I hope I was not confusing.
  8. In a page I have, I have 2 links. each link relates to add or just view. Link 1) is where a user adds an entry. and link 2 is where you can view the entry. look at the code blow: <a href="{SITE_ROOT}blog/addentry.php?bid={BID}" style="margin-left:100px;text-decoration:none">Add Entry</a><a href="{SITE_ROOT}blog/viewentry.php?bid={BID}" style="margin-left:100px;text-decoration:none">View Entries</a> The 1st link. I don't just want any one adding a new entry to this persons blog. I only want the user who made the blog to be a allowed to add to his/her blog. So how can I hide the 1st link from every one other then the user who created the blog.
  9. Hi. After a lot of studying I've learned how to create valid xml schemas and data files, and I've been able to display some of that data on a web page but not all of it. For example, if there are multiple <city> nodes under a <state> node, I've been able to display all of the state nodes in the file using "for-each select" and "value-of select", but only the first city in each state; none of the other cities. How do I display multiple items at a subordinate level like cities in a state? Thanks.
  10. Hi, I operate a website - www.afilmcanon.com - on the squarespace operating system. There's an html formatting option. At the moment, I've formatted my entries so that the text is justified on both the right and left sides. However, I am wondering if there is an html code that distributes the text so that it is not only justified on both side, but ends at the very end of the bottom line, ie provides a symmetrical block of text. I've checked a few html code sites, but to no avail so far. Kind regards,Billy
  11. Hi all, I'd like to display a page of HTML after a short delay. My first approach, which works, was to enclose the HTML markup inside a document.write() function and call that function from setTimeout(), e.g. something like this: t1 = setTimeout("writePage()", 10000);...function writePage() {document.write("<h1>Hello World!</h1>");} But this can get quite complicated with a longer page with styling, as I'll have to escape all quote marks with a backslash, and also add line-continuation characters. And it really gets hairy if I want to include a navbar with its own document.write() functions within the HTML that's already nested within a document.write(). Is there a better way? Is there some way to implement a simple wait(n) function that just waits for n milliseconds before proceeding?
  12. I want to make it so that when you hit the submit button, the text in the text box is added onto a separate html document. Don't explain how, just give me a code example and some basics on it.
  13. hello there w3teachers and friends. I have some question. I believe that I actually have wrote like a several tens of thousand line of script. But, just a few weeks ago, I met some script that changed a bit of my belief. Well, simply let me make turn the question into some example: case 1: <?phpif($foo == "foo"){echo "<span>some statement is running</span>";}?> case 2:<?phpif($foo != "foo"){?><span>theres no running statement</span><?php}?> okay, the example script that has changed my belief is the second case. So, my question is:1. which example do you thing is good for practice 2. I can see that sometimes, the second case is easier, but sometimes may burden since I need to write <?php echo ;?> to instill some php in it. Thanks a lot and give a comment!!
  14. Hi, I have an HTML table of variable size (it is actualy a grid on the server) and I have a problem to print it in IE 8. When a page break occures the content is cut off in the middle of the row. I tried to use javascript to calculate the position of the tr tag relative to page length and then set the pageBreakBefore attribute, but this is not my favorite solution. Firefox seems to handle printing automatically, without any css or jscript required, but I nedd it to work in IE too. I would appriciate any kind of help. Tnx in advance
  15. gatormancl

    Ie 9 Bug?

    for some reason there is a gray line which randomly appears on the left of all my content. This is only limited to IE 9. I don't know why this is occuring and ive never run into this problem. To see what im talking about, visit this link http://w.greenlabelgraphics.com in IE 9, switch to dev tools and view in IE 8, or 7, or view in diff browser such as Safari, FF, Chrome... Any help would be appreciated, thanks a lot in advance.
  16. Ive been working with HTML since the 7th grade so I know how it works for the most part. I can look at any html script and tell what does what and how to edit it, but never tried learning how to actually write it from scratch, until now. I want to start making websites asap and looking through the html course i notice that i know/understand most of whats in the basic (except for some vocabulary and name of parts). I am still taking my time through it to make sure I don't miss anything. My question is, how much of the language am I supposed to memorize and know at the top of my head?Should i take the time to memorize every little thing before continuing (like this http://w3schools.com/tags/default.asp) or should I go through the whole course, learn the basics, and look back only when i need to, and eventually i'll end up memorizing most of it?
  17. na_da

    Html Forms

    Apologies if this is in the wrong section! I am sorting out a site that has a t&c section before the user enters the website, basically people need to accept the terms and conditions of the site - then enter their email address, when the user hits submit the email they enter needs to be sent to my email address, and then the page redirects to the home pageI have basically got it in essence the only thing i cant seem to make it do is send the email address they enter to my email address - this is the code I have so far:<----------form method="post" onsubmit="this['redirect'].value = this['redirect'].value + '?EMAIL=' + this['email'].value;" action="/?page_id=4"><div align="left"><font face="Verdana, Arial, Helvetica, sans-serif"> Email:<input type="text" size="20" name="email"><input type="submit" name="submit" class="home-sections" value="Accept"><input type="hidden" value="/?page_id=4=" name="redirect"><input type="hidden" value="myemail@myemail.com" name="mailto"><br></font> </div></form-----------> If anyone can help on point me in the right direction I would really appreciate it.
  18. At this address: http://into.net23.net/ beyond the index page lies just one other file, an .html page, on that page is a string of characters. This is a website created to test security for a website at a different address, it is my hope to keep paid content there using this format, without using any genuine security. I have tried all i know to find the page, download the entire website. nothing has yielded this page yet. Can anyone find this page and tell me what this string of characters is please? Or is it genuinely secure?
  19. Nandish Roy

    Voicexml

    Hi All, I'm working on XML and got a new project for voice XML..... So can someone help me how to connect XML to voice XML... I mean, XML doc to voice xml.... or any link so that I can learn abt Vice XML. Thank you.
  20. Is it possible to take all the pages from a website and make a spreadsheet out of the URLs and titles instead of having to manually go through the site and do it?
  21. hello newbie here.. i got a big issue whit a eclipsephp i recently installed at his latest version and the problem is that it dont have CSS or HTML codes, i cant call , ID's , Class, Browse whit Ctrl + Space, even if a call it for a external file i it dont show me whit Crtl + Spaces the this that i need, and many code more when i need it like Dreamweave ... in Dreamweaver you have all dose option whit Crtl + Space they told me that you have a way to install plugins Css and Html on EclipsePHP how and where i do that ?
  22. Ok, so I have 2 questions for the community.1. Is there a way to create a HTML form that will send an email to the MAILTO: recipient, but have the browser NOT auto-open the email app? I mean, after I hit submit, I would rather see a confirmation page that the email was sent rather than have an email app open. Any way to do that without using a third party form?2. Along a similar line with HTML forms, I wanted to know if I could make a form with different options (a dropdown box.) But I wanted to see if there was a way to email a different email address based on the option chosen? I'm sure it might require some Javascript (maybe) but I'm not sure.Thanks for any responses.
  23. Hi I'm trying to build a Link Generator (just for practice) and am trying to add the option to specify whether it is underlined (using style attribute). However, it no longer works at all. Can someone help? Link: http://dl.dropbox.co...Untitled-3.html Relevant Code: <head><script>/*Functions*/function editLink(){var lText= document.getElementById('linkText');var lURL= document.getElementById('linkURL');var lUL= lUL_value();var taValue= document.getElementById('taHTMLoutput');function lUL_value(){var a=document.form1.uLine;if ('a==yes'){return "style=\"text-decoration:underline;\"";}else{return "style=\"text-decoration:none;\"";};}function changeHTML(){return "<a href=\"" + lURL.value + "\" " + lUL.value + ">" + lText.value + "</a>";};taValue.value= changeHTML();document.getElementById('outputP').innerHTML = "<a href=\"" + lURL.value + "\" " + lUL + ">" + lText.value + "</a>";}function select_content(elementID) { // first set focus document.getElementById([elementID]).focus(); // select all contents document.getElementById([elementID]).select(); }function writepageTitle(){// not workingvar pgTitle= document.getElementById('title');document.getElementById('footerpageTitle').innerHTML = pgTitle.innerHTML;}/*Other*/window.onload = 'writepageTitle';// ^^ not working ^^ //</script></head> <body><div id="uberContainer"><header>...</header><div id="mainContainer"><table align="center"><tr><td><form id="form1" onsubmit="return false;" style="border:1; border:#666"><legend><h3>Link Details</h3></legend><div id="formContainer"><table><tr><td><label for="linkText">Link Text</label></td><td><input class="inputRight" id="linkText" autofocus="autofocus" placeholder="Mel Jones Photography Ltd." required size="40" type="text" autocomplete="on" /></td></tr><br /><tr><td><label for="linkURL">Link URL</label></td><td><input type="url" required class="inputRight" id="linkURL" placeholder="http://meljones.info/" autocomplete="on" size="40" /></td></tr><tr><td><label for="uLine">Underline</label></td><td><input id="uLine_yes" type="radio" name="uLine" value="yes" /> Yes <input id="uLine_no" type="radio" name="uLine" value="no" /> No<br /></td></tr><tr><td></td><td><button onclick="editLink();">Amend Link!</button></tr></table></div></form></td><td><table><tr><td><h3>Output: </h3></td><td><p id="outputP"></p></td></tr><tr><td>HTML:</td><td><form id="formHTMLoutput"><textarea onClick="select_content('taHTMLoutput');" value="" id="taHTMLoutput"readonly placeholder="The HTML code for the Link will appear here!"></textarea></form></td></tr></table></td></tr></table></div><footer>...</footer></div></body></html> Full Code: <!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title id="title">Element Express.: Link Maker!</title><style>/* element styling *//* */a{color:#F28705;text-decoration:none;}a:visited{color:#BF3604;}body{font:Tahoma, Geneva, sans-serif;font-family:Tahoma, Geneva, sans-serif;background-color:#324452;color:#cccccc;}textarea{max-width:600px;min-width:350px;min-height:100px;}table{vertical-align:text-top;}hr{ }input{vertical-align:text-top;}/* element id styling *//* */div#uberContainer{max-width:75%;margin-left:auto;margin-right:auto;left:50%;outline:solid;outline-color:#97BDBF;min-height:100%;}nav#mainNav{vertical-align:top;right: 10%;}/* classes *//* */.inputRight{margin-left:auto;left:100%;}.class1{color:#97BDBF;}</style><script>/*Functions*/function editLink(){var lText= document.getElementById('linkText');var lURL= document.getElementById('linkURL');var lUL= lUL_value();var taValue= document.getElementById('taHTMLoutput');function lUL_value(){var a=document.form1.uLine;if ('a==yes'){return "style=\"text-decoration:underline;\"";}else{return "style=\"text-decoration:none;\"";};}function changeHTML(){return "<a href=\"" + lURL.value + "\" " + lUL.value + ">" + lText.value + "</a>";};taValue.value= changeHTML();document.getElementById('outputP').innerHTML = "<a href=\"" + lURL.value + "\" " + lUL + ">" + lText.value + "</a>";}function select_content(elementID) { // first set focus document.getElementById([elementID]).focus(); // select all contents document.getElementById([elementID]).select(); }function writepageTitle(){// not workingvar pgTitle= document.getElementById('title');document.getElementById('footerpageTitle').innerHTML = pgTitle.innerHTML;}/*Other*/window.onload = 'writepageTitle';// ^^ not working ^^ //</script></head> <body><div id="uberContainer"><header><table id="table_deleteID" width="100%"><tbody><tr><td><h1>Welcome!</h1></td><td width="50%" align="right"><nav id="mainNav"><a href="">Home</a> | <div id="elementsnavContainer"><a onmouseover="">Show stuff on mouse over!</a><br><div id="elementsnavDropdown">Hey</div></div></nav></td></tr></tbody></table><div id="mydiv2" style="cursor:crosshair"></div><hr class="class1" /></header><div id="mainContainer"><table align="center"><tr><td><form id="form1" onsubmit="return false;" style="border:1; border:#666"><legend><h3>Link Details</h3></legend><div id="formContainer"><table><tr><td><label for="linkText">Link Text</label></td><td><input class="inputRight" id="linkText" autofocus="autofocus" placeholder="Mel Jones Photography Ltd." required size="40" type="text" autocomplete="on" /></td></tr><br /><tr><td><label for="linkURL">Link URL</label></td><td><input type="url" required class="inputRight" id="linkURL" placeholder="http://meljones.info/" autocomplete="on" size="40" /></td></tr><tr><td><label for="uLine">Underline</label></td><td><input id="uLine_yes" type="radio" name="uLine" value="yes" /> Yes <input id="uLine_no" type="radio" name="uLine" value="no" /> No<br /></td></tr><tr><td></td><td><button onclick="editLink();">Amend Link!</button></tr></table></div></form></td><td><table><tr><td><h3>Output: </h3></td><td><p id="outputP"></p></td></tr><tr><td>HTML:</td><td><form id="formHTMLoutput"><textarea onClick="select_content('taHTMLoutput');" value="" id="taHTMLoutput"readonly placeholder="The HTML code for the Link will appear here!"></textarea></form></td></tr></table></td></tr></table></div><footer><hr><table width="100%"><tbody><tr><td align="center" width="33%"><a href="http://www.meljones.info/">Mel Jones Photography Ltd.</a></td><td align="center" width="34%">© Daniel Carl 2011</td><td align="center" width="33%"><p id="footerpageTitle"></p></td></tr></tbody></table></footer></div></body></html>
×
×
  • Create New...