HTML - Loadin A New Page From Head
Basic question, but can anybody tell me how to load a new HTML page upon immediate load of a page.
I am looking to have index.html immediately load a different home page. I'm trying to use onLoad, but can't seem to get it working. Thanks Similar Tutorialsyo ppl i can get a head an everythin <head><title>thisisexamle</title></head but how do i get a samell img in ther like this site? the little light bulb thing thnx for ur time marcus Ok I am not sure what I need to use to create my site. I want to have a box in the middle of the page, when it is clicked I would like other boxes to expand from it. Am I going to need flash for this? Hey guys, im new here so I want to introduce myself. I run an ubuntu server from home and serve Thetuxhouse.com from it. I was just adding a favicon to it and ran into an obstacle. I've been using javascript for repeated stuff like the menu, and banner. The favicon links would also be repeated. I tried to use javascript in the same fashion for the favicons in http://thetuxhouse.com/js/head.js and it did not work. I need to make an external file for the links to the favicons that are currently making my header very bulky. Thanks alot. -Hartless I really hate to do this, but I am in need of some help. A few days ago I had a family reunion with one hundred or so attending, and somehow word got out that I was a Computer Engineering major. Now this is where it gets tricky, I was approached by a number of my distant relatives wanting me to build a website for our family reunion. They want something very simple so anyone of any age can use it, and they want to have some kind of registration where you can view everyone else who registered and post images of the family. However they don't want a forum because it is " Not elderly friendly". My knowledge of HTML is probably slightly higher than a beginner level, and this entire this has me flustered and stressed out. Does anyone have any tips on where to start for this? I have the following code in my <head> Code: <script src="scriptaculous/lib/prototype.js" type="text/javascript"></script> <script src="scriptaculous/src/effects.js" type="text/javascript"></script> <script type="text/javascript" src="fabtabulous.js"></script> <script type="text/javascript" src="validation.js"></script> <title>AUDY</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" type="text/css" href="audy3.css"/> However only the java is loading, not the css. If I change the css link to an absolute link (http://.../audy3.css) then the css works but not the java. If I change the java links to absolute links it still doesn't work. What's going on? I am extremely new to Web design. I have found that it is very tricky to design sites that will look good regardless of which browser is being used and regardless of what browser settings have been tweaked. Following is my first attempt at a personal template. http://eversnug.com/holmeschiropract...es/frames.html There is a border segment just dangling to the bottom of the lower left corner that I don't know how to get rid of. Any help would be much appreciated. In a template I'm using I find the following head code. <style type="text/css"> /* <!-- */ Is the /*<--*/ necessary? Does it do anything? Can I remove it along with the ending tag /* --> */ , or is it required? I presume I need the <style type="text/css">, because I does use some style tags in the body. Thanks I am having issues with a myspace layout, I usually do my own, but my friends band had another guy do it. In the process he made a custom mast header and the music player is not showing up. Here is the coding, can someone help fix this please. HTML Code: <div class="masthead"><img src="http://i33.tinypic.com/2087lep.jpg"><br> <a href="http://www.msplinks.com/MDFodHRwOi8vaG9tZS5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2Vy"><img src="http://i34.tinypic.com/2yzesk3.jpg" border=0></a><a href="http://www.msplinks.com/MDFodHRwOi8vZnJpZW5kcy5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj1pbnZpdGUuYWRkZnJpZW5kX3ZlcmlmeSZmcmllbmRJRD0xMTM5MjE4Mzc="><img src="http://i37.tinypic.com/qy8e14.jpg" border=0></a><a href="http://www.msplinks.com/MDFodHRwOi8vbWVzc2FnaW5nLm15c3BhY2UuY29tL2luZGV4LmNmbT9mdXNlYWN0aW9uPW1haWwubWVzc2FnZSZmcmllbmRJRD0xMTM5MjE4Mzc="><img src="http://i37.tinypic.com/2j0l9o5.jpg" border=0></a><br> </a> <a href="http://www.msplinks.com/MDFodHRwOi8vdmlld21vcmVwaWNzLm15c3BhY2UuY29tL2luZGV4LmNmbT9mdXNlYWN0aW9uPXVzZXIudmlld0FsYnVtcyZmcmllbmRJRD0xMTM5MjE4Mzc="><img src="http://i38.tinypic.com/2dqiplh.jpg" border=0></a><a href="http://www.msplinks.com/MDFodHRwOi8vZnJpZW5kcy5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj1ibG9jay5ibG9ja1VzZXImdXNlcklEPTExMzkyMTgzNw=="><img src="http://i37.tinypic.com/awt752.jpg" border=0></a><a href="http://www.msplinks.com/MDFodHRwOi8vY29tbWVudC5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2VyLnZpZXdQcm9maWxlX2NvbW1lbnRGb3JtJmZyaWVuZElEPTExMzkyMTgzNw=="><img src="http://i34.tinypic.com/2r7vvck.jpg" border=0></a><br> <img src="http://i33.tinypic.com/11ry97c.jpg"><br> <img src="http://i37.tinypic.com/oj14hu.jpg"><a href="http://myspace.com/jaygambit"><img src="http://i36.tinypic.com/i5otb9.jpg" border=0></a></div> <style> NOTE {This is the custom masthead} .masthead {width: 800px; height: 1000px; position: absolute; margin-left: -400px; left: 50%; top:0px; bottom: 0px; background-image: url("http://i38.tinypic.com/205rupd.jpg"); background-position:top center; background-repeat:no-repeat;} .copyright-jaygambit {Created by Jay Gambit} .copyright-jaygambit {Background Properties} table, tr, td {background-color:transparent; border:; border-width:0;} body {background-color:000000; background-image:url("http://i35.tinypic.com/2u9phjk.jpg"); background-attachment: fixed; background-position:top center; background-repeat:repeat; scrollbar-face-color:000000; scrollbar-highlight-color:000000; scrollbar-3dlight-color:000000; scrollbar-shadow-color:000000; scrollbar-darkshadow-color:000000; scrollbar-arrow-color:ffffff; scrollbar-track-color:000000; margin-top: 1000px;} .copyright-jaygambit {Table Properties} table table {border: 1px} table table table table{border:1px} table table table {border-style:solid; border-width:0px; border-color:000000; background-color:000000;} .copyright-jaygambit {Text Properties} table, tr, td, li, p, div {font-family:Times; color:ffffff; font-size:12px;} .btext {font-family:Times; color:ffffff; font-size:12px;} .blacktext10 {font-family:Times; color:ffffff; font-size:12px;} .blacktext12 {font-family:Times; color:ffffff; font-size:12px;} .lightbluetext8 {display: none;} table table table table td {width:0px;} .contactTable td, table table td.text table td, table table table table table td {width:auto;} .redtext {font-family:Times; color:ffffff; font-size:12px;} .redbtext {font-family:Times; color:ffffff; font-size:12px;} .text {font-family:Times; color:cd853f; font-size:12px;} a:active, a:visited, a:link {font-family:Times; color:cd853f; font-size:12px;} a:hover {font-family:Times; color:ffffff; font-size:12px;} a.navbar:active, a.navbar:visited, a.navbar:link {font-family:Times; color:ffffff; font-size:11px;} a.navbar:hover {font-family:Times; color:ffffff; font-size:12px;} a.redlink:active, a.redlink:visited, a.redlink:link {font-family:Times; color:ffffff; font-size:11px;} a.redlink:hover {font-family:Times; color:ffffff; font-size:12px;} .nametext {font-family:Times; color:ffffff; font-size:20px;} .orangetext15 { background-color: 27382E; color: ffffff; font-size: 10pt; text-align: left; font-family: Times; font-weight: bold; line-height: 13px; text-transform: uppercase; border0px solid; border-color:00ff00; width:100%; display:block;} .whitetext12 { background-color: 27382E; color: ffffff; font-size: 10pt; text-align: left; font-family: Times; font-weight: bold; line-height: 13px; text-transform: uppercase; border1px solid; border-color:00ff00; width:100%; display:block;} object {position:absolute; left:50%; top:640px; margin-left:-225px; z-index: 3;} table table table object {position:static; margin-left:298px;} </style> <style type="text/css"> .contactTable {display:none;} </style> <style type="text/css"> div table table a img {display:none;} </style> <style> td.text object {visibility:hidden;} td.text td td object {visibility:visible;} </style> <center/> <br> </style> <a href="http://www.msplinks.com/MDFodHRwOi8vd3d3Lm15c3BhY2UuY29tL21heWhlbXByaW50aW5n"_blank"><img src="http://i63.photobucket.com/albums/h144/comarosteve/IDWTDIT/l_b397090fc61fe8af71ec106eb13ac25b.jpg" border="0" alt="IDWTDIT Shirt"></a> <br /> IDWTDIT Shirts available in black, red and blue. Please specify color and size. <br /> <br /> <br /> <img src="http://img151.imageshack.us/img151/6231/idwtditbanner1ss6.gif" /><br /><br /> <textarea><a href="http://www.msplinks.com/MDFodHRwOi8vd3d3Lm15c3BhY2UuY29tL2lkb250d2FudHRvZGllaW50ZXhhcw=="><img src="http://img151.imageshack.us/img151/6231/idwtditbanner1ss6.gif"/></a> </textarea> <br /> <br /> <br /> <br> <br /> <br /> <style> .r { fixes positioning of the new music player } table table td.text div div {position:relative; left:-200px; } *html table table td.text div div {position:absolute; top:640px; left:30.5%; margin-left:-200px; } </style> <div style="text-align:center;width:425px;"> <div><object type="application/x-shockwave-flash" allowScriptAccess="never" allowNetworking="all" height="350" width="450" data="http://musicservices.myspace.com/Modules/MusicServices/Services/Embed.ashx/ptype=4,ap=1,plid=51437,artid=3171452,skinid=16,profid=113921837"> <param name="allowScriptAccess" value="never" /> <param name="allowNetworking" value="all" /> <param name="movie" value="http://musicservices.myspace.com/Modules/MusicServices/Services/Embed.ashx/ptype=4,ap=1,plid=51437,artid=3171452,skinid=16,profid=113921837" /> </object> <br /> <style type="text/css"> .contactTable {width:300px!important; height:150px!important; padding:0px!important; background-image:url("http://img67.imageshack.us/img67/192/idwtditbgqz8.jpg"); background-attachment:scroll; background-position:center center; background-repeat:no-repeat; background-color:transparent;} .contactTable table, table.contactTable td {padding:0px !important; border:0px; background-color:transparent; background-image:none;} .contactTable a img {visibility:hidden; border:0px!important;} .contactTable a {display:block; height:28px; width:115px;} .contactTable .text {font-size:1px!important;} .contactTable .text, .contactTable a, .contactTable img {filter:none!important;} </style> Hey All I'm having some trouble with the most basic of things. I currently own some web space which supports upto 6 domain names. I'm already using one, we'll call it FIRST.com which works fine. During this week i purchased a new domain name lets say called SECOND.com. Using CPanel I was able to create an addon domain which automatically sets the root directory of the new domain to a folder called SECOND.com The problem I am having is that although if I type into my browser SECOND.com (and having set my .htaccess file) I get my index.html page with text, no images or CSS styles have been applied. Links to other pages work however, even if they are in sub directories. For some reason I just cannot link images or CSS files, yet if I type their path into the browser they are displayed, does anyone know what I'm doing wrong? Thanks in advance Rev Hi, Background: I have a small page that need to be embeded into a bounch of other html pages. Help needed: 1. Please provide the html chunk that I can use to embed the small page in to other html pages. 2. Is there a way of not using iframe? Can I use <Object> or <embed>? How? --------------------------- mba colleges in london hospitality management diploma Some mouses today have horizontal scroll, some call the tilt. It looks something like: http://www.htmlforums.com/attachment...1&d=1242556560 I noticed that many websites they code those horizontal scroll to go to next/prevous page. For example Discuz! forum system has this function. While you browse hundreds or thousands of posts separated into pages, the horizontal scroll can take you to previous page or next page.(not browser back/forward) How do I code like that? Or any examples? Below are the two sites I will use to explain my problem. For reference, I used Mozilla Firefox 3.08 and Google Chrome 1.0.154.53 in my tests. Example 1: http://www.irishbyname.com/example1.htm Example 2: http://www.irishbyname.com/example2.htm When browsing the site in a browser other than Internet Explorer, example 1 and example 2 center to different locations on the page. In example 1, I set the height of the content area to be 200 px tall. In example 2, I set the height of the content area to be 500 px tall. When I have example 1 open in one tab and example 2 open in another, I can alternate between the two tabs and see a visual difference in alignment. The HTML code on both pages is exactly identical with the exception of the height of the content area. Can anyone tell me why the horizontal page center changes based on the height of the page? Can anyone tell me how to change my HTML to make certain the page centers correctly no matter how tall the page is? Thanks for your help in advance. I believe in thread titles that get to the point. I have a basic page, when the page loads I want people to see the top of the page for a few seconds while a flash starts to load but then I want the page to scroll down a bit so the visitor can see the flash load progress status. I just want code that I can copy into my page. I don't have access to the flash code. Greg (the page under design) www.mytcanada.com/designer.html I have a programmer in the US who starts pages for me and then I much around with them until it's looks like I want. He helps me when I get stuck but he's on holidays. Any help would be great. I have plain HTML on the main page and <iFrame> tag on it, inside tag i have URL to other page that using some script that forces host page to reload and show page from frame instead of it. Can i somehow stop it from messing my entire main page? Hello; I have text box & submit button in page_1 & I have text box & submit button in page_2. I want when write text in text box in page_1 it go directly to text box in page_2 & I want when click on submit button in page_1 it is like click on submit button in page_2. Assume page_2 located in other site www.page_2.com. How to do that.?? Not even sure what to call this actually... I received this message from a friend whose site I just put up. ---------------------------- When you click on say the Home Page, and then you click on something else then go back to the prvious page, it apparently displays the previous page on the home page for example. I was not able to recreate this on my computer, but apparently, [another] web developer said this is a fairly common problem. Do you know what he is referring to, and can it be fixed? ---------------------------- Here's the site in question. Nothing fancy, just individual HTML pages. http://www.soundadviceht.com/index.html I gotta admit, I have no earthly clue what he's talking about, unless he's relaying the message wrong? Any ideas what he's talking about? First let me apologize if this post has been made and/or belongs in another area but I'm not too sure even sure how to ask this. My humble site is set up like such using HTML and CSS: As of right now I have it such that when a navigation link is clicked it loads a whole new page. How can I do this such that only the "main text" area (which sits inside a table) is loaded? I hope that makes sense! I am stuck with this stupid code that i have been trying to fix for an hour! Please help. Heres my problem...: I want to embed a webpage within another and scroll it to the bottom of the page automaticly because i want the information at the bottom which is updated frequently. I also dont want a scroll bar, so all that is seen is the table. the website is www.totalfta.com. I want from below the ENTER|EXIT sign to the bottom of the table. I have attached what i have so far. ***I have the embed into another page, and the no scroll bar... i just want to make it auto scroll to the table..**** Thank you..! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-... <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Tester</title> </head> <iframe height="410" width="100%" frameBorder="0" src="http://www.totalfta.com" mce_src="http://www.totalfta.com" scrolling="no" body onLoad="for (i=0;i<window.screen.availHeight;i++) {window.scroll(0,i); }"</iframe> <body> Hey all, me and my friend have a cleaning company and we deciced to make a webpage. It's been a good 6 years since i have worked on a website. My biggest accomplishment so far was getting the contact form to work properly on the site. It does, i feel like i've done alot lol. Anyway, the current design is a rough layout (suggestions are welcome). It still needs a lot of little touches to make it look more "full". My biggest concern now is when your clicking from page to page the table jumps around. In firefox, the Contact Us and Services page are perfect, nice and centered. The image i'm using where the navigation buttons are is in place as well. When you go to the other pages though the table moves a bit and it looks like the image i'm using where the navigation buttons are starts to repeat. In Internet Exploder, everything doesn't look centered. There seems to be more space on the right than on the left, but the image i'm using for the navigation buttons seems to be fine, it's not repeating. I dunno what's causing this. I know different browsers display stuff in different ways but i'm far from having a good understanding as to why (that's why i'm here). I even copied txt from one of the messed up pages and pasted it on one of the pages that is ok and that didn't work. I assume it's a CSS thing. Also, try and avoid saying things like "Table designs are for teh n00bz!11!" or "This is why CSS is better than using a table design!!!". This is how i did it. Im ok with CSS but i don't have a thorough understanding of it to design an entire website using CSS. I'm hoping this is an easy CSS fix, or maybe something else? The website is www.gocleantoday.com. Thanks. |