PDA

View Full Version : Anchors and Notes Domino


ronaldb66
04-16-2003, 12:17 PM
For an Intranet I'm maintaining a site residing in Lotus Notes databases running on a Lotus Domino web server.
Including some anchors in a page I ran into a snag: the browser (IE 5.5 on WinNT) can't seem to resolve the anchor correctly, and clicking it results in a mess.
I did a little experiment with a regular html document to check whether my brains weren't on the way out yet, but this yielded the expected result: mousing over the anchor <a href="#top">Go to top</a> showed the address "../test.htm#top" (where ".." is the rest of the path).
Doing the same in a Lotus Notes document, the address is resolved to "../#top": the document name itself isn't resolved.

If anyone is familiar with Notes based sites, has run into the same problem, and has a solution, I'm all ears!!! :thumbsup:

Mhtml
04-16-2003, 05:50 PM
That system is very old is it not?

I'm not sure about fixing it but you can always resort to javascript can't you?

document.scrollTo(0,0);


Something like that, can't quite remember but I'm sure cg9com will be here soon.

ronaldb66
04-17-2003, 10:19 AM
Old or not: I'm stuck with it, better even: they're busy upgrading the lot to the next version (which is outdated, too, in the mean time; that's large corporation policy for you).
I've been thinking along the lines of Javascript, too; unless some script buff jumps in, I'll start searching in the direction you indicated. Thanks for replying, anyway: it wás a bit of a long shot.

sage45
04-17-2003, 05:11 PM
See if the last script displayed here helps you any...

http://www.codingforums.com/showthread.php?s=&threadid=18384

-sage-