HTML - Using A Html File Inside A Site
I have a site with a nav bar.
http://www.groundzerostudios.co.nr/ It is a lot of work to go to each individual site to update the nav bar. I was wondering if i could save the nav bar to a seperate file and open it in each site. That way if i update the nav bar once, the sites will all call on the new nav bar. Here is the nav bar code ?////////////// HTML Code: <p> <fieldset> <legend> <b>Links:</b> </legend> <table border="0"> <tr> <td><FORM name="homeform"> <SELECT name="gamelinks" onChange="window.location=document.homeform.homelinks.options[document.homeform.homelinks.selectedIndex].value"> <OPTION SELECTED value="H:\Wamboldt's Folder\webdesign.html">--Main-- <OPTION value="H:\Wamboldt's Folder\index.html">Home </SELECT> </FORM></td> <td><FORM name="gameform"> <SELECT name="gamelinks" onChange="window.location=document.gameform.gamelinks.options[document.gameform.gamelinks.selectedIndex].value"> <OPTION SELECTED value="H:\Wamboldt's Folder\webdesign.html">--Game Design-- <OPTION value="http://groundzerogames.110mb.com/gamehome.htm">Home <OPTION value="http://groundzerogames.110mb.com/games.htm">Games <OPTION value="http://groundzerogames.110mb.com/wip.htm">W.I.Ps <OPTION value="http://groundzerogames.110mb.com/service.htm">Services </SELECT> </FORM></td> <td><FORM name="webform"> <SELECT name="weblinks" onChange="window.location=document.webform.weblinks.options[document.webform.weblinks.selectedIndex].value"> <OPTION SELECTED value="http://groundzerogames.110mb.com">--Web Design-- <OPTION value="http://groundzerogames.110mb.com/gamehome.htm">Home <OPTION value="http://groundzerogames.110mb.com/games.htm">Portfolio <OPTION value="http://groundzerogames.110mb.com/wip.htm">Help <OPTION value="http://groundzerogames.110mb.com/service.htm">Services </SELECT> </FORM></td> <td><FORM name="helpform"> <SELECT name="helplinks" onChange="window.location=document.helpform.helplinks.options[document.helpform.helplinks.selectedIndex].value"> <OPTION SELECTED value="http://groundzerogames.110mb.com">--Courses-- <OPTION value="http://groundzerogames.110mb.com/gamehome.htm">Home <OPTION value="http://groundzerogames.110mb.com/games.htm">Game Design <OPTION value="http://groundzerogames.110mb.com/wip.htm">Web Design </SELECT> </FORM></td> <td><FORM name="tutform"> <SELECT name="tutlinks" onChange="window.location=document.tutform.tutlinks.options[document.tutform.tutlinks.selectedIndex].value"> <OPTION SELECTED value="http://groundzerogames.110mb.com">--Assistance-- <OPTION value="http://groundzerogames.110mb.com/gamehome.htm">Tutorials <OPTION value="http://groundzerogames.110mb.com/games.htm">Help <OPTION value="http://groundzerogames.110mb.com/service.htm">Request </SELECT> </FORM></td> <td><FORM name="contform"> <SELECT name="contlinks" onChange="window.location=document.contform.contlinks.options[document.contform.contlinks.selectedIndex].value"> <OPTION SELECTED value="http://groundzerogames.110mb.com">--Contact Us-- <OPTION value="http://groundzerogames.110mb.com/gamehome.htm">Email <OPTION value="http://groundzerogames.110mb.com/games.htm">Telephone <OPTION value="http://groundzerogames.110mb.com/service.htm">Mail </SELECT> </FORM></td> <td><FORM name="newsform"> <SELECT name="newslinks" onChange="window.location=document.newsform.newslinks.options[document.newsform.newslinks.selectedIndex].value"> <OPTION SELECTED value="http://groundzerogames.110mb.com">--News-- <OPTION value="http://groundzerogames.110mb.com/gamehome.htm">Recent <OPTION value="http://groundzerogames.110mb.com/games.htm">Archives <OPTION value="http://groundzerogames.110mb.com/service.htm">Submit </SELECT> </FORM></td> </tr> </table> </fieldset> </p> ?//////////// Similar TutorialsIf you want to include a template file how do you do that inside a html page? I want to include a footer.dwt file inside my html file...... I want to implement the footer.dwt file for all the pages of website....so i just want to call the footer.dwt file below my html page...... Help? Hi All, Please Heeeeeeeeeeeeeeeeeeeeeeeeeeeellllllppp!!!!! Thanks in advanced!!! Have a few mistakes and / or something is missing below: Code: <html> <head>PLEASE FIND THE MISTAKE(S) or SOMETHING MISSING /</head> <script type="text/javascript"> window.onload=function() { document.getElementById('exampleletterList').onchange=function() { window.location=('http://www.example.org/'+this.value+''); } } </script> <body> <select id="exampleletterList"> <a target=\"_blank\" href=\"file.doc\" title=\"\">John Doe<br> XXXXXXXXXXX</br></a>. <option value=""><b> PLEASE SELECT THE FOLLOWING: <b/> </option><!--this option takes you to --> <body mar="0" marginheight="0" bgcolor="rgb(38,38,38)"> "BACKGROUND BLUE GREEN MARMOL " <embed width="100%" height="100%" name="plugin" src="http://www.example.pdf" type="application/pdf"> <br> <CENTER> <option value=index.htm>Option #1</option><!--this option takes you to --> <option value="example7">Option #2</option><!--this option takes you to --> <option value="example3">Option #3 </option><!--this option takes you to --> <option value="example4"><br>Option #4</br></option><!--this option takes you to --> <option value="example5">Option #5</option><!--this option takes you to --> <option value="example2">Option #6</option><!--this option takes you to --> <option value="blog/wp-login.php"><!--this option takes you to blog--> </select> </CENTER> </br> </body> <html xmlns:v="urn:schemas-microsoft-com:vml" xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz </body> </head> </html> Hi, How can I link to a directory inside my website so it shows inside my page instead of alike you just link to the directory. So like the directory to my files is httlp:/mysite.com/download/. I can link to it directly just like that but I want it to show inside my website. How can I do that? Thanks. I am wondering if it is possible to create an INDEX.HTML to redirect to another website? I would like it to display the redirected site, but if possible keep to the original address.. e.g. A site named www.mysite.com, with an INDEX.HTML to redirect to www.othersite.com, which displays OTHERSITE with www.mysite.com in the address bar. Hope I explained ok, any responce would be much appricated! Thanks! Hello, I have used html codes before but I am still quite new to it, this is quite difficuilt to explain so I will try my best, if you don't understand please ask. I am making a website with videos on, I can put the videos on the site but i would like to know how I can make a box which displays an image of the video and a discription next to it explaining what it is about. I would like there to be a button either side of the box so it you click the left/right button it takes you to the next minipage withought leaving the webpage you are on. I have seen it done before in html. Would anyone know how I could achieve this? Thanks Coolcam262 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.... hello i have a page 'gallery.html' that i want to show up when the URL www.site.com/gallery is requested. how do i achieve this? thanks in advance rlbw Hello Everyone, Please help in build the code for the site , the layout should be as the below layout , I need to submit this by today EOD. Image Link1: http://8648180184665331224-a-1802744...attredirects=0 Image Link 2: http://8648180184665331224-a-1802744...attredirects=0 Please mail me the code ASAP. Thanks and Regards, ceenuu2002@gmail.com Now I'm very very new to this, so pleaseee dont flame. Now my friend got a .flv file, by using the firefox addon to extract video files from like youtube or sumthing. Now I want to make it so that when people visit my website, they will be able to see our videos. Now is all we need the .flv file? bcuz I think we might need something thats called a .swf file, and I dont know how to get it, and where to put it. please help I would like to allow people to download a file from my site by clicking a button. I can display the button and direct it to the file but I don't know how to start the download process. I won't have multiple files, just 1 file. I was looking for a command but came up empty. Hello, I have a movie file (mov1.mpg) that I want to put onto my site, but unfortunatly it is not working. Here is the code I have: <code><object data="mov1.mpg" type="application/x-shockwave-flash" width="425" height="355"><param name="movie" value="mov1.mpg" /></object></code> Also - it needs to be XHTML Transitional! I've been looking this up for a while now, and it seems like the code that is valid does not work, and the code that works, is not valid. Thanks for your help in advance!! Hi. My latest project is a website that I plan to update via a vBulletin "back end" I wanted to do this via RSS feeds from the forums. What I am trying to do is have it so I can put ONLY the data from a single forum post inside a HTML page, that will then update as I update the forum post. I have started reading up a little and found that vBulletin offers the following methods: -XML -RSS -RSS1 -RSS2 All of them methods appear to pull data that I do not need/want (posted by, date, time, link to the post). I literally JUST want the data from inside the post to be inserted in to the HTML page. Besides that, I am unsure of how to add the actual data to the web page. Looking for a simple (if possible) guide on how to do this. I will be formatting the data via. .CSS Could anyone point me in the right direction? thx. How can I use Latex inside html? Can I use latex style or class files as well? Thanks. Hi everyone. I just found this site. I'm a newbie, still stuck in HTML 4. I have an immediate need to add a powerpoint presentation file to my site so students can download it into their computers. Have tried putting file into root directory, then making tag: <a href="ftp://www.themcmullens.com/test.ppt">Download test</a> Doesn't work. Anyone have any ideas? I use XSLT to create a html document, and I'm not THAT familiar with html I want to divide my html page in 2 frames via a frameset. For many reasons I only want ONE html document at the end. I want to create totally new html code in the source URL of a frame, this may sound funny, so here is an example: This is how it normaly looks if I'm correct: HTML Code: <frameset cols="400,*" frameborder="yes" border="5"> <frame name = "leftF" src = "2.html"> <frame name = "rightF" src = "3.html"> </frameset> This is something like I want it to be(because I only want 1 html document): HTML Code: <frameset cols="400,*" frameborder="yes" border=5> <frame name = "leftF" src = "<html><body>This is the 1st frame</body></html>"> <frame name = "rightF" src = "<html><body>This is the 2nd frame</body></html>l"> </frameset> I've tried the above without any success. Does anyone know how to do this, or does anyone have an other suggestion (I don't HAVE to use a frameset, but I don't know any other possibility ). Thank you. Dear experts, I'm trying to send out a EDM. After creating the html mail, I realised that after attaching it to signature of my Outlook Express, my picture inside the html codes doesn't not appear. What should I do in order for the picture to appear ? Hope to hear some advice. Thanks. I am having problems with putting HTML code into an RSS 2.0 description tag. If I escape the HTML using <![CDATA[, the HTML shows up fine when the feed is viewed with Firefox 2.0, IE7, and various feed readers. The problem occurs when browsers like IE6 and Netscape view the .xml feed, as these do not support native RSS. To allow the latter browsers to easily display the feed, I use XSL to transform the XML into something much nicer. However, the escaped HTML shows up as literal characters (code) in the feed when viewed with IE6 and Netscape. How can I show HTML in the description tag of an XML feed using XSL? I also get literal characters when trying entity-encoded HTML. are HTML <!-- comments --> allowed inside <TITLE> section? i couldn't find an authoritative answer... 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 all. HTML is something new to me, and I'm still making some experiments, so if something lame or wrongly written comes up don't be surprised. I'm designing a webpage with frames. One of the frames presents a web page of the web. Doesn't matter which (i think). The problem is I don't want the full page to be displayed but only part of it (somehow similar to crop an area of the page). Is this possible to achieve? Thank you in advance. |