kaeli <ti******@NOSPAM.comcast.net> wrote in message news:<MP************************@nntp.lucent.com>. ..
In article <7e*************************@posting.google.com> ,
Like this?
Tested in NN7/IE6. No claims made for other browsers. Watch for word-wrap.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title> New Document </title>
<script type="text/javascript" language="javascript">
function checkIt(lnk)
{
alert(lnk.innerHTML);
}
</script>
</head>
<body>
<a href="someLink.html" false;">Text of link
</a>
</body>
</html>
Kaeli,
Thanks for you fast response. When I tried this, it popped up a grey
alert box that contained the link description text ("Text of link" in
your example), but nothing from the page that I linked to
(someLink.html" in your example). Was that what it was supposed to
do?
What I was after was to open up a small new browser window which
contained only the text between two anchors on another page, e.g. the
link resides on page_one.html, and when clicked it pops up a small
browser window which contains only the text found between
page_two.html#firstanchor and page_two.html#secondanchor.
Any ideas?
Ed