Hello Everyone!!!
I have a question, and any advise or help would be greatly appreciated.
I know that ANCHORS situated on a page may be retrieved from another page using the method [a href="faq.html#here"].
How would I retrieve an ANCHOR within an IFRAME from another page.
Below are my codes.
Thank you all in advance,
mbay
--
[Help Page]
--
[FAQ]
--
[FAQ IFRAME]
I have a question, and any advise or help would be greatly appreciated.
I know that ANCHORS situated on a page may be retrieved from another page using the method [a href="faq.html#here"].
How would I retrieve an ANCHOR within an IFRAME from another page.
Below are my codes.
Thank you all in advance,
mbay
--
[Help Page]
Code:
<html>
<head>
<title>Help</title>
</head>
<body>
<table>
<tr>
<td>Below I will show an example of html. For those of you who don't know what HTML is, click <a href="faq_iframe.html#whatis">
here</a></td>
</tr>
<tr>
<td>Below I will show an example of tables. For those of you who don't know what tables are, click <a href="faq_iframe.html#table">here</a></td>
</tr>
<tr>
<td>Below I will show an example of a hyperlink. For those of you who don't know what HYPERLINK is, click <a href="faq_iframe.html#hyper"> here</a></td>
</tr>
</table>
</body>
</html>
--
[FAQ]
Code:
<html>
<head>
<title>FAQ</title>
<script language="javascript">
<!-- Hide the script from old browsers --
function surfto(form) {
var myindex=form.dest.selectedIndex
var passed = form.dest.options[myindex].value
var acomma = passed.indexOf(",")
var chars = passed.length
var filename = passed.substring(0,acomma)
var where = passed.substring(acomma+1,chars)
if(filename != "") {window.open(filename, target=where)};
}
//-->
</script>
</head>
<body>
<table>
<tr>
<td>
<form name="myform">
<select class="pulldown" name="dest" size="1">
<option>Select An Option</option>
<option value="faq_iframe.html#whatis,FAQ">What is HTML</option>
<option value="faq_iframe.html#table,FAQ">What are tables?</option>
<option value="faq_iframe.html#hyper,FAQ">What are hyperlinks?</option>
</select>
<input type="button" value="GO!" onclick="surfto(this.form)">
</form>
</td>
</tr>
<tr>
<td>
<IFRAME SRC="faq_iframe.html" Title="FAQ" SCROLLING="auto" NAME="FAQ" WIDTH="200" HEIGHT="200" ALIGN="center" FRAMEBORDER="no" style="border:15px ridge #0066FF"></IFRAME>
</td>
</tr>
</table>
</body>
</html>
[FAQ IFRAME]
Code:
<html>
<head>
<title>FAQ IFRAME</title>
</head>
<body>
<table>
<tr>
<td><font size="7">Welcome to the FAQ SECTION</font></td>
</tr>
<tr>
<td><a name="whatis"><b>What is Html?</b></a></td>
</tr>
<tr>
<td>HTML ( H yper T ext M arkup L anguage) is the language used to write Web pages. You are looking at a Web page right now. </td>
</tr>
<tr>
<td><a name="table"><b>What are tables?</b></a></td>
</tr>
<tr>
<td>Think of your tabular information in light of the coding explained below. A table has heads where you explain what the columns/rows include, rows for information, cells for each item. In the following table, the first column contains the header information, each row explains an HTML table tag, and each cell contains a paired tag or an explanation of the tag's function.</td>
</tr>
<tr>
<td><a name="hyper"><b>What are hyperlinks?</b></a></td>
</tr>
<tr>
<td>Hyperlinks are what connect the world wide web, without them we would get nowhere without knowing the exact URL (Universal Resource Locater) of the document we are looking for. Hyperlinks or more commonly just called "links" can do many things, but they always call for an action. A link could open your email client, it can move you to different pages or it can move you to different spots within the same document.</td>
</tr>
</table>
</body>
</html>