HTML - How To Link An Html Page To A Div Tag In Another
Hey guys,
I'm kinda new to HTML/CSS. I am making a website in Dreamweaver 8. I'm having trouble doing something, and I don't even know if it is possible. I made a page using CSS and DIV tags to define each pane. Now the center (main) pane will show whatever page you want to display (ie. Home, Media, Contact, etc.). I made each page as a separate HTML file (ie. Home.html, Contact.html, Media.html, etc.), is there a way to link each of these pages to the main pane (div tag) so I can keep all other panes unchanged (menus, banner, etc.) and just display the content in the mentioned center pane? Thanks! Similar TutorialsI am having trouble with the following site here and the weather image at the bottom not being to the correct size. The image is hotlinked from another site, and I do have permission to do this! The image is automatically generated by scripts on that sites server every 5 minutes with new weather information. As my image has to always be a certain size and I suspect the original image located on the other website changes it's size as the weather updates, I clearly have a problem with pixel ratio's and an often unclear image... Thus, I would much rather scrap using the image and simply have the raw-text in this image on my site. If you look at the source for the site here, there is this piece of code: Code: <font face="Arial"><center><TABLE BORDER=1 CELLPADDING=5 CELLSPACING=1 BGCOLOR="FFFFFF"> <TR><TH colspan=4><B><FONT SIZE=+2 color="#0000FF">Weather Data</FONT></B></TH></TR> <TR><TH colspan=4><B><FONT SIZE=+1 color="#5">LAST READING AT TIME: 3:40 AM DATE: 21 December 2007 ,Time of next update: 03:45 AM</FONT></B></TH></TR> <tr><td><FONT SIZE=+1>Current Weather<FONT SIZE=+0></td><td>Night time\Dry</FONT></td> <td><font color="#009900"><FONT SIZE=+1>Current Temperature </td><td><font color="#009900"><b>3.8°C (38.8°F)</b>, Apparent temp 2.7 °C</FONT></font></td></tr> <tr><td><FONT SIZE=+1><FONT COLOR="#FF0000">Maximum Temperature </FONT><FONT SIZE=+0> (since midnight)</td><td><FONT COLOR="#FF0000">4.0 °C at: 12:00 AM</font></FONT></td> <td><FONT SIZE=+1><FONT COLOR="#3333FF">Minimum Temperature </FONT><FONT SIZE=+0> (since midnight)</td><td><FONT COLOR="#3333FF">3.2 °C at: 12:48 AM</font></FONT></td> <tr><td><FONT SIZE=+1>Average windspeed<FONT SIZE=+0> (ten minute)</td><td>0.0 kts (0.0 kmh)</FONT></td> <td><FONT SIZE=+1>Wind Direction<FONT SIZE=+0> (ten minute)</td><td>ENE (70°)</FONT></tr></td> <tr><td><FONT SIZE=+1>Windchill Temperature </td><td>3.8°C</FONT></td> <td><FONT SIZE=+1><font color="#009900">Maximum Gust </font><FONT SIZE=+0> (last hour)</td><td><font color="#009900">0.0 kts (0.0 kmh) at: 3:00 AM</font></FONT></td></tr> <tr><td><FONT SIZE=+1><font color="#009900">Maximum Gust </font><FONT SIZE=+0> (since midnight)</td><td><font color="#009900">0.0 kts (0.0 kmh) at: 1:52 PM</font></FONT></td> <td><FONT SIZE=+1>Maximum 1 minute average <FONT SIZE=+0> (since midnight)</td><td>0.0 kts (0.0 kmh) at: 1:57 PM</FONT></td></tr> <tr><td><FONT SIZE=+1>Rainfall <FONT SIZE=+0> (last hour)</td><td>0.00 in. (0.0 mm)</FONT></td> <td><FONT SIZE=+1><FONT COLOR="#245CD2">Rainfall </font><FONT SIZE=+0> (since midnight)</td><td><FONT COLOR="#245CD2">0.00 in. (0.0 mm) ---</font></FONT></td></tr> <tr><td><FONT SIZE=+1>Rainfall <FONT SIZE=+0>This month </td><td>0.00 in. (0.0 mm) </FONT></td> <td><FONT SIZE=+1>Rainfall <FONT SIZE=+0>To date this year </td><td>0.00 in. (0.0 mm)</FONT></td></tr> <tr><td><FONT SIZE=+1>Maximum rain per minute <FONT SIZE=+0> (last hour)</td><td>0.00 in/min </FONT></td></td> <td><FONT SIZE=+1>Maximum rain per hour <FONT SIZE=+0> (last 6 hours)</td><td>0.00 in/hour</FONT></td></tr></td> <tr><td><FONT SIZE=+1><font color="#FF9900">Yesterdays rainfall </font></td><td><font color="#FF9900">0.00 in</font></FONT></td> <td><FONT SIZE=+1>DewPoint </td><td><font color="#FF9900">2.3°C (Wet Bulb :3.2°C )</font></FONT></td></tr> <tr><td><FONT SIZE=+1>Humidity </td><td>90 %, Humidex 2.3 °C</FONT></td> <td><FONT SIZE=+1><font color="#CC33CC">Barometer </font><FONT SIZE=+0>corrected to msl</td><td><font color="#CC33CC">1021.0 mb</font></FONT></td></tr> <tr><td><FONT SIZE=+1>Pressure change </td><td>0.0 mb (last hour)</FONT></td> <td><FONT SIZE=+1>Trend (last hour)</td><td>STEADY</FONT></td></tr> <tr><td><FONT SIZE=+1>Pressure change <FONT SIZE=+0> (last 12 hours)</td><td>-3.0 mb</FONT></td> <td><FONT SIZE=+1>Pressure change <FONT SIZE=+0> (last 6 hours)</td><td>-3.0 mb</FONT></td> </table></center> Now, the details above (last reading, temperature, etc) obviously change every 5 minutes too. How can I link a page on my website to these above changing details on another website and then format the text to my styles and use only the text which I need (around half of what is above? I hope I have made my dillema clear . I am in good contact with that sites webmaster therefore once I find a good method for doing this I will of course ask the webmaster for his permission again . How to link one page to another page in HTML? ------------------------------------------------------ Hi! I would like to know if it's possible to link informations located in an html file into another html that would be displayed on a web page. I'll explain my situation: I'm managing a simulated hockey league and the simulator I'm using generates after each simulation many html files that contains infos about standings, injurues, etc... What I would like to do is to, rather than putting buttons on my main websites to access the plain black&white html file, take the info inside these html and put them directly on a better web site interface, all this automatically. In a way that I only have to code once my main webpage so it can read my generated html files (that always keep the same file name) and updates my nicely designed web page each time I put newer htmls on my web ftp. Is it possible? Thank you very much for your help. I have several links on my site, all in the form of <a href="http://www.mywebsite.com">mywebsite</a> How do I need to change it such that a new instance of the browser is used in which the linked site is displayed. 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 HI everyone, I am in process of creating a sample page. I need to pass values from one HTML page and i should get those values in other page. For example i have used two sample pages like, sample.html l<html> <head> <title> My first page </title> </head> <body> <a href="sample1.html" id="1001">Welcome to html </a> </body> </html> sample1.html <html> <head> <title> My second page </title> </head> <body> <a href="sample1.html">Sample HTML page values came here</a></body> </html> I have used those two sample pages and i need to get the value of id="1001" in sample 1.html page could anyone help me to solve this problem. Thanks in advance Regards, Martin Hello, Can someone tell the code to make something like this page. It has the boxes right in the middle with the link code inside the box. http://www.myspacearcade.com/page/2.html I just want to make the box with the link inside the box. I just launched this new site, www.dvbenefits.net , and I need link to an external form with Aetna. Here is the issue... I'd like for people to land on: (PAGE B) https://ips.aetna.com/Retail/Quote/QuoteInfo.aspx HOWEVER it needs to come from the below page to be "tagged" to my comissions. (you can see my name in the lower right side) (PAGE A) https://ips.aetna.com/Retail/Home_Lo...d=kvW7H2/Zx1M= I am loosing clicks do to this extra step. Is there a script that I can put on my site that can tell (PAGE B) that the visitor is comming from my ID (PAGE A) without having to land on (PAGE A)? Can anyone advise on how I can do this? Thanks! I have been trying everything possible, going from pillar to post on the internet, trying to work out how to link to another page in my folder. I basically have a folder called "webpage". In that folder is index.html & products.html. in the index.html codes, i have put tabs so i can link to other pages. 1 tab is called products. I have entered in: <div class="mybutton"> <a href="products.html"> <center> <button style="width:160;height:24; background-color:#97cfc3">Products </button></a><br> </center> </div> but it just says... "THIS WEB PAGE CANNOT BE FOUND". any help would be drastically appreciated!!! is there any way i can link to the current displayed page. for example: Code: <a href="/">root</a> would link to the root domain. is there something similar i can use? thanks 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. Dear All I'm a MAC new user. I start study HTML + CSS I make two file one for .HTML and the other for .CSS when I try to link css in html I con't I don't know why. this is the code line: <link href="css/main.css" rel="stlyesheet" type="text/css" /> and this is my file path: /Users/Sameer/Exercise/Website/header/css/main.css when I run the HTML it can't recognize the CSS file and it can't launch it. Can you please help me to link both file? Note: both file in the same folder named Exercise for more information see the attach picture. thank you HI, I want to assign a different link color to parts of the same page. It is a standard html page and I have the typical page properties to assign the colors. However, I need to have the link colors on one part a certain color (tan link color with green bkg) and another color in another section (tan link with green bkg) is their an html script to make this so? With page properties set at one of these colors, they dissapear into the background. Also, if you know of a script to not allow visitors to copy things of a web page will be most helpful to me as well. Thanks in advance. Dawnrazor Greetings I have this problem that i have menu in Iframe and from that iframe i have link to another page. Now when i click the link it opens the link in the iframe window and does not move me completely on the new page. How do i put link that will get me to new page, and does not open it in the iframe window? Also i have another page with PHP include, would love to know the same thing in PHP. So i have this link that opens in the IFrame window, but i dont want to open it in IFRAME, but i want to move completely to the page the link shows. Also i don't want to open it in new window, i want it open in same window. Thanks for help! I tried using the search function, but I don't know if it's my browser or what but it won't finish loading the results page. Is there a way in HTML, to create a link that can go to two possible pages, but when you click it, it randomly goes to either one? Thanks, Jon Hi All, Im not to sure how to explain this but i will try my best, Firstly i have a data dictionary that goes from 1 to 148, and when a user clicks on what ever table they want to view it then appears at the bottom of the data dictionary but my box has asked me to set it out as follows. When you click one of the tables in the data dictionary then we ideally want it to open a new internet tab and according to what content they clicked on in the data dictionary that content will appear in the new internet tab Unfortunately im stuffed on how to do this, This is how the data dictionary is layed out. SR Table name View 1 "The table name" Table "" "" "" "" "" "" 148 "" "" And the contents on each table is located under this data dictionary telling the user what the table contains etc. Im just puzzled on how i can populate a new tab with the information they have requested from the data table? Any suggestions? possible ideas would be highly appreciated. Thanks for the looking. I need a hyperlink to be run from another page other than it resides on. The hyperlink itself calls a script function which only recognizes the input from the one specific page the hyperlink is on. (the hyperlink script call looks like; [page5_url]) I have design constraints forcing that hyperlink to be actived from *another* page. How is best to do this? Simplest measure possible is what im' looking for. I'm not a script writer, so, I really need help on this one. Thanks in advance for your input! How can i link index.html to page2.html also how can i reference a file if lets say i put a picture in my website, what folder should i put it in? sorry im not that swift i couldnt find it on google though i found lots of other apache stuff not what i was looking for hi. this may sound noob... but instead of a linking a page like so, <a href="http://www.google.com">google</a> i want to make it so it opens in a another window instead of the one the person is using. thanks Hello, I know if I want to direct my page to a new document all I have to do is enter this in the HTML code: <a href="http://www.hotmail.com">New link</a> But what if I wanted instead of click on the New link simply hover on top of it and directs me to www.hotmail.com. How do I do that? |