displaying two URL's

liunx

Guest
Hello all, I was just wondering if it is possible to display one URL inside a box in another URL. This is probably done using frames, or it may be done in JavaScript, it might not even be possible at all, any help would be warmly welcomed. thanks<!--content-->Can you explain it a little further?<!--content-->well, on my homepage, <!-- w --><a class="postlink" href="http://www.westburytown.co.uk">www.westburytown.co.uk</a><!-- w --> i would like to display a page of my forum, so people don't actually need to leave the homepage. So, like a text area, but displaying another website in it.<!--content-->Oh, I see what you mean... You want an IFRAME<br />
<br />
First, you would start with this:<br />
<br />
<iframe noresize="true" frameborder="0" height="300" src=http://www.webdeveloper.com/forum/archive/index.php/"your_page.html" name="a"></iframe><br />
<br />
Then, you would have to change all of you links to contain this: <br />
<br />
target="a"<br />
<br />
<!-- Which would look like this: --><br />
<a href=http://www.webdeveloper.com/forum/archive/index.php/"your_page.html" target="a"><br />
<br />
<br />
Then, after you have done all of that, take out this part and save it as your_page.html .<br />
<br />
<marquee scrollamount=3 scrolldelay=30 background="images\bgmarquee.bmp"><br />
<b><font color="#0000ff">Welcome to westburytown.co.uk, giving you your say. In our news section: we've got the latest on <br />
the Westbury Bypass, <a href=http://www.webdeveloper.com/forum/archive/index.php/"news.htm" target="_blank">click <u>h</u>ere</a></marquee></tt></b><br />
<br />
<hr><br />
<br />
<p>Hi, welcome to westbury online! Please take a look around.<br />
<br />
<p>If you are a resident of Westbury, or a surrounding village, then this is the <br />
website for you. It's useful, fun and most importantly gives <u>you</u> the <br />
chance to comment, in our <br />
<a href=http://www.webdeveloper.com/forum/archive/index.php/"http://westburytown.suddenlaunch.com" <br />
target="_blank" title="See a list of all the available forums"><font color="#0000ff">forum</a><font color="#000000">,<br />
about what's going on in and around the town.<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<p><font color="#000000">This week the topic of the week is:<br />
<br />
<br />
<center><br />
<a href=http://www.webdeveloper.com/forum/archive/index.php/"http://westburytown.suddenlaunch.com/index.cgi?board=sitelaunched" target="_blank"><br />
<textarea cols="50" rows="1" readonly="readonly"><br />
The new place to have your say<br />
</textarea><br />
</a><br />
</center><br />
<br />
<font face="arial" size="2"><br />
<br />
<a href=http://www.webdeveloper.com/forum/archive/index.php/"http://westburytown.suddenlaunch.com/index.cgi?board=sitelaunched" target="_blank" title="comment on the topic of the week"><br />
Click <u>h</u>ere <br />
</a><br />
to share your comments on the topic of the week.<br />
<br />
</font><br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<p>If you would like to take part in any of our other discussions please choose from the list below, <br />
<br><br />
<center><br />
<br />
<center><br />
<form name="form"><br />
<select name="site" size=1><br />
<option value="">Go to discussion....<br />
<option value="http://westburytown.suddenlaunch.com/index.cgi?board=whinge" target="_blank">Whinge and moan about things that matter to you<br />
<option value="http://westburytown.suddenlaunch.com/index.cgi?board=bluecircle"_blank">Environmental issues<br />
<option value="http://westburytown.suddenlaunch.com/index.cgi?board=bypass" target="_blank">Westbury bypass<br />
<option value="http://westburytown.suddenlaunch.com/index.cgi?board=sport" target="_blank">Sport<br />
<option value="http://westburytown.suddenlaunch.com/index.cgi?board=crime" target="_blank">Local crime<br />
<option value="http://westburytown.suddenlaunch.com/index.cgi?board=haveyoursay" target="_blank">Kids, have your say too!<br />
<option value="http://westburytown.suddenlaunch.com/index.cgi?action=recent">The 10 most recent posts<br />
<option value="http://westburytown.suddenlaunch.com" target='_blank'>Forum homepage<br />
</select><br />
<input type=button value="Go!" onClick="javascript:formHandler(this)"><br />
</form><br />
</center><br />
<br />
<br />
<br />
<br />
</center><br />
<hr><br />
<br />
<br />
<b>Daily Thought:</b> <br />
<br />
<script><br />
writeTip();<br />
</script><br />
<br />
<hr><br />
</td><br />
</tr><br />
</table><br />
<br />
<br />
<br />
<!-- AND --><br />
<br />
<SCRIPT LANGUAGE="JavaScript"><br />
<br />
<!-- Begin<br />
var msg = new Array();<br />
Stamp = new Date();<br />
today = Stamp.getDate();<br />
msg[1] = "7/5th of all people do not understand fractions";<br />
msg[2] = "43% of all statistics are worthless.";<br />
msg[3] = "A bird in the hand is safer than one overhead.";<br />
msg[4] = "You never test the depth of a river with both feet";<br />
msg[5] = "There are no short cuts to any place worth going.";<br />
msg[6] = "A pea**** who sits on his tail is just another turkey.";<br />
msg[7] = "Man with one chopstick go hungry.";<br />
msg[8] = "Man who run behind car get exhausted";<br />
msg[9] = "Man who eat many prunes get good run for money.";<br />
msg[10] = "Man who lives in glass house should change clothes in basement.";<br />
msg[11] = "Where there's smoke, there's .... pollution";<br />
msg[12] = "A penny saved is .... not much";<br />
msg[13] = "When the blind leadeth the blind.........get out of the way.";<br />
msg[14] = "What will you do when you leave football, Jack, will you stay in football - Stuart Hall, (radio 5 live commentator) ";<br />
msg[15] = "What's another word for thesaurus? - Steven Wright";<br />
msg[16] = "Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life. - Terry Pratchett. ";<br />
msg[17] = "I used to sell furniture for a living. The trouble was, it was my own. - Les Dawson.";<br />
msg[18] = "If toast always lands butter-side down, and cats always land on their feet, what happens if you strap toast on the back of a cat and drop it? - Steven Wright.";<br />
msg[19] = "I can resist everything except temptation. - Oscar Wilde. ";<br />
msg[20] = "If at first you don't succeed... So much for skydiving. - Henry Youngman.";<br />
msg[21] = "The first ninety minutes of a football match are the most important. - Bobby Robson. ";<br />
msg[22] = "I have nothing to declare except my genius. - Oscar Wilde"; //start here<br />
msg[23] = "I am free of all prejudices. I hate everyone equally. - WC Fields. ";<br />
msg[24] = "When a man steals your wife there is no better revenge than to let him keep her. - Sacha Guitry.";<br />
msg[25] = "I'm spending a year dead for tax reasons. - Douglas Adams";<br />
msg[26] = "The definition of a consultant: Someone who borrows your watch, tells you the time and then charges you for the privilege. - Times newspaper";<br />
msg[27] = "A Lawyer will do anything to win a case, sometimes he will even tell the truth. - Patrick Murray.";<br />
msg[28] = "Make crime pay. Become a Lawyer. - Will Rogers.";<br />
msg[29] = "All I ask is the chance to prove that money can't make me happy. - Spike Milligan. ";<br />
msg[30] = "My advice to you is get married, if you find a good wife you'll be happy, if not, you'll become a philosopher. - Socrates.";<br />
msg[31] = "I always arrive late at the office, but I make up for it by leaving early. - Charles Lamb.";<br />
<br />
function writeTip() { <br />
document.write(msg[today]);<br />
}<br />
// End --><br />
</script><!--content-->You want to be using the IFRAME element. See <!-- m --><a class="postlink" href="http://www.w3.org/TR/html4/present/frames.html#edef-IFRAME">http://www.w3.org/TR/html4/present/fram ... def-IFRAME</a><!-- m --> and keep in mind that the critter is a part of the transitional DTDs.<!--content-->
 
Back
Top