automatic creaation of bookmarks when pasting from a webpage

General comments and questions. Technical support.
Post Reply
dosdan
Posts: 24
Joined: Sun Oct 06, 2002 9:37 pm

automatic creaation of bookmarks when pasting from a webpage

Post by dosdan »

I highlighted the script language within the rectangular section at
http://www.unifront.boereck.de/script.html and pasted it in Atlantis for a bit of tidy-up work before printing.

I noticed that Atlantis automatically created a series of bookmarks at the bottom of the document. What criterion did it use from the document to determine what would be a bookmark? Was it the destination of a hyperlink?
Robert
Posts: 1900
Joined: Fri Aug 15, 2003 8:27 pm

Re: automatic creaation of bookmarks

Post by Robert »

dosdan wrote: I highlighted the script language within the rectangular section at
http://www.unifront.boereck.de/script.html and pasted it in Atlantis for a bit of tidy-up work before printing.

I noticed that Atlantis automatically created a series of bookmarks at the bottom of the document. What criterion did it use from the document to determine what would be a bookmark? Was it the destination of a hyperlink?
Hi, Dosdan

If you look at the sources of that page ("View | Source" in IE), you'll notice that it contains exactly 12 anchor tags of the <a name="top"></a> type.
These HTML "Anchor" elements are used as "bookmarks" or targets for hyperlinks (this is what the "Name" element actually stands for). This is why the RTF equivalent page contained 12 bookmarks. They correspond to the <a name="..."></a> type HTML anchors.
Again if you look at the sources of that page, you'll notice that there are a number of HTML tags such as <a href="#radiobutton">radiobutton</a>. These "<a href= ..." elements are hyperlinks pointing to target bookmarks as defined by the "Name" elements.
For example, the <a href="#scrollbar">scrollbar</a> HTML hyperlink points to the <a name="scrollbar">...</a> HTML bookmark.
So all the <a href= ...</a> elements are converted to document hyperlinks and all the <a name="..."></a> elements to document bookmarks by Internet Explorer when it creates the clipboard RTF contents.
Atlantis uses the clipboard RTF contents as created by Internet Explorer.
Cheers,
Robert
Post Reply