HTML - Loading Text File?
Hello!
Is there a way to load a certain text/HTML file to a certain place in the HTML? I have a "linkbar" at the top of my page. Because i have bunch of "sub-pages" i would like to load that file with links to that position (linkbar), cause the links might change through time and i would have to update all HTMLs. Is that possible withouth frames in HTML? Thank you! Similar TutorialsIs there an HTML tag that loads a text file right into HTML? Or, so to speak, if i had a text file with HTML written in it, how could i get this into a page, without using any server scripting. Possible? thanks a ton ~DeathBlade Hi there, I've got an example xml page that I'm trying to separate into tidier pices (eg separate files for stylesheets, xsl, xml etc). However I don't know how to separate the xml file? Normally in html it's just something like with stylesheets/javascript etc: <script>script here</script> turns into <script src="external.js"></script> But that doesn't work with xml it appears, so can anyone tell me how I can remove the bit in <xml> ... </xml> to an external file and get it loading from that external file...? Hello, I am currently working on a small library of school videos utilizing the DivX codec (which, by the way is quite something). Each video is centered on it's own page using a table. Rather than creating 25 different HTML documents, I would like to have one that can switch between tables on a click. If you are unsure of what I am suggesting, I found that Apple has implemented just what I want... http://www.apple.com/iphone/ipod/ ... if you click the music tab, it loads a .mov; likewise with the video tab. (without loading an entirely new page) I would like to do this very thing with my table. Can anyone suggest how I can do this? I would appreciate any advice. Thank you, JRosselet Hi all, I have a .CGI web page written in PERL language. The CGI script loads the information from a database. So when i start the CGI page in my browser and it will only have a value in the whole page. As in when the whole page started in the browser will have only a few characters. Let say it retrieve Temperature recorded and which is stored in the database. So the whole page when loaded will only show 1 temperature. Which is "36.6" and will change when ever the database receive a newer data. In additional, i have a html page. There are tables in the page whereby show information. Like tables having temperature, id, sound and light columns. My Question is that Am i able to load the numbers/characters show on the CGI page directly into the table or any where in the HTML page? What i can think of is putting up a link to the CGI page on the HTML file and click it when i want to view it.But it would just be too troublesome. Lastly, thank you all for your time in reading and please pardon me for my bad English and weak HTML skills as I'm still learning. Thanks & best regards Joseph Hey all. I'm attempting to build a website, that when you click a button on the page it links you to a random website; that is sourced from a text document. In short, is this possible. At the moment the only way I can see doing this is: Code: Lucky[0] = "http://www.the-penthouse.com.au/"; Lucky[1] = "http://first.com.au/"; Lucky[2] = "http:/second.com.au"; Lucky[3] = "http://third.com.au/"; However it wouldn't be suitable because I have over 300 sites. Any help would be awesome! I have several websites that I maintain and update. A lot of them are just textual changes and I would think my customers can do these themselves by editing a simple .txt file. I was hoping my choices are avalable so that I can just insert this tag into my web pages and then give them login info to their edit page or show them how to upload the .txt file. I hope this is an easy one with several answers. Is it possible these tags could discipline your rankings in the search engines? Thanks, Jason How do I Link text in a div, h1, h2, p to an external text file or xml file - I don't really know how to ask the question. I think I need an xml file that can be easily edited by a user saved to the server to update an xhtml page text without the user getting bogged down in html. I don't want to use joomla or cms. <Any ideas />? Best wishes, mas Hi, I want to load a window with loading image on a button click. The new window is having an other content so before loading the actual content i want to disapear the loading image from the new window. I tried with html like <html> <img src=".." /> --------------------- Actual content " display:none " ----------------------- <script> actual contentid.display:block; img.display:none; </script> </html> But in this method am seing the image after some time lanching the window. i want to c the image right after launcing the window till my actual content loads. can anybody suggest something for this,..... 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. http://www.heresmary.com I just finished uploading my site, and I noticed that when I click on a link the page loads then loads again a split second after. Does this happen to anyone else? If so can anyone give me any advice about it? How can I use HTML to read text from a text file and put it into a cell in a table? I want to have one main site that can have different content loaded into it. would I be better off using frames? Sorry if this is confusing. Hi friends , I want to upload the contains of the text file on jsp or html page . I can able to do it on desktop application using File handling function in java but not getting how to do it to upload the contains of text file on html page . And the contains of the text file is getting updated at every hour which also need to be reflected on the page . I want that all the contains get visibled on html page as it is in text file , without changing format Thanks HTML to look at text or xml file - is there a way of creating a HTML tag or Div to look at another text file that can be easily edited as the source to the content. Basically a paragraph that can be easily edited by someone who doesn't understand html that affects paragraphs in divs on a web page. - could someone point me in the right direction - I can't seem to get my head around what I need being only a tuesday and not getting stuck into the week. Thanks in advance... Hi, I've never really done much with HTML so i was wondering how clever it really is. I have a form on a page where you can type into an input text box and hit submit but then i want the text you input to overwrite the content of a .txt file which is already there. Is that possible? and how? regards Greg Hello all, I am very new to HTML and PHP coding so could you please bear with me. All I am trying to do is write a string to a text file, and I have tried many examples. Alot of them seem to be similar to this code and it doesn't seem to want to work... Code: <HTML> <HEAD> <SCRIPT language="JavaScript"> function WriteFile() { var fso = new ActiveXObject("Scripting.FileSystemObject"); var fh = fso.CreateTextFile("c:\\MyFile.txt", true); fh.WriteLine("Some text goes here..."); fh.Close(); } </SCRIPT> </HEAD> <BODY> <P> <SCRIPT language="JavaScript"> WriteFile(); </SCRIPT> </P> </BODY> </HTML> What I do is I put this code in Notepad, save it has hello.html and I then open it in firefox. I then check the file and its still empty, then I open in it Internet Explorer and the same thing happens. Any help appreciated. I have a website that needs to display a meeting day and location for a group meeting. The area this is displayed (and the format) is the same for each page of the site. Typing this into the code for each page whenever a location changes is a pain in the ass and I would like to just edit a text(or other simple format file) to have it call and display the text on all pages. I don't want to call up a whole page in a frame though. That looks terrible and the site is nice and sleek Thanks for the help! Hello Basically what I need here is when someone donates to me, they get what I call a "Donor Key" this needs to be different for each person. This need to be added to this file: Clicky! It needs to be in ini format so: [*key here*] banned=no Is it possible that a key is randomly generated and added to that file? Hey everyone i'm new here..great forum.. I really need your help, i've literally been trying all day to save the form information entered on my site to a text file of xml or any type of document but i have not gotten through at all.. I'm creating a site that provide a service to the users, i would like them to leave information so that i can contact them, such as name number location.. I created the forms but cant get the text they type into the forum to save..after doing some reading, i learn that i need to use a script like php to write the form info to the text file.. Can someone please please please help me..im so tried..lol.. Any help would be greatly appreciated.. hi, I had created a form using html.Can i collect all the data tht key in by the user at the form to .txt file? can ths be done by php or html? Can u please guide me step-by-step? Thanks in advance. Looking for a form / script to place on an HTML page that will accept not only a number of fields (name, email, etc) but a file (MS Word, TXT, or PDF) as well. Contents can either be stored in a SQL database, saved on server, or emailed to an account. Any help is appreciated. |