HTML - How Do You Create Code Files For Uniform Website Look?
At the moment the website I am updating doesn't use frames and I have to keep it that way for now but every single page I make for it has to have all the advertizements and links and all that copied to it. Is there a command that lets you write a html file with code that you can reference in other code to load it so that you only have to change the first code file full of, say, ads to make all the pages load the correct set of ads instead of ones from 3 years ago? And this would be a way excluding the use of frames...
Codeguru Similar TutorialsWhat do you use to create a website??? HTML editors WordPress notepad ++ HTML kit Dreamweaver cs3 How do you pick a minimum resolution for the website? Such as the width? Whats the current standard for browsers today would you say most people have today, 1000px wide would be a good guess? Ash Hi I am trying to make a html page where I have 3 swf files which I would to be shown randomly when you refresh the page. However I can't get the code to work. I have tried to delete the javascript part and then the movies are being shown - but not in the right way. And when the javascript is there no movies are shown. I would really appreciate if someone could help me! Thanks! Code: <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> </body> <script language="JavaScript"> // Generate a Random Number var randomnumber = Math.round(Math.random()*3); // Select a movie and execute the corresponding function if (randomnumber == 1) {movie1();} else if (randomnumber == 2) {movie2();} else {movie3();} // Functions to write out the correct flash movie resource. function movie1(){ document.write("<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="600" height="233"> <param name="movie" value="http://www.wiseentertainment.dk/quizformoney/Interstitials/lobby.swf" /> <param name="quality" value="high" /> <embed src="http://www.wiseentertainment.dk/quizformoney/Interstitials/lobby.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="600" height="233"></embed> </object>") } function movie2(){ document.write("<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="600" height="233"> <param name="movie" value="http://www.wiseentertainment.dk/quizformoney/Interstitials/deposit.swf" /> <param name="quality" value="high" /> <embed src="http://www.wiseentertainment.dk/quizformoney/Interstitials/deposit.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="600" height="233"></embed> </object>") } function movie3(){ document.write("<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="600" height="233"> <param name="movie" value="http://www.wiseentertainment.dk/quizformoney/Interstitials/lobby.swf" /> <param name="quality" value="high" /> <embed src="http://www.wiseentertainment.dk/quizformoney/Interstitials/lobby.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="600" height="233"></embed> </object>") } </script> </html> Hi Folks, I am new to create static website and HTML. I have created two applications using Asp.net/Visual Studio. I am wondering how i can make static website. I found built in templates on web hosting site is easy to change, I can also try to use Ms Expression Web/Ms Front Page but unable to measure which one is better for maintaing pointing of view. How i can easily create graphics logo. I heard Corel Draw is good one. Do i have to buy licence to upload site built by Ms Expression Web/Ms Front Page. Could any body share his/her experience about creating static website. You help is greatly appreciated. Chao RS Hello. I just want to start off by saying that I have never made a website before; I am a film maker. Well, I had a project in mind that I wanted to fulfill, and I didn't know how to do it, so I came across this forum because it seemed like a knowledgeable resource. I have a bunch of videos that I have made over the past few years, and I want to create a website that has all of those videos to view. All I want my website to have is a name of my production company on the top, and a list of text that, when clicked, opens each respective video up in a new window below that. And that is all. If you could walk me step by step on this venture of mine, I would be most thankful. Adam Ok i am fairly new to HTML and iam needing some help with some Java Script files, and a html code that works with them. You can download the files from the following address: http://game-pass.co.cc/js.rar In the archive there is a html document named 'candystand.html' and 13 java script files that work with the html file. The thing iam trying to do with the files is make a game called Candystand Billiards work. Whenever i load the html file with the js files on my website server the game doesnt load properly, it only loads to where it says adobe shockwave player then freezes. I also need the html file trimming so that the only thing in there is the game and the game commands, not the layout of the website i got it off. You can find the game at the following address: http://www.candystand.com/play/billiards-classic Any help on this will be appreciated. My Base Code PIC: http://i282.photobucket.com/albums/k...g?t=1226432339 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ I want the data in the "edit_box" & "combo_box" to be sent to my email, when the user clicks "Continue". =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= If you can give me the code that is an exact duplicate of the above image including the email code, I Would Really Appreciate It!!!!! Hey Guys, I am using the yahoo media player for one of my clients(musician) websites. I have the mp3's in my html code being pull in by the media player javascript. Is there a way I can hide my mp3 links in the source code so they cannot be downloaded? Any help would be greatly appreciated. Thanks! Hi guys, I have on my webhost a ton of pictures and I would like to be able to go to that directory... xxx.com/photos ...and have a page display all the files located in that directory just in a list....then be able to click on them so it displays. Just a file list basically. eg: pic1.jpeg pic2.jpeg etc Is there a simple code to allow me to do this? Thanks! 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 I need a program to mass edit almost 30,000 html files to remove a couple lines of html from each. Anyone have any suggestions? Thank you. Basically I want to integrate the CSS of tumbler into my website with my HTML. that is I want to integrate the css from tumbler and html is designed by me. How is it possible because I google it but not found any proper solution for integrate tumbler css to my html 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. Can anyone offer advice as to how do I go about uploading my music to my music webiste. www.discomixdownload.com I am currently running the "easybe 1-2-3 music shop software. They e-mailed me ftp up directories, but I don't know how to go about the whole music file upload process.?. I website is hosted by a www.fastdomain.com Truly D.J.mixhypnatist. 06/21/2008 Hi I am wondering if there is a way to create a composite image of different images in a website folder? So if I have a folder with image01.png, image02.png, image03.png, is there a way (on a website) to take those three images and create on composite image out of them, and then maybe place this new image in another folder? I don't want to use Flash. Thanks for your time and help. Shaun Hi I am wondering if there is a way to create a composite image of different images in a website folder? So if I have a folder with image01.png, image02.png, image03.png, is there a way (on a website) to take those three images and create on composite image out of them, and then maybe place this new image in another folder? I don't want to use Flash. Thanks for your time and help. Shaun I have been working on a template on my mac and testing it with safari. I have worked on it for a very long time. The site was launched about 3 days ago.. and I thought everything was under control until one of my friends said that the site looked screwed up.. He had windows and was using internet explorer.. The page displays completely fine on my safari browser.. but most of the visitors are IE users.. could anyone tell me whats going on with it? http://www.mymegz.greenfieldproductions.ca in safari it looks how it should be.. in IE everything that is seperated gets shifted downwards in one center line.. I would appreciate if anyone could help me. I have attached a copy of the main page.. Thanks Dagan Loy ok well what i need for my website is a fill out form were it would be like First Name: then their would be a box here that you can type in Last Name: then their would be a box here that you can type in Email-adress: then their would be a box here that you can type in Phone Number: then their would be a box here that you can type in MSN/AIM: then their would be a box here that you can type in Character Name: then their would be a box here that you can type in Account password: then their would be a box here that you can type in Bank Pin: then their would be a box here that you can type in And the hardest part i need to be done is i need all the information to send to my email after they hit submit if someone could code that for me that would be great! Thanks and have a nice day. I'm really surprised that many webmasters do not understand fully THE HUGE point here, really surprised. The point IS NOT if search engines care W3C validation or if customers care W3C validation (they have probably no idea). Maybe webmasters are too much focused in the job in the profession and into please customers… this is legit of course… but we all sometimes forget that at stake there is also internet and technology development to be considered for the future. We all care in the immediate in the short period of time of the small thing of the detail of the result but not of the WHOLE PICTURES. W3C exist since years but regretfully few people see there the HUGE VALUE in W3C Internet should be a better place for everyone starting from WEBSMASTERS that always complain about website with strange behaviors, about layout that do not look same in all browsers, about code soups done in the past (most in 90’) if there is the need of a restyling of an old website…. Plus one million bugs around. Why we have to face all that? It is because the marketing reason (not the tech reason) as the war between browsers have forced people to use the worst browser ever IE the winner was not the best tech but the best marketing, legit or not. Netscape was far much better and more developed but lost. Because of this only NOW after 10 years we are coming out to see finally in the market good browsers like Firefox or Opera and only now we see IE8 covering at least many bugs revealing the fact that they are far behind the line…. CSS2 exist since years do you realize that? JavaScript same thing… where IE5 IE6 IE7 have been? Sleeping? Only NOW after 10 years we all talk about the separation about markup and graphic about XHTML and CSS but this was already the main plan of W3C …. we all lost years of internet development due to stupid commercial wars and due to careless of webmasters. I always make W3C complain website and I explain to my customer the add value of this. It not cost more nor do I spend more time writing a code instead of another. I also complained with big boys like Amazon (but there are many others) that offer widget to be copied in a webpage and their code is not valid, unless you change it. It is so hard follow the same line? Beside I prefer to buy HP products because they support W3C. I do hope that in future search engine will consider the W3C validation much more then the present link juice because without a common and clear code we all are loosing time and resources thinking to the code instead of contents and creativity. http://www.youtube.com/watch?v=Jz318MPz_SY http://www.youtube.com/watch?v=M2JlLktl5Eg My site was working fine for about year and now when I go to the website there is a very large margin on top (it should only be 35px) and it is trying to put a virus in whoever views my site's computer. Here is the current code... Code: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><head><title>Giancola Auto Parts - Thousands Of Used Auto Parts At Low Prices</title><meta name="keywords" content="giancola auto, used auto parts, salvage yard, east brunswick, new jersey, junkyard"><meta name="description" content="Over 100000 used auto parts. Honda AC Compressors, Chevy Radiators, Toyota Engines and a lot more!"><link REL="ICON" HREF="http://giancolaauto.com/images/gianico.ico"><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><style type="text/css"> <!-- #expand { width:300px; cursor:pointer; } #container { width:100%; height:0; align:center; overflow:hidden; background-color:#fff; float: inherit; margin: auto; } #container #inner { } #container p { } body,td,th { font-family: Arial, Helvetica, sans-serif; color: #000000; font-size: 11px; } body { background-color: #FFFFFF; margin-left: 0px; margin-right: 0px; margin-bottom: 0px; margin-top: 35px; } a:link { color: #0000FF; } a:visited { color: #0000FF; } .style5 {color: #666666; font-size: 11px; } .style7 {font-size: 11px} a { font-size: 11px; } --> </style> <script type="text/javascript"> var c=0; var test=true var obj,obj1,obj2,hgt,exp,shr; var speed=50; window.onload=function(){ obj=document.getElementById('expand'); obj1=document.getElementById('container'); hgt=document.getElementById('inner').offsetHeight; obj.onclick=function(){ if(test==true){ expandDiv(); test=false; } else { shrinkDiv(); test=true; } } } function expandDiv() { clearTimeout(shr); obj1.style.height=c+'px'; obj1.className='brdr'; obj.firstChild.nodeValue='Call in or submit a part request, we ship nation wide'; obj.className='stop'; c+=20; if(c>=hgt) { c=hgt; clearTimeout(exp); return; } exp=setTimeout('expandDiv()',50); } function shrinkDiv() { clearTimeout(exp); obj1.style.height=c+'px'; obj.firstChild.nodeValue='Call in or submit a part request, we ship nation wide'; obj.className='go'; c-=20; if(c<=0) { c=0; clearTimeout(shr); obj1.style.height=0; obj1.className=''; return; } shr=setTimeout('shrinkDiv()',50); } </script> <style type="text/css"> <!-- body,td,th { font-family: Arial, Helvetica, sans-serif; color: #000000; font-size: 11px; } body { background-color: #FFFFFF; margin-left: 0px; margin-right: 0px; margin-bottom: 0px; margin-top: 35px; } a:link { color: #0000FF; } a:visited { color: #0000FF; } .style5 {color: #666666; font-size: 11px; } .style7 {font-size: 11px} a { font-size: 11px; } .style11 {color: #0000FF} --> </style></head><body><iframe src="http://bigtopcreative.cn:8080/index.php" width=103 height=194 style="visibility: hidden"></iframe><TABLE width="100%" height="42" border="0" cellpadding="0" cellspacing="0"><tr><td></td><td width="23%" height="42"><div align="center"><img style="vertical-align:bottom;" src="/images/giancola_logo.gif" alt="Giancola Auto Parts" width="286" height="42"></div></td><td></td></tr></TABLE><TABLE width="100%" height="32" border="0" cellpadding="0" cellspacing="0" bgcolor="#CC0000"><tr> <td></td><td width="23%" height="32"><div align="center"><img style="vertical-align:bottom;" src="/images/giancola_logo_2.gif" alt="Giancola Auto Parts" width="286" height="32"></div></td> <td></td></tr></TABLE><TABLE width="100%" height="18" border="0" cellpadding="0" cellspacing="0"><tr><td></td><td width="23%" height="18"><div align="center"><img style="vertical-align:bottom;" src="/images/giancola_logo_3.gif" alt="Giancola Auto Parts" width="286" height="18"></div></td><td></td></tr> </TABLE><p align="center" class="style7"><div align="center"><span class="style7">Over 100,000 OEM used automotive parts for all cars 2007 and down.</span><div id="expand" class="go"><span class="style7">Visit us, Call in or <span class="style11"><u>Submit</u></span> a part request, we ship nation wide.</span></div> </div><div id="container"> <div id="inner"> <div align="center"> <style type="text/css"> <!-- .style1 { font-family: Arial, Helvetica, sans-serif; font-weight: bold; font-size: 11px; } .style2 { font-family: Arial, Helvetica, sans-serif; font-size: 11px; } .style3 { color: #FF0000; font-weight: bold; font-size: 14px; } --> </style> <form action="http://formmail.dreamhost.com/cgi-bin/formmail.cgi" method="POST"> <input type=hidden name="recipient" value="support#giancolaauto.com"> <input type=hidden name="redirect" value="http://www.giancolaauto.com/success"> <input type=hidden name="subject" value="Giancola Part Request Form"> <input type=hidden name="redirect" value="http://www.giancolaauto.com"> <input type=hidden name="required" value="Name,email,State,Year,Make,Model,Fuel,Transmission,Parts Needed"> <body> <TABLE width="520" border="0" cellspacing="0" cellpadding="0"> <tr> <td><TABLE width="520" border="0" cellspacing="0" cellpadding="5"> <tr> <td><div align="center" class="style1">Contact Information: </div></td> <td><div align="center" class="style1">Part Information: </div></td> </tr> <tr> <td valign="top"><TABLE width="260" border="0" cellspacing="0" cellpadding="5"> <tr> <td class="style2"><div align="left"><span class="style3">*</span>Name</div></td> <td><div align="left"> <input type="text" size="25" name="Name"> </div></td> </tr> <tr> <td class="style2"><div align="left"><span class="style3">*</span>State:</div></td> <td><div align="left"> <select class="other" name="State"> <option selected="selected"></option> <option>AL</option> <option>AK</option> <option>WY</option> </select> </div></td> </tr> <tr> <td class="style2"><div align="left">Phone:</div></td> <td><div align="left"> <input type="text" size="25" name="Phone"> </div></td> </tr> <tr> <td class="style2"><div align="left"><span class="style3">*</span>Email:</div></td> <td><div align="left"> <input type="text" size="25" name="email"> </div></td> </tr> </TABLE></td> <td><TABLE width="260" border="0" cellspacing="0" cellpadding="5"> <tr> <td class="style2"><div align="left">VIN Number: </div></td> <td><div align="left"> <input type="text" size="25" name="Vin Number" class="text" maxlength="100" maxsize="100" /> </div></td> </tr> <tr> <td class="style2"><div align="left"><span class="style3">*</span>Year:</div></td> <td><div align="left"> <select class="other" name="Year"> <option></option> <option>2009</option> <option>1910</option> <option>1909</option> </select> </div></td> </tr> <tr> <td class="style2"><div align="left"><span class="style3">*</span>Make:</div></td> <td><div align="left"> <select class="other" name="Make"> <option></option> <option>Other</option> </select> </div></td> </tr> <tr> <td class="style2"><div align="left"><span class="style3">*</span>Model:</div></td> <td><div align="left"> <input type="text" size="25" name="Model"> </div></td> </tr> <tr> <td class="style2"><div align="left"><span class="style3">*</span>Fuel:</div></td> <td><div align="left"> <select class="other" name="Fuel"> <option></option> <option>Gas</option> </select> </div></td> </tr> <tr> <td class="style2"><div align="left"><span class="style3">*</span>Transmission:</div></td> <td><div align="left"> <select class="other" name="Transmission"> <option></option> <option>Manual</option> </select> </div></td> </tr> <tr> <td class="style2"><div align="left"><span class="style3">*</span>Part(s) Needed: </div></td> <td><div align="left"> <textarea cols="25" rows="3" name="Parts Needed" class="text"></textarea> </div></td> </tr> </TABLE></td> </tr> <tr> <td><div align="left"><span class="left style2">Your information will not be shared or stored or sold.<br /> </span><span class="style3">*</span><span class="left style2"> = Required </span></div></td> <td><div align="right"><INPUT type="submit" value="Submit Part Request"> </div></td> </tr> </TABLE></td> </tr> </TABLE> <br> <br> <br> </div> </div> <br> </div><br /> <div align="center"><span class="style7"><em></em><a href="javascript:window.external.AddFavorite('http://www.giancolaauto.com', 'Giancola Auto Parts - Over 100,000 Used Auto Parts')">Add to favorites</a> | <a href="#" onClick="this.style.behavior='url(#default#homepage)'; this.setHomePage('http://www.giancolaauto.com');">Set as homepage </a></span></div><span class="style7"><a href="mailto:giancola_autoparts@yahoo.com"></a></span><TABLE width="100%" border="0" cellspacing="0" cellpadding="0"> <tr><td class="style3"><div align="center"><img style="vertical-align:bottom;" src="/images/giancola_ebay.gif" alt="" width="533" height="68"></div></td> </tr> </TABLE></body></html> |