Notes Ninjas Notes Ninjas
Lotus Notes hints, tips, error messages
Fragment ( Named Anchor) in Notes documents

Hint Short Cut: Add this to your code & documentation to help you find this page.
http://www.notesninjas.com/#Fragment or http://www.notesninjas.com/A555F9/nn.nsf/ByAlias/Fragment


Tips on using named anchors ( fragments ) in lotus notes documents on the web.





To set a fragment put in the code <a name="Step1"> and make it pass through.

To access the particualar part of the document put in #Step1 at the end of the url. Make sure you get the capitals right!

 

 

In Notes Ninjas there is extra code on the front page that redirects browsers to the correct hint.

eg: http://www.notesninjas.com/#Fragment  in a new browser that isn''t already on NotesNinjas will take the user directly to this page.

There is probably a way to do this if the person is on the page already, but I haven't had to time to work that out yet!

The code to do this is in the : main frameset of this site.

<script language="JavaScript">
loc = window.location.href;  if (loc.indexOf('#') > -1)  {   locdest = loc.substring( loc.indexOf('#')+1, loc.length ); locdestCaps = locdest.toUpperCase();   if ( locdestCaps == "LOGIN")    {        window.location = "http://"; + window.location.host + "A555F9/nn.nsf?OpenDatabase&login";     }    else    {      window.location = "http://"; + window.location.host + "/A555F9/nn.nsf/ByAlias/" + loc.substring( loc.indexOf('#')+1, loc.length );    } } else { }
</script>

 

 

 

 Jump to:     Notes Tips
    Lotus Notes Index 
  Register for Tips
Previous Lotus Notes Tip 
    Next Lotus Notes Tip
Your company logo here?
Adam Foster
Free Cash Making Web Site
Free Revenue Earning Blog Site
 Free Revenue Earning Newsletter Site   
Free Search Pages Free Web stats
Free Contact Us page
Cheap .com domain names
 Need a website or 
   Lotus Notes
  problem solved?
Adam Foster
Web Services Platform Architecture: Soap, WSDL, WS-Policy, WS-Addressing, WS-Bpel, WS-Reliable Messaging and More by Francisco Curbera, Frank Leymann, Tony Storey, Donald Ferguson, Sanjiva Weerawarana
Other books claim to present the complete Web services platform architecture, but this is the first one I've seen that really does. The authors have been intimately involved in the creation of the architecture. Who better to write this book?
See at: Amazon.co.uk | Amazon.com |