HTML - Save Space
I want to save some space by avoiding rewriting some code that connects to server and database etc. Is there a way to do this in html? I know you can do somethihng similar in java (methods at end of program or seperate from program with new 'public stat...').
Similar Tutorialsi almost went crazy trying to troubleshoot this one... thought i'd share. HTML Code: <style type=text/css> a:link {font-family:Arial, Helvetica, sans-serif; font-size:12px;} </style> <table width="200" border="0" cellspacing="0" cellpadding="0"><tr> <td width="100" valign="top"> <a href="link">Sample text </a> <td width="100" valign="top"> <a href="link">Sample text</a> </td></tr></table> Turns out a "space" at the end of the link text pushes the text upwards slightly. Simply remove the space (or add on to the other line) or use the space code [ ] The css also plays a part, this doesn't appear happen when text is "unformatted" hello i have created a text box eg First Name [ Ash ] and inside u type your name if i close that page and then re open it the box is clear but if i type in the letter A ash will come up and i dont want that how would i remove that? so that it dosnt save my last input Ty all help links, codes will be greatly appreciated hey! i want to make a save button that will save whatever i typed in a box, and refreshes the page. (file:///codes.html) example: ------------ (typing box) blablablablablablalolblabla (End of typing box) (button, save) button clicked... blablablablablablalolblabla ------------ (typing box) blablablablablablalolblabla (End of typing box) (button, save). If possible, i dont want the text to dissapear when the page is refreshed. hello all I have a text area, and I need a button near it which when clicked it will save the content of the text area into a file. any help? thanks Hi all, I have a page that has a lot of links that bring up a PDF form file in its own window. No problem opening the link and getting the PDF but when a user selects "save link as" it only gives them the option of HTML not PDF. Even more interesting the HTML option just refreshes the page. Any ideas? Thanks. Sticks101 I want to save the content of a textbox in a div on button press. PHP is a possibility but I don't want to get into databases. How would this be done, Hello i have one problem. I need to make HTML page. <html><head><title>World 2 by GIZMO</title></head> <body bgcolor="black"><div align="center"><br/></div>''<div align="center"> <iframe src="http://ul8.runescape.com/l1,p0,j1" name="mainframe" width="800" height="550" scrolling="auto"></iframe> </div>"</body> </html> So i need to make it work like this - when someone types something in this page - my serv saves typed text and stores it in .txt file or something Hi ya, is there any program that will download a .asp web site convert it to .html and relink? i can't find anything... currently i'm saving each .asp as html in IE as complete web page, i don't mind doing this but how can i automatically change all the links to point to local copy instead of www? and change all folders containing images to only one folder with images? p.s. i can't install IIS (can't find disk) so i can't open .asp files on my home computer XP Pro.. thanks.. Hi Ive got a page with the code below. The link to the mp3 (stored locally) does not work when I click on it, but i can save it if I right click. The file exists and the path is correct. Also it does not work in IE but does in Firefox. What's going on? Any help appreciated. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE>mp3 [23 March 2007]</TITLE> <META http-equiv=Content-Type content="text/html; charset=windows-1252"> <LINK href="followlink_files/styles.htm" type=text/css rel=stylesheet> <META content="MSHTML 6.00.5730.11" name=GENERATOR> </HEAD> <BODY id=oBody bgColor="#ffffff" leftMargin=6 topMargin=2 rightMargin=6> <SPAN class=DocumentTitle>mp3<BR>[23 March 2007] </SPAN> <HR> <DIV id=oPage style="DISPLAY: block" pageId="1"> <TR> <TD> <TABLE class=profile width="100%"> <TBODY vAlign=top align=left> <TR> <TD width="100%" colSpan=2> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD width="100%"> <SPAN class=ProfileTitle>Know How Document</SPAN> </TD> <TD noWrap align=right> <BR> </TD> </TR> </TBODY> </TABLE> </TD> </TR> <TR> <TD class=ProfileLabel noWrap align=right width=120>Title :</TD> <TD class=ProfileText align=left width="100%">all saints</TD> </TR> <TR> <TD class=ProfileLabel noWrap align=right width=120>Notes :</TD> <TD class=ProfileText align=left width="100%"><A href="file:///c:/1.mp3">mp3</A></TD> </TR> <TR> <TD class=ProfileLabel noWrap align=right width=120>Document Date :</TD> <TD class=ProfileText align=left width="100%">23 March 2007</TD> </TR> <TR> <TD class=ProfileLabel noWrap align=right width=120>Profile Created :</TD> <TD class=ProfileText align=left width="100%">23 March 2007</TD> </TR> </TBODY> </TABLE> <HR> </TD> </TR> </DIV> <DIV id=oPage style="DISPLAY: none" pageId="2"></DIV> <DIV id=oPage style="DISPLAY: none" pageId="3"></DIV> <SCRIPT>startPage=1;</SCRIPT> </BODY> </HTML> hi peeps. i have a page where there is a selection box and the different choices give a different background in a certain div. please could somebody tell me how i would store that info in a cookie so that when the page changes, the background image stays the same? heres the link to my site if it helps: samsharples.com and here's the code HTML Code: <form action=""> <select onchange="changeDivImage(this.value)"> <option>Choose your favourite team</option> <option value="arsenal.png">Arsenal</option> <option value="aston_villa.png">Aston Villa</option> <option value="birmingham_city.png">Birmingham City</option> <option value="blackburn_rovers.png">Blackburn Rovers</option> <option value="bolton_wanderers.png">Bolton Wanderers</option> <option value="burnley.png">Burnley</option> <option value="chelsea.png">Chelsea</option> <option value="everton.png">Everton</option> <option value="fulham.png">Fulham</option> <option value="hull.png">Hull City</option> <option value="liverpool.png">Liverpool</option> <option value="manchester_city.png">Manchester City</option> <option value="manchester_united.png">Manchester United</option> <option value="portsmouth.png">Portsmouth</option> <option value="stoke_city.png">Stoke City</option> <option value="sunderland.png">Sunderland</option> <option value="tottenham_hotspur.png">Tottenham Hotspur</option> <option value="west_ham.png">West Ham</option> <option value="wigan_athletic.png">Wigan Athletic</option> <option value="wolverhampton_wanderers.png">Wolverhampton Wanderers</option> </select> </form> Code: function changeDivImage(url) { document.getElementById("third_col").style.backgroundImage = "url('images/" + url + "')"; } thank you in advance Hi everyone, I need to know whether we can select a file using save button?? and also i need to scrape the details in the file to a variable.. IS this possible... Plz help me.. really I'm stuck in this.... Hi Q1 - I have a form in html that I would like to be able to save as a word doc once the user has completed. I can transfer the results by email but would also like to leave a hard copy. Q2 - Is this possible to do client side rather than server side just in case the user is offline? I haven't been able to google the answer so I must be searching for the wrong thing! Any suggestions?? Hey, I have a few questions.. It might take php, Im not sure. What I am wanting to do is kinda like make 1 page where some one can type in one box then it displays above. View image, It shows what i mean. Ruff example... could any one put this together.. i have tried and tried I get nothing that saves or nothing.. http://i36.tinypic.com/2r7aqo5.png Hi guys i just joined and hope to learn a lot from this forum! Ok, My question is if there is a HTML code to save an image as a different image. To help explain better I want to embed an original artwork image on my myspace page. I have seen other artist do this same thing where they have embedded and image onto their page and if someone uses the Right click>Save image as... to try to save that image they get a whole different image than the one they wanted to save. For example: Say you wanted to save this image and after you use the Right click> save image as... and open up the file you just saved You get this Scripts don't work with myspace so i would like to know if there is a HTML code that does this. Thanks for your time <<<Edit>>> Ok heres a better example this users profile has an image of his alias i guess in his "About Me" Section and when you try to save the image you get a 1pixel gif Heres the users page (Google cache) http://64.233.167.104/search?q=cache...lnk&cd=1&gl=us The actual image URL is : http://img71.imageshack.us/img71/880/101copyzd9.png and the 1pixel gif's URL is : http://x.myspace.com/images/clear.gif I would like to know whats the html code for this because when you try to save the imageshack image you end up downloading the 1pixel gif instead Thanks for your time Good afternoon, I have a program that I am writing in HTML and Javascript. Here is what I want to do. I have a menu that goes to multiple pages. When I get to a certain page, I want a variable set that when I return to the menu, I can use that variable to display a check mark. I need to keep the functionality simple, so I can't use ASP or write to cookies. I have two ideas on what to do, but none of them worked. 1) To use a .js file. I can get the .js file to hold the variable on just the page that called it, but when I go to another page and access the .js file, I lose the variable. 2) To use frames, where I pass the variable dynamically to one frame and so I can access it later. I don't know what to do. I've tried using a combo of the above ideas, but nothing has worked. Any help would be greatly appreciated. Thanks. Hi This is my first post. I have created a html page using vbscript. It is basically a timesheet to capture start and stop time of activities throughout a day. I have included drop-down boxes to select the activities and a command button which is used to enter time on clicking it. The file resides on an users machine and after it is opened the user can select the activity and enter the start and stop time. I just need a way to save this resulting HTML page onto some location. Note: The user has no access to applications like Word, Excel, Outlook etc. Thanks Pani Hi, i am studying in 10th grade in India. My computer science teacher has asked me and my classmates to design a website in html using forms and CSS. I have created one with help of frontpage 2003. It contains a user registeration form. I just want to give my teacher a surprise by saving the data entered in forms to a file on the computer. Please give the codings to do so. Also, when the user enters the username and pasword, he should be welcomed by his name. I have attached my file. Please help me. The objective: textarea box where a user can enter several numbers in a list, and have them all passed to another page in any format. example: ---------------- 344 244 777 ---------------- | submit| And then you get ANY representation of a multi-lined textarea in ANY format, instead of just the first line. Again ANY format of assigning ALL the data in a textarea to the variable name defined in the textarea. these would work, but I'm not picky: 344,244,777 or 344 244 777 or 344 244 777 Ive read 6 pages deep into google for most concievable search terms and nothing works, the ******* only passes the first (344). Textarea just will not pass more than only the first line entered into the multi-lined box. the php page code: <? passthru("echo $_POST[batch_reset_exten]"); ?> <form method="post" action="/vp3/voicemail_reset_batch.php" > <input type="submit" value="reset voicemail" > <textarea type="text" name="batch_reset_exten" cols="40" rows="10" ></textarea> </form> any ideas? Dear All, While browsing I encountered with some of html pages which are not saved on PC, How its happening, any example is appreciable... Thanks all ... I'm developing a small client / server application in HTML. It has a webserver which is hosting a page (login.html) the pages takes in login and password and lets you login into a console. The client just need a network access to reach the webserver. However, for audits / database i want to save the text entered into the username/password field into a file on my server machine. What i need to do? Is there a client side script that i need to write to do this or i could do it with HTML alone. Thank you |