HTML - Displaying Another Page's Content Through Yours.
I was wondering if there is a way to display a section of another webpage, such as a table, through a separate site.
Obviously I could just copy the code from one of my pages to the other, but I would prefer if it would automatically take the code from one page and display on another? I hope I am making a bit of sense. Nick C. Similar Tutorialshii, i'm using a 3 html frames in my web page, top, left and rite content frames. i'm using draggable frames, every thing is fine, but i want to show my user session time out in that main page(containing 3 framesets), below is the code. i dun know waht had happened, the content is not getting displayed except the title. can anyone please help me.. below is my code Code: <html dir='ltr'> <head> <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"> <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; CHARSET=UTF-8"> <META HTTP-EQUIV="CONTENT-SCRIPT-TYPE" CONTENT="text/javascript"> <META HTTP-EQUIV="CONTENT-STYLE-TYPE" CONTENT="text/css"> <META HTTP-EQUIV="EXPIRES" CONTENT="-1"> <META HTTP-EQUIV="Refresh" CONTENT="1800; URL=http://localhost/Project/sessiontimeout.php"> <link rel="shortcut icon" href="http://localhost/Project/images/trrlogo1.ico"/> <meta name="generator" content="HTML Tidy, see www.w3.org"> <title>Page</title> <link rel="stylesheet" type="text/css" href="http://localhost/Project/css/timer.css"> <script type="text/javascript" src="http://localhost/Project/scripts/timer-src.js" /></script> <script type="text/javascript" src="http://localhost/Project/scripts/zdragdroplib.js"></script> </head><body> <script type="text/javascript"> document.write(getWarning()); </script> <div id="warningDiv"></div> <img src="http://localhost/Project/images/load.gif" onLoad="initTimer();"> <script language="JavaScript"> var frame = '<FRAMESET ROWS="117,*"><frame name="UniversalHeader" title="Portal Header" scrolling="no" frameborder="0" noresize src="http://localhost/Project/leftmenu.php"><FRAMESET COLS="238, *"><FRAME name="NAV" frameborder="0" framespacing ="0" scrolling="auto" marginheight="0" marginwidth="0" target="_blank" SRC="http://localhost/Project/leftnavigation.php"><FRAME name="TargetContent" scrolling="auto" frameborder="0" marginheight="0" target="_blank" SRC="http://localhost/Project/MainMenuframe.php"' ; var pos = document.location.href.indexOf("?http://"); if (pos>0) { frame += document.location.href.substr(pos+1); } else { frame += 'dc_toc.html'; } frame += '"></FRAMESET></FRAMESET>'; document.write(frame); </script> </body> </html> i cannot see any content except the title.. please suggest me how to proceed.. Many Thanks. Hi, I am writing a Perl function that needs to be able to display some simple text and two png images. I would like to be able to display them all in a row so that the text fields are in the left "column", the png's are in the middle and right "columns" and, finally, there is an input field next to the rightmost png. I've Googled everything I could think of and nothing seems to do the trick. In particular the png images need to be displayed using the HTML equivalent of the following Perl code: Code: print "Content-type: image/png\n\n"; print $wordPNG; and I haven't been able to figure out how to get more than one of these statements into the html. In a pinch I would be happy to display the three groups vertically as long as I can get an input field next to the last png. Any advice is appreciated. Regards. Greetings I have 3500 pages of content on my site and i would like to monetize all of them by placing some adds. The problem is that my advertisers might change sometimes and i don't want to update all the pages each time i decide to go for some other advertiser so i tought i should use another html file that would be displayed on all the 3500 pages and each time i would modify this file, it would update on all the 3500 pages. I would like the page to be search engine friendly too, if possible. Also don't want to use frames. So there would be small window 200 x 200 in size that would display the content of the seperate file on all these 3500 pages. So how should i do this, would java script be something to consider? I don't know much about php and would not like to use it, what would be the easyest way to do this? Also there can not be any borders in this window and it needs to be embedded in to all these 3500 pages, in exact size of 200 x 200. This system needs to work in IE, Firefox, netscape and opera!! The content would be adsense, banner or similar content. Please advise.... Sir. Turhapuro hi all - can anyone advise as to what might be the issue - a new html email newsletter i've modified from an existing template behaves differently in that the content doesn't display along with the images until you choose to download them. so instead of just seeing text without images, the entire email is blank. has anyone encountered this/can possibly advise? many thanks, tania http://mindscapemedia.co.uk/bug.html Hi, it's a while since I came across this bug, forgot which fix I used for it last time. If anyone could point me to a suitable page or alternatively tell me how to get round this issue I'd be grateful. Check the page in FF/Safari/Chrome it works how I intend it to, check it in IE it bugs out and the last div goes over onto the next line. I've spent more than an hour messing around with different hacks trying to fix this now I am new to the forum, and relatively new to web design. I recently updates some things on a very basic page for my wife who is a hair stylist. For whatever reason, the index page will not display in IE or Chrome, but will just fine in Firefox. I've checked everything and just can't find what is causing the issue. http://amyappletonhairdesign.com These pages on the same site display fine if you need a point of reference: http://amyappletonhairdesign.com/services.html http://amyappletonhairdesign.com/contact.html Thank you! Hi everyone, i have recently desgined me a holding page and im having trouble displaying it. this is my code and also my site is at the bottom in my sig. HTML Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Basicproduction</title> <style type="text/css"> <!-- body { margin: 0px; } --> </style></head> <body bgcolor="#000000"> <body> <div align="center"><a href="http://www.myspace.com/basicproduction" target="_blank"><img src="../Holding page images/bpholding copy.jpg" alt="" width="750" height="650" border="0"/></a></div> </body> </html> i think i might have gone wrong with the color but im not sure. i want black but i think it may be placed in the wrong place? im not sure. Thanks Hi there, I am looking for a way to build a webpage for our restaurant site that would allow us to show the customers what our Desserts of the Day would be. We rotate a lot of different desserts and we always have people looking for there favorites to come in for that. I want a page where I can basically click a check box to show an image and description of the desserts we have for that day. How would I do this? Somebody said what I need is a static webpage? If somebody could show me where to start or a page that is done this way that would be great. Hello Gurus, I have a HTML webpage index.html and the expecation is that when user selects from drop drown opton it needs to display a webpage in the iframe underneath the option list. Below is the code snippet. From the code, you will see that it displays all www sites such as google.com, yahoo.com just fine without issues, however the local opel.html is not coming up at all. I am pasting the code of index.html as well as the page that i want to call i.e. opel.html. Pleaes help <!----------------------INDEX.HTML CODE STARTS HERE------------------> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>Your Murrieta</title> <meta name="keywords" content="" /> <meta name="description" content="" /> <link href="default.css" rel="stylesheet" type="text/css" media="screen" /> </head> <body> <div id="header"> <div> <table> <h1><a href="#" Style="font-family:Edwardian Script ITC" color="White">Your Murrieta</a></h1> </table></div> <p>Showcase of Your World</p> </div> <!-- start page --> <div id="page"> <div id="pagebg"> <div id="content"> <div class="post"> <form action="" method="post"> <SELECT ONCHANGE="if (window.frames && window.frames.iframes) { window.frames.iframes.location.href = this.options[this.selectedIndex].value; }"> <OPTION VALUE="opel.html">My Home Page <OPTION VALUE="http://www.google.com">My Fmaily <OPTION VALUE="http://www.yahoo.com">My Hobbies <OPTION VALUE="http://www.rediff.com">My Friends </SELECT> <iframe id="theFrame" name="iframes" src="opel.html" align="top" height="1460" width="1760"></iframe> </form> </div> <!-- start content --> <!--aaa--> </div> </div> <!--content--> <!-- end content --> <!-- start sidebar --> <div style="clear: both;"> </div> <!-- end page --> <!-- start footer <!-- end footer --> </body> </html> <!--------------------OPEL.HTML CODE STARTS HERE-------------> <html xmlns="http://www.w3.org/1999/xhtml"> <!-- start page --> <body> <table style="margin-left:0%"> <tr> <td> <!--First Panel --> <div style="font-size:9pt;font-family:Georgia; color:Navy; width:345px; background-image:url(images/gray-gradient.gif); background-repeat:repeat;">ERP</div> <div> <table cellspacing="0" cellpadding="15" width="345px" height="79px" bgcolor="#ffffff" align="left" style="background-image:url(images/cnsl.jpg); background-repeat:repeat;margin-right:1%;"> <tr align ="left" width="400px" > <td align ="left"> <ul class="link" type="none" style="font-size:8pt;font-family:Arial;"> <li class="link"> <a style="font-size:8pt;font-family:Arial;" class="link" href="http://www.coexsys.com/erpoffering.html" id="l16">Offerings</a> </li> <li class="link"> <a style="font-size:8pt;font-family:Arial;" class="link" href="http://www.coexsys.com/id145.html" id="l18">Request More Information</a> </li> </ul> </ul> </td> <td align ="left"> <ul class="link" type="none" style="font-size:8pt;font-family:Arial;"> <li class="link"> <a style="font-size:8pt;font-family:Arial;" class="link" href="mailto:sales@coexsys.com" id="l17">Email us</a> </li> <li class="link"> <a style="font-size:8pt;font-family:Arial;" class="link" href="http://www.coexsys.com/id144.html" id="l18">Contact us</a> </li> </ul> </td> </tr> </table> </div> </td> </body> </html> Hi all, just came here to ask why is it that when I try to open my HTML file in Internet Explorer, which I created in note pad, it comes up with the code I typed it rather than displaying the actual page? Like for example I typed in this... <html> <head><title>Interspecies Conflict Videos</title></head> <body> <div align="center"> <img src="web logo.jpg" alt="Web Header" /> </div> </body> </html> And all I got was the code you see above you, there was no picture or anything. Hello, I'm not sure if what I'm asking is possible using html, but I'm going to ask anyway... I'm trying to figure out how to have a sidebar randomly cycle through a series of images each time the page is loaded/refreshed. I'd like the same image displayed at the top and bottom of my sidebar, one image each at the top and bottom of my menu list. But I want to make sure that the image displayed at top and bottom are the same one. Here's my current version of the site: http://home.comcast.net/~blayne81/l5rrpgweb/ You can see the menu on the left side of the page and the two images at the top and bottom of the menu. I have another eight or so images I'd like it to display randomly or cycle through in order (it really doesn't matter which), whenever the page loads/reloads so I don't have to manually pick which image appears every page I write, the code will do that for me. Thanks for your help, Brienprime Can't figure out why the page is displaying only HTML code. My assumption is: I indicated a wrong path to the image hosted with 000webhost.com. Otherwise I have no clue why the code doesn't display online. Here is the code. Can anybody spot the problem? Thanks in advance! =========================================== HTML Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv = "content-type" content = "text/html; charset = utf-8"/> <title>Russkaya Zvezda</title> </head> <body> <table width='100%'> <tr> <td align ='center'> <img src = "http://www.russkayazvezda.com/GRAY_VK_RZ_MY_RABOTAEM_raster.jpg" width = "100%" alt = "RUSSKAYA ZVEZDA"/> </td> </tr> <tr> <td> <p style = "text-align: center;"> Copyright © 2000 - 2012 by Russkaya Zvezda Inc. </p> </td> </tr> </table> </body> </html> Reference: http://investorsconnection.net So if you load it up in FF, you see that there is a stripe that goes across the bottom of the page and it is flush to the bottom of the window. That is how it is supposed to be. In IE there is a space below that greyish stripe, and it's not supposed to be there. I can't figure out why! The stripe is div id "footer_bg". Thank you for the help! Hello .. First I must say "Excuse me" if I posted in a wrong room...... I searched many threads for some information regarding the best programming technologies for displaying an image slideshow on a home page. Please let me know if you have any do's or dont's related to this. With some many technologies available to display an image slideshow I want to make sure I choose the right method so SE's dont stumble when indexing my site. Thank You ! I've spent almost a week designing, coding and uploading this site. Only to have it not display properly in firefox or safari. I've included a link to the site and several screenshots as well as the source code. Please help! This image shows it as it is int ie 7 on windows xp http://img.photobucket.com/albums/v6...asintended.jpg this image shows it on safari and fire fox: http://img.photobucket.com/albums/v6...art/safari.jpg website link: www.tavasystems.com Thanks in advance. Hi guys- Im not an expert. I am a teacher at an elementary school. I am trying to set up a webpage for our school that will allow students to view egg hatchings going on in all their classrooms. Im doing this through the use of webcams. I can get a single webcam to display in a page, but when I go for more than one, this is what happens... http://www.mrharris.org/unipage.html The second cam should be showint up, but there is obviously some issue here... Any suggestions ? Thanks ! Mike hi all, am new here, please bear with me! I have a request, I am creating an Intranet site for my company and would find it useful to display on the page the local machines IP address (not the public one), the LAN one. Can this be done in HTML or not, and if yes, can anyone please kindly point me in the right direction?? Thanks in advance. Rather than re-write this page and the css, I'd just like to fix what I'm working with, please. This page is not lining up correctly, as you can see from the attached image. All the text content should be to the right of the (left) red column and the red column is supposed to be the width of the gray bar above it. (The header is a separate piece of this page) Can you help me get the left red column to the correct width and all the text content to the right of the red column? thanks. Here's my code: Code: <table valign='top' align="right" cellpadding="0" width="100%" height="80%"> <table style="background-color:#ffffff; font-family:Arial, Helvetica, sans-serif; width:100% height:80%> <table width="770" border="0" cellpadding="0" cellspacing="0" id="maintable" align="center"> <link href="custom.css" rel="stylesheet" type="text/css"> <tr><td id="menu" align="left"> <img src="images/bullet.gif" alt="" width="10" height="10"><a href="index.php"><font color="#DDCEA2"><font face="Arial" size="2">Home</a></font><br> <img src="images/bullet.gif" alt="" width="10" height="10"><A href='index.php?command=signup_page'><font color="DDCEA2"><font face="Arial" size="2">Sign Up</font></A><br /> <img src="images/bullet.gif" alt="" width="10" height="10"><a href="faq.html"><font color="DDCEA2"><font face="Arial" size="2">FAQ</a><br> <img src="images/bullet.gif" alt="" width="10" height="10"><a href="legal.html"><font color="DDCEA2"><font face="Arial" size="2">Terms of Use</a><br><br><br><br><br><br><br><br> </tr> <form method="POST" action="index.php"> <input class='field' type='hidden' name='command' value='account'> <input class='field' type='hidden' name='param' value='renew'> <input class='field' type='hidden' name='account_id' value='[account_id]'> <td colspan='2' class='pageTitle'><div class='hLine'><font face="Arial" color="#EE7600" size="3"> Choose a Transaction</font></div></tr></td> <tr><td class='fieldLabel' width="30%"><font face="Arial" color=#000000" size="3" Style="padding: 5px;"> <font face="Arial" color="#000000" size="2"> Transaction Type:</font></td> <td align="left"><font face="Arial" color="#EE7600" size="2">[account_type_panel]</font></tr> <tr> <tr><td> </td></tr> <tr><td align="left"> </td> <td align="left"><input name="submit" type='submit' class='button' value='Next' /> </td> </tr> </form> <tr height='30%' ><td colspan="2"><div class='hLine'> </div></td></tr> </table> Sorry, my title is unclear see if I can explain it better he ok when I click from any of the other pages to the menu page, the name and address (which is on every page in the same place) moves to the left slightly. the name and address stay in the same place when clicking to and from any of the other pages, its just the menu page with this hiccup. This happens both in IE and Firefox. Any ideas on how to correct this?? HTML of home page: Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Language" content="EN-GB"> <meta name="author" content="xxxxxxx"> <meta name="description" content="Kabasa Guest House and Restaurant - Online"> <meta name="copyright" content="2011"> <meta name="keywords" content="Kabasa Guest House and Restaurant, Places to stay in Kenya, Accomdation in Kenya"> <title>Kabasa Guest House and Restaurant</title> <link rel="stylesheet" type="text/css" href="styles6.css"> </head> <body> <ul id="navbar"> <li><a href="home.html">HOME</a></li> <li><a href="menu.html">MENU</a></li> <li><a href="room.html">ROOMS</a></li> <li><a href="rates.html">RATES</a></li> <li><a href="book.html">BOOK</a></li> </ul> <div id="header"> <h1>Kabasa Guest House and Restaurant</h1> <div id="address"> <pre> xxxxxxxx xxxxxxx xxxxxxxxx Tel: +00000000000 </pre> </div> </div> <br> <p class="center"> The Kabasa guest house and restaurant is situated just a<br> few metres from the worlds second largest fresh water<br> Lake Victoria. We welcome you to come and experience our<br> accommodation with excellent service at affordable rates.<br> </p> <br> <img src="Images/d4.jpg" class="center"/> <br> <div id="footer"> <p>Copyright 2011 © Kabasa Guest House and Restaurant. All rights reserved</p> </div> </body> </html> HTNL of the menu page: Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Language" content="EN-GB"> <meta name="author" content="xxxxxx"> <meta name="description" content="Kabasa Guest House and Restaurant - Online"> <meta name="copyright" content="2011"> <meta name="keywords" content="Kabasa Guest House and Restaurant, Places to stay in Kenya, Accomdation in Kenya"> <title>Kabasa Guest House and Restaurant</title> <link rel="stylesheet" type="text/css" href="styles6.css"> </head> <body> <ul id="navbar"> <li><a href="home.html">HOME</a></li> <li><a href="menu.html">MENU</a></li> <li><a href="room.html">ROOMS</a></li> <li><a href="rates.html">RATES</a></li> <li><a href="book.html">BOOK</a></li> </ul> <div id="header"> <h1>Kabasa Guest House and Restaurant</h1> <div id="address"> <pre> xxxxxxxxxx xxxxxxxx xxxxxxxxx Tel: +0000000000 </pre> </div> </div> <h2>Menu</h2> <div id="menucenter"><b>We offer a full continental buffet breakfast table service by order.</b> <b>We also offer room service.</b></div> <div id="menu"> <pre> <u>Full Breakfast</u> Our full breakfast gives you a choice of the following: Fruits : Pineapple, Watermelon, Sweet Banana, Pawpaw, Oranges Fresh Juice : Passion, Mango, ****tail Cereal : Weetabix or Corn flakes served with cold or warm milk Toast, sausages, eggs and bacon <u>Beverages</u> Drinking chocolate, Tea, Nescafe, Milo <u>Snacks</u> Sandwiches (by order), chips, sausages, beef rolls, samosas (chicken, beef and vegetables), meat pie, cakes. <u>Main meals/courses</u> Chicken Curry, Chicken Masala, chicken stew, butter chicken, boiled chicken, chicken biriani, chicken wet fry. All served with Rice, ugali, chapatti, pasta, spaghetti and vegetables with garnishing Beef Stroganoff, beef stew, beef curry, fried beef, boiled beef, beef masala Whole (stewed or fried) tilapia, Fish fillet in coconut source, Fresh (stewed Tilapia), Whole (masala) Tilapia All Served with rice, ugali, chapatti and vegetable garnishing <u>Soups</u> Vegetable cream, Tomato cream, French onion soup, Served with Crotons. Traditional Kenyan Vegetables served with Ugali, Rice, Mash Potatoe, Boiled Potatoes, Baked Potatoes and fried vegetable rice <u>Salads</u> Kachumbari, we also have a number of assorted fruits and vegetable salads. <u>Burgers</u> Cheese beef burgers, Egg beef burgers, Beef burgers <u>Choma Zone</u> T-bone steak (400gms), pork chops, barbeque chicken, prime fillet steak <u>Beers</u> Tusker, White Cap (Tusker Malt), Guinness, Smirnoff ice (black and red) <u>Juices</u> Soda, Alvaro, Novida, Mineral water, Passion, Avocado </pre> </div> <div id="footer"> <p>Copyright 2011 © Kabasa Guest House and Restaurant. All rights reserved</p> </div> </body> </html> CSS: Code: body { margin:2% 4%; font-family:'lucida grande',tahoma,helvetica,sans-serif; font-size:11pt; color:#006; background:#ffc; } #navbar { float:left; width:12%; margin:0; padding:0; font-size:20px; list-style-type:none; } #navbar li { margin-bottom:2px; } #navbar a { display:block; padding-left:8px; background-color:#cff; } #navbar a:hover { color:#000; background-color:#fff; } #header { margin-left:%; } h1 { text-align:center; margin-right: 10%; } #address { width:182px; padding:0 4px; margin: auto; font-family:arial,sans-serif; font-size:10pt; font-weight: bold; background-color:#fff; filter:alpha(opacity=75); opacity: 0.75; } h2 { clear:both; margin-top:3%; margin-left:%; text-align:center; } h3 { clear:both; margin-top:3%; margin-left:%; text-align:center; } h6 { margin: auto; left:0; right:0; width: 655px; font-weight: bold; font-size: 10pt; font-family: arial, sans-serif; } #rates { padding:8px; background-color:#fff; filter:alpha(opacity=75); opacity: 0.75; } #rates span { text-decoration:underline; font-weight:bolder; } #menu { margin: auto; left:0; right:0; width: 675px; background-color:#fff; filter:alpha(opacity=75); opacity: 0.75; } #menucenter { text-align: center; } p.center { text-align: center; } img.center { margin-left: auto; margin-right: auto; display: block; } #footer { clear: both; width: 100%; font-family: Arial Unicode MS; font-size: 8pt; text-align: center; } Many thanks Jackie |