Tag Archives: Absolute Paths

navigation – absolute or relative

Good day all. Currently along the way of building an online site and there exists a section of the pages that happen to be common on most pages. At this point, if I am for the home page of the website the links will probably be something like HTML: < the href=" subfolder/" title=" subfolder" > foo< /a> : < a href=" subfolder2/" title=" subfolder2" > bar< /a> < the href=" etc/" title=" etc" > etc< /a> However from the index. html file from the directory I cannot have same href values given it would look regarding subfolder/subfolder2 and subfolder/etc… Therefore, I just chose to have a distinct navigation. inc file that is inside subfolder, subfolder2, etc. Extravagance (although quite unlikely) on this is if I want to to add your link only for the subfolder2 links I could truthfully without affecting additional pages. However (and dont worry this is my question) – does one approve of a great deal of duplication in this code Or does one rather I experienced one navigation. inc file plus just absolute tracks I ask mainly because I heard there’s a bit of a server hit utilizing absolute paths in lieu of relative. Thanks … Continue reading

Posted in Web Design | Tagged , , , , , , , , , | Leave a comment