|
Posted by VK on 04/11/06 12:07
Brian wrote:
> The Numerator wrote:
> > I don't know what the <LINK> tags in the head do.
>
> > what about those that state the contents of the page, identify the
> > next and previous page, etc. Do some browsers support them or are
> > they just for organization or something?
>
> Firefox has -- or had -- an extension that would give users access to
> the urls in <link> elements. The extension does not work with the latest
> version, and there have been no updates for some time. :-(
>
> Opera has this built in. There are a few other browsers that also have
> support for it. As you might have guessed, IE is not one.
?
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="Bx2/css/default.css">
<script type="text/javascript">
function init() {
var lnk = document.getElementsByTagName('LINK');
for (var i=0; i<lnk.length; i++) {
alert(lnk[i].href);
// Or get the URI content over Ajax if the same domain.
// Or get the style sheet content from any domain
// (the latter not supported yet only by Opera)
}
}
window.onload = init;
</script>
</head>
<body>
</body>
</html>
Navigation:
[Reply to this message]
|