I’m trying to figure out how I can have a href tag in my html, which will open a Notes database document to a specific tab. We have a few documents in a teamroom, which have multiple tabs. I can create a href that results with the database document being opened up, but it opens to the first tab. I’m using the tag:
<area shape=“rect”
coords="1550,457,1650,519"
href="Notes://D01DBM20/85256D3C005BDAAF/4B87A6F6EAEAADD385256A2D006A582C/69DC40E009857A1F8525729500585FBB"
title="e107 Frame" alt="e107"/>
If there’s a way to identify each tab, so that I could designate that identification in the href, that would be great.
Subject: How to use html href to a non first tab in tabbed table
Can you change the design of the form you’re trying to open? If so, you can add an anchor link to the tab you want to open.
At the point you want to click into, add something like this (replace {} with angle brackets; even after all these years I still haven’t figured out how to fool the forums into leaving my angle brackets alone in a post):
{a name=“firstTab”}{/a}
Then your link would just append #firstTab to the end of the href URL.
Subject: RE: How to use html href to a non first tab in tabbed table
Thanks for replying. I’m not sure I follow, are you saying to modify the html file itself or to put into the notes database document. A different one in each tab. Is that correct?
Here’s what I did:
In the notes db document, in the tab I’m interested in opening, I added this to the top:
I saved it and closed the document.
Then I modified the html, adding the #sf4 to the end of the url.
When I click on this link in the browser, I get these errors:
popup that says "View or Navigator ‘Blank’ does not exist.
I click OK, and then another popup appears with “Invalid or nonexistent document”
Clicking OK to that ends up opening the database. Since the href has notes://, does that handle the anchor like http:// does?
Subject: RE: How to use html href to a non first tab in tabbed table
No, the anchor wouldn’t go in the document; it goes in the form - the design element. You’d need to set it to be pass-thru HTML.
Is the document you’re trying to open supposed to open in the browser or the Notes client? I was under the impression, since it’s a Teamroom, that it was in the browser, but I’m not sure why you’re using a notes:// URL in that case.
Subject: RE: How to use html href to a non first tab in tabbed table
Ok, as you can tell, this is not in my comfort level.
The document in question, is in our teamroom. It has multiple tabs with different info on each tab.
I want to use an html page, with multiple links to the tabs.
For example, if the document in the teamroom has 8 tabs, I want 8 links in my html page. Each link would open up the same document, but to a different tab.
Right now, if I use the href in the html page, I put in the notes:// and the entry ID of the document, and the document opens up. You are saying though, that I need to modify the form. Not sure I can do that, since I’m merely a user of the document.