HTML - External Files
Could anyone please tell me the code to call an external html file?
I need to refresh my memories! Similar Tutorialsi have been asked to create a website for a friend i have the design up and running but i want to make it easy for him to edit the text is there a way of linking to an external file with the text required for the page that he can edit without the risk of damaging the template to give you an idea i need the text on the book pages on http://www.sabbathkeepers.000a.biz Hi I'm kinda new to all this. I can see this being the first question to a lot of questions and hope you guys can help. Firstly... Can I put a code in my ebay items so that the whole advert document (eg. item1.html) Can be externally loaded in. This way I can change the look of all my adverts by replacing the html files on my server and without having to touch ebay at all. Kind regards John Hello everyone, I am working on a website for a webcomic at the moment and I need the following thing: I will have about 50 HTML pages, each with a different comic page on it. What I need is a drop down form list at the bottom of each page that would show all the other pages and when you would click on one of them, it would take you to said page. But the problem is that as time will go by, more pages will be added, and changing the code of the form on each 50 pages whenever a new one is added seems greatly contraproductive. Is there a way I can code this list separately and insert it somehow in every one of those 50 pages? This way all I would have to do would be editing the separate code and it will update on all the pages. I am quite new to building websites, so please excuse my noobness. Thank you. Hi all, We have a few questions regarding the cashing of an HTML document Scenario : We have an HTML/jsp page with now cache response headers, and this needs a number of JavaScript files and CSS files to achieve the functionality. The following are our questions 1. With no-chache response headers in the base document, whether the included external javascript or css files will be cased in browser? 2. Is there any difference between firefox and IE in this regard? 3. If we decide to gizip the response for improving performance, will it make any difference in browser caching? 4. Is it possible direct the browser not to cache the base document, but cache the the heavy external files which are included? Looking forward for some quick suggestions. Thanks and regards, SAN Hi folks. I suspect this a total noob type question but I can't find anything in DW help or by searching so here goes. I have a page with frames. In one of the frames I want an external URL to be displayed rather than content from the mother site, if that makes any sense. I don't mean asa a link, I mean the actual content to be displayed. How do I do that? Something like... TopFrame = ./top.html LeftFrame = ./left.html BottomFrame = someother.domain/fred.html And they all get shown when the page is loaded. Ta muchly for your help! Simon. Is it possible to log the amount of times an external link has been clicked on your site? I have managed to get an external style sheet to work on 7 of my 8 pages. I cannot figure out why it will not work on the 8th page. The code was copied and then modified to fit the new page so there should be no reason it shouldn't work. http://ironhillsclan.com the forum page (rules.html) is the only on that doesn't work. Any ideas? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Dagorhir | Iron Hills Clan: Forum Rules</title> <link rel="stylesheet" type="text/css" href="style.css"/> <meta name="keywords" content="iron,hills,dagorhir,larp,sword,fighting,clan,ragnarok,battle,forum,rules"/> <meta name="description" content="These are the rules for our fourm, please abide by them for the sake of all."/> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Language" content="EN-GB"> <script type="text/javascript"> function show_confirm() { var r=confirm("By choosing yes you agree that you have read, understand, and will abide by the terms of use."); if (r==true) { location.href = "phpBB3/index.php" } else { location.href = "index.html" } } </script> </head> <body> ... </body> </html> I want to be able to transfer all the code in my menu to an external stylesheet. The menu can be seen at www.brand-newhomes.co.uk/page135.htm Thus far I have: Made a file called "menustyle.css" and uploaded it to the root of my server. I then pasted the link:- <link rel="stylesheet" href="menustyle.css" type="text/css"> into the head code and no menu is displayed. I then cut and pasted the rest into a file and called it " stylesheet.js " and uploaded it to the root in my server. I then linked to this as <link rel="stylesheet" href="stylesheet.js" type="text/javascript"> into the body code. It didnt work. What have I done wrong? I'm new to this forum, a complete newbie, but I was wondering how I can tell my html page to open another html page and read what is in the new page for that specific section. For example: I have google ads on the right side of my website, where I would put the ad, is there a way to link it to another html script without actually putting it in my html page? Kinda like a CSS sheet but the other way around. I don't want to have to go through every page to change the ad code, I just want to change an external sheet where the ad code is. I also want to do this for the body of my website where the content is. Can I link a external sheet that would input content into the body of the website? hi, i'm quite new at the whole html stuff but excited about it. i'm making up a testnewsletter in html, and with the 'read more' function i would like to put up a link to an external anchor on the homepage. This way the reader jumps to the right location on the news menu on my homepage. I tried but it doesn't seem to work: in the html on my homepage i place: <a name="location1"></a> in the html in my newsletter: <a href= http://www.ecopuur.be/index.php?option=com_content&task=view&id=21&Itemid=40/#location1> something must not be quite right. thanks for advice hello, html-ers; I should learn more about css so took a stab at my first tiny external style sheet. It has two problems as mentioned on that sheet. My test page is http://www.sticksite.com/test.html and the stylesheet is at http://www.sticksite.com/mystyle.css Can anyone please tell me why I have those 2 problem? Thank you. Hi, I am having some difficulty with the "datascr" tag for marquee and a few others, including div. Would anyone please upload 2 files the first being html with a maruqee or a div with exertnal data using the datascr="#asdasdf" formatdatas="text" tags. Because I have tried numerous times WITH NO SUCCESS!!!! I tried just about everything and it desen't cath the external file. Thanks in advance. Hi I have a Flash and HTML version of my friends site at www.backlash.net.au On the main page, I have an ABOUT and NEWS section, that gets it's text from external .txt files. Problem is, the text gets formatted without line breaks in the HTML version, but fine in Flash. I was wondering if there is a better way to import the text, whilst only having one external source for each section, and still keeping the process simple (my friend isn't too computer savvy)? I thought of using a php include, and having my friend just enter the text in a simple HTML editor. I can set that up for HTML, but am unsure how to import the PHP page into Flash. Any ideas on the best way to tackle the problem? Thanks for your time and info. Shaun How can get a free program that lets be use movies hosted on other site such as youtube and put them on mine while still hosted at the other site. Its kinda a set-up like on game websites but for videos. like this http://cruiseshipfan.webs.com/apps/videos/ the only ones i have been able to find have to be hosted at the site but i don't want that. I have uploaded a file containing a timesheet for my users to be able to access and print off to fill in their hours. But I dont want anyone else accessing it because the timesheet contains phone/fax numbers, email address's etc. How can I make it so that only redirected traffic will be able to access/see it? e.g www. mywebsite.com /files/ timehseet.htm Access granted? If redirect= 'www. mywebsite.com /forum/index.234234q3434' then YES Else then NO If that makes sense. I am pretty sure I have to add somthing in .htaccess but not sure what. And do I make the htaccess file in the folder of the file in question? e.g www. mywebsite /files/.htaccess ?? I have an html application consisted of a number of html files, js files and css files. Is it possible to have an external property file where I can keep the name of the server so as to use a variable for the urls? For example to have something there like nameOfTheUrl=andreana and in the html file to have something like http://nameOfTheUrl/content/index.html My server has java but it is not a servlet container so I can not use jsp. ive read the tutorials and searched the forums but i still need some help. im trying to read data from a text file here (http://www.ndbc.noaa.gov/data/realtime2/41035.spec) what i cant figure out is how to call each value to its own dynamic text field. YYYY MM DD hh mm H0 SwH SwP WWH WWP SwD WWD STEEPNESS AVP MWD 2006 12 10 00 00 0.3 0.3 6.2 0.1 3.2 ESE SE N/A 6.1 110 2006 12 09 23 00 0.3 0.3 9.1 0.1 3.6 SE SE N/A 6.2 134 2006 12 09 22 00 0.3 0.3 9.1 0.1 3.6 SE ESE N/A 6.2 125 2006 12 09 21 00 0.3 0.3 7.1 0.1 3.4 ESE ESE N/A 5.9 119 i want to read the latest SwH and SwP and SwD readings into a flash movie. how do i call those into the field? I've got lots of external links on one of my pages, I say lots - there's one in a PHP echo that directs someone to a route planner, and this url goes http://routeplanner.rac.co.uk/showmu...it=1&daddress= [First part of address going to postcode] %20 [Second part of address going to postcode] &daddress_limit=1&vaddress1=&vaddress1_limit=1&vaddress2=&vaddress2_limit=1&vaddress3=&vaddress3_lim it=1&vaddress4=&vaddress4_limit=1&vaddress5=&vaddress5_limit=1&rtype=fast&preferences=3&trafficcondi tions=3&nextgengeo=1 This does not validate, and returns me 409 errors ( nice )... ...So how would you a validate the link ? Thanks for any ideas 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...? |