HTML - Same Html Code In All Pages
Hi!
I'm quite new with html... so I hope my question has a simple solution: I have the same html code on all pages... and I would like to put this in an other html file, so that all the pages just refer to that piece of code. Is that possible? I managed to do this with a script and with the stylesheet, but not with html. thanks! Similar TutorialsHello HTML experts, I am new in this forum. I have a problem here please help me. I have a large number of links for navigation menu I don't want to instert these links in every pages again and again. I want to keep these links in one page but I am anable to link this page (HTML Code) in other pages. I am not interested in frames. Is there any other way, if yes then please help me. Rajpal Singh hey guys, new to these forums and a keen learner of html and designing websites. the question i want to ask is, how am i able to get a code from one page to be on others aswell, take a look at this link (CLICK HERE) and look at my html code. is there any way that i can link the page so that it's content automatically appears on all the other pages i want it to. NOTE: this isn't a hyperlink (just incase) thank you Hi, Can any one explain me whether its possible to insert an HTML code for all the pages in a directory with out modifying all the files. eg. Execute external file automatically with all the pages Thanks I am still new to the web page world, but the website I originally created (in japanese) was passed on to a programmer. He did a lot of "upgrades" to the site so he says, but he left. Now I am in charge again of re-modeling the site. The problem is I am trying to figure out why there are so many dead links. I have looked up and down the server, but can't find anything. Ok before I confuse anyone else here is what I am talking about. For example this page that I originally made : Code: http://www.discoveryfirm.com/tokushu/index.html cannot be found but if I take of the end: http://www.discoveryfirm.com/tokushu/ the page is there. Now I am trying to fix a lot of dead links, but I cannot figure out what the programmer did to the site. I am still new to all the high-tech features in the web world. Could somebody please explain. 123 Spam Protector is a software to protect your web pages and prevent others from viewing and reusing your web page source code, including HTML source code, JavaScript, VBScript, text, links and graphics. I am making custom error pages on my site and it works perfectly but on them I have flash games like tic tac toe... but how can I make it randomly switch between that and some other .swf games??? Hi, I have a script that prints a page and that works great. Can anyone tell me if this can be done please: When printing a html page from the internet it puts the: Pages Name Http Link Page Number Date around the edges of the page. Is there away of removing this so it just prints the content nothing else? I've managed to hide certain things using CSS and its "display:none" function so i was wondering if it can be done like this or any other way? Any help would be great Many thanks Joe Hello everyone. I want to be able to remove the '.html' from the address one of my pages so that instead of potential customers having to type 'laurelscamera.com/photography.html' they can just type 'www.laurelscamera.com/photography'. I have seen this done on other websites, but have no idea how to go about it. Any help would be great. Thanks again. Mitch Hi, I am trying to figure out how to remove the .htm or .html from my pages (other than my index). An example would be http://www.herrickphoto.co.uk/adults.html I'd really like this to be www.herrickphoto.co.uk/adults Any suggestions would really be appreciated. I am using dreamweaver to write the pages and for some reason, some of my pages end in .htm and others in .html Not sure if that's a problem? Thanks for your help! Lynn Hi all. I've implemented an Image on my .html page using the following source code: Code: <img src = "www.myURL.com/images/logo.jpg" alt = "my Logo" width = 15% height = 15% > but I get a big X where the image should be. I've also tried just using "/images/logo.jpg" as the src, but that doesnt work either. My pages are all online by the way, and are not stored locally on my Hard Disk. All my pages are in www.myURL.com/pages/ and the images are in www.myURL.com/images/. Any tips? Thanks Hello to all, I have a static HTML site, and want to restrict some pages of the that site such that when user click or browse to the link, eg www.website_name.com/some_page.html , he/she should prompt for username and password. How can I proceed to meet this requirement as the site is in html and there is no programming language used in it. Thanks in advance. i used to use dreamweaver code to embed an swf file using the AC_RunActiveContent.js file along with the html code <script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','550','height','400','title','Video','src','test','quality','h igh','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','test' ); //end AC code </script><noscript><object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="550" height="400" title="Video"> <param name="movie" value="test.swf" /> <param name="quality" value="high" /> <embed src="test.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="550" height="400"></embed> </object></noscript> i have used the swfobject method by following the steps mentioned at http://code.google.com/p/swfobject/wiki/documentation when i use the swfobject method and validate my html code there are no errors however with the dreamweaver code i get errors when validating my html code my question is when i downloaded the zip file from http://code.google.com/p/swfobject/ after unzipping this file there are 2 swfobject.js files one in the root directory after unzipping and another swfobject.js file inside a folder called src i have used swfobject.js file from the root directory when i called this from <script type="text/javascript" src="swfobject.js"></script> and the flash file plays and also the html code validates, is this the right way of using swfobject.js file from root directory or should i be using the one from the src folder also just to test how the alternate content would appear if the flash player plugin is disabled or uninstalled i entered html text as alternate content using swfobject method, what i have noticed is i get the alternate content only if i disable flash player plugin however if i disable javascript in most browsers the swf file plays as the swfobject is calling a javascript i guess the swf file should not play or is this how it normally works if this is the case in the alternate text, i guess i should be mentioning "You have either javascript disabled/turned off or do not have a flash player plugin installed, download the latest flash player" please advice. thanks a lot Ever since frames went out of style, I've wondered how to create a master-style page for a website. For example, a menu. The menu will be the same on every page. Without some way to encapsulate it, we have to duplicate that code on every page we create. Is there any way to put a marker/placeholder of some kind which represents the menu block, without having to put the actual code in each page? Of course you could do this with ASP/ASPX or PHP, but I'm looking for a purely HTML/CSS solution. Can it be done? Suggestions? Hi, How do I prevent framed html pages from coming up in a Google search? I am fairly new to HTML and servers and such. I have a ftp server hosting my website which is very basic, the link is ftp.Marmatote.hostchick.co.uk/public_html/index.html That works, but im uploading another page, links.html and i do not know understand how to link my first index page to my links.html page. Do i have to name it something certain? or do i have to upload it somewhere certain or what? Code: <a href="marmatote.hostchick.co.uk/public_html/Links.html">Links</a> i have no idea. Please help, additional information can be supplied on request. Alright, well I'm new here, and I'm just starting the largest HTML project I've ever done. I'm just trying to create a simple little site with virtual items and stores. Thats all I'm starting with, at the moment. Now, I've set up the pages, and have begun to get images for items, but the largest and most important question for a thing like this has popped out. How would I send one image to another page? Example (not real links): Send image imageshack.us/img453663 from trspriting.forumotion.com/Store-h6.htm to trspriting.forumotion.com/Inventory-h7.htm by clicking the image. I also would want the item to be destroyed after clicking it. 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. I am making my website, and it is going to have a lot of pages. I want a menu on all of them, but I will probably make a lot of changes to the menu. I don't want to go through all of my pages to update my menu. So I want to keep my html menu in a separate file and my pages to insert the menu into the page. So if I want to edit the menu, I only have to change one file. I searched google everywhere but I couldn't find it. Any help would be appreciated. Hello, I hope someone here can help, I am the webmaster for a youth football website. We have about 50+ pages on the site, and they are all referenced from a drop-down menu at the top of each page. The code looks like this HTML Code: <ul class="level-0" id="cssmw"> <li><span><a href="teams.html">Teams</a></span> <ul class="level-1"> <li><span><a href="under8s.html">Under 8's</a></span> <ul class="level-2"> <li><span><a href="under8sbmouth.html">B'mouth League</a> </span></li> </ul> </li> </ul> </ul> However, this coding on my site runs for about 70 lines, and should I wish to change a part of it, I have to edit the code on every page. Is there any way of referencing html code from a document and using it in place of the code on each page? Looking forward to your suggestions, Cheers, Ed Rogers Hi, I'm working on a very small but interesting project...I have 5 html pages that monitor several devices and my goal is to put all 5 pages on one index. Initially, I was thinking about creating an index page with fix tables and have one page.html per table. However, these pages are all running from different servers and they all have different names.html and different ip address. What will be the best way to tackle this? Any help will be greatly appreciated. Is it posible to simple place each page link in a table and have it display the actual page on the index.html or do i need to copy source code for each page and paste into the tables? Or should I us frames? Please help. |