HTML - Html File Structure Link Problem!
Hi
I have this problem that my comment script is located at public_html/comments but the page that needs it is at public_html/hamburgerbar/fish/dish so in the code when i have the php include pointing at /comments, its not working how do i make the browser understand where the comments its? cause i tried with http://www.mysite.com/comments and it says permission denied. However when i move the target page in the comment folder it works like a dream. So how do i point my include link there? Thanks for help! Similar TutorialsHi all, Im trying to link to a section of one page from a different page. Normally it's quite simple but i am using a different linking setup and it's confusing me, i'm afraid. Basically my page setup is I have separate folders for each page, than inside those folders is an index.html page. the page url does not show the .html it only shows the folder name. This is done via my htaccess file (can't remember where i found this solution from). Any way this setup causes problems linking to sections of other pages, has anyone encountered this before, am i missing something simple? Any help is appreciated! Hello, I'm creating a Web Page and need a hyperlink to a batch file on the server. I can get the link to call the batch file, however, I need to pass a parameter to the batch file. Can someone tell me how to do this, or if it is even possible. Thanks. Hello. I am trying to code a "simple" webpage. It will have two drop downs. Each drop down will have a few selections. You, the user, choose two selections from each drop down. The you press submit/go button. if you house apples for dropdown 1 and green for dropdown 2, it would then insert these keywords into a link such as www.test.com/apples11green.html or www.test.com/apples/green.html, etc etc... basically i want to specify to variable spots in a link, and have the drop down selections place into those links. Its been many years since I did any HTML programming so I know next to nothing. I want to create a very simple local site that will show a layered bill of materials based on files and folders that were already created. I have a large number of folders and files in Windows Explorer. These files and folders make up an assembly's BOM and is structured in WinExp where the top folder is the very top level assembly (ASY1). Inside this folder are the next level of subassemblies (SUBASY1, SUBASY2, SUBASY3, etc.) Inside SUBASY1 there will be a list of parts or more subassemblies (PART1, PART2, PART3, etc...) Since these already exist is there a way using html code to show them in a web page in this nested/layered format, where if I click on a SUBASY it will bring up its contents on the page. etc...) Which I guess is almost like windows explorer itself but as a web page. Thanks Patrick So basically I have a page with the following structure (using "HTML5" elements). What I need is clarification on if this is acceptable usage of elements. If not guidance in the right direction. Thanks much. Code: <!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <title>..........................</title> <link href="lbcstyle.css" rel="stylesheet" type="text/css"> <link href='http://fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css'> <link href='http://fonts.googleapis.com/css?family=Kristi' rel='stylesheet' type='text/css'> <?php include "kd_obj/lbcfunc.php";?> <!--[if lte IE 8]> <script type="text/javascript"> // HTML 5 entities for IE. document.createElement("article"); document.createElement("footer"); document.createElement("header"); document.createElement("section"); document.createElement("nav"); document.createElement("aside"); </script> <![endif]--> </head> <body> <section class=layout> <header><h1 id=pgtitle>Lorem Ipsum Dollar</h1><p id=pgsubtitle>Lorem Ipsum Dollar</p></header> <hr> <nav> <?php lbc_nav(); ?> </nav> <aside class=bible> <p class=scripture> <?php lbc_scripture(); ?> </p> </aside> <article> <h1>Lorem ipsum dolor</h1> Lorem ipsum dolor sit amet, consectetur adipiscing elit. </article> <article> <h1>Lorem ipsum dolor</h1> Lorem ipsum dolor sit amet, consectetur adipiscing elit. </article> <article> <h1>Lorem ipsum dolor</h1> Lorem ipsum dolor sit amet, consectetur adipiscing elit. </article> <footer> <p>This website makes extensive use of new web based technologies and coding. <br>We recomend that you make sure you are running the <a href=#>latest version</a> of your current web browser. </p> <p id=copyright> © 2011 Lorem ipsum dolor || liamhockley@hotmail.com </p> </footer> </section> </body> </html> I need help with HTML problem that i am having. I am using Dreamweaver to design a web site. I have created a music link <a href="Reciters/Mishary-Rashid-Alafasy/001-Fatihah.mp3">Al-Fatiha</a> In Browser when I click this link it opens window Media player and starts to play the mp3 file but my main web page is replaced with blank page and i can not understand why the main page is replaced with blank page. Your help in this is very much appreciated. Thanks Hi Html Gurus, Please help me out the with structure shown in the file I have attached. Thats the site map of my website and I want to display it on a jsp page. Can someone please suggest me the code to get that structure. Thanks in advance. I'm not too skilled in web design, but I've picked up HTML over the years, mainly just using tables. Well, my problem is that I have to put a site together for my work, so I drew up a design in Photoshop, and broke it up into tables in dreamweaver. Everything looks fine in Dreamweaver, so I upload everything, and it looks great on my Mac. Now when I switch over to a windows PC and look at it online, it gets all screwed up. The graphics on the tables are out of whack and it just looks messed up. And on top of that, the banner does not show up, I think it has something to do with a <div> tag I used to make a drop down menu below it. Any help would be greatly appreciated. Thanks. Hi All, I am currently facing a problem with html to mht file conversion. My html file is present in a folder with folder structure like "E:\UsersReport". Inside this folder there is another folder named "Image". This folder contains JPEG images. The html file contains href relative links to the images in this "Image" folder. The relative links are given as href = ".\Image\A.jpg". In the converted html files, the relative links is not working. For accesing the images we need to give the full image path in mht files. Is there any method to give relative links in mht files??? Please help. hi everybody, I am working in a html. I defined a functiion in a html file.(first.html) I want to call that function in another html file.(second.html) How can i call that function in second.html file? give some sample code Thanks in advance.... I have several links on my site, all in the form of <a href="http://www.mywebsite.com">mywebsite</a> How do I need to change it such that a new instance of the browser is used in which the linked site is displayed. Is there a way to have one document link the coding from another htm file? What I mean is that for my website, I want there to be a logo or menu at the top of every page. So I want to know if there's a way to put it in without putting in the code of it at the top of every document and instead, just linking it to an html file that already has the code. Hi, I'm trying to include one HTML file in another. I tried iframe and was displeased with the results, I want the size of the frame to change dynamically and not just scroll. Fair warning, my knowledge of JavaScript is non-existent >_> . Basically, I have a document written in HTML (please don't suggest a wholesale re-write, that's simply not practical) and the idea is to have one file where it makes sense to include it several times. One thing to mention, this document is not meant to be shown on a web-server, but in a browser while you're reading it off your hard-drive. Here's what I have so far. main.shtml Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>test</title> </head> <body> <center> <h1> This is only a test! </h1> </center> <p> Still testing!!!!! </p> <!-- #include file="included.html" --> <p> Even more testing!!!!! </p> </body> </html> included.html Code: <!--<html> <head> <title> asdfasdfasdfasd </title> </head> <body>--> <p> <h4> foobar </h4> <br> <br> <br> <br> <h4> boofar </h4> </p> <!--</body> </html>--> Not sure what I'm doing wrong, help appreciated! Hello friends, I work for a company that sends out a monthly newsletter by email. We are trying to motivate people to print out the file to have it instead of just looking at it once in their inbox and forgetting it. So what we were thinking is we could make a file with "Print Newsletter for Pricing" in the price slots, then have another file with all the pricing that when they clicked a (presumably HTML) link like "Print File Here" it would then call up the PDF File with all the prices and print it. Is this possible? Amen, Christapher I have a webpage that appears to work with IE6 but not IE7, Firefox 3 or Chrome. I have this tag (among others) embedded in the HTML page: <a href="file:%5C%5Cmspfs01%5Cshared.gsc%5CHR%20GSC%5CSea%5Cindex.html" target="_blank">Internal Documentation</a> When clicked, the following edit is given: Cannot find 'file://mspfs01/shared.gsc/hrpage/hrgsc/%5C%5Cmspfs01%5Cshared.gsc%5CHR%20GSC%5CSea%5Cindex.html'. Make sure the path or Internet address is correct. It appears that the browser is appending the path to the file in the tag to current location path. The path in the tag is the absolute path to the index.html file on that box. And like I said, it does work with IE6. Thank you. Kevin Hi, I make a HTML navigation menu to link to different sheets (word, exel..) on my PC: I make the link as follows: <A HREF="file:///C:\file.xls">click here</A> or <A HREF="C:\file.xls">click here</A> but the destination files are opened IN the browser instead of the program (like Exel or Word).. How can I solve this? thanks! Bart My client wants a client login button on his website that will open up a piece of software on his and his employee's PC's (Microsoft terminal services client). Simply linking to C:\WINDOWS\system32\mstsc.exe doesn't seem to work. I'm guessing it's due to safety on the browsers behalf. Does anyone know how to make this work? Thanks. PS - I'm on a Mac, but my employer is on PC and it doesn't work for him either. Hi all, I need to have a link on my web page which allows the user to download a file on the c: drive of my web server. Basically when they click the link they will be prompted to download this file. Any ideas on how this can be done? I tried the following on FF but it does not work... <a href="file:///C:/testUpload/CA_P1470H_2008-1209-143322.xls">major_bob_12-09.xls</a> Thanks in advance for any help. I need to create a link on my company's website. Once the users click the link, it should download an excel file. the file is dynamic and it should change according to the person that logs in.. I am new to html. can you guys provide me ideas to do this... Thanks Ragha |