~~~ Please read before posting. ~~~

Important: We need your Club Number at a minimum, and as many details as possible.
For further info please read This page before posting.

Can you link to an anchor from another page? or internally on a tabbed page?

  • KaeBender
  • KaeBender's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 36
  • Thanks: 8

Can you link to an anchor from another page? or internally on a tabbed page?

5 years 1 week ago
#81280
I'm creating a tabbed page with a bunch of instructions for my members on using various parts of the agenda.
ytalkers.toastmastersclubs.org/UpdatingAgenda.html

I created a couple anchors because I want other instructions to go to a specific place if they need to. One links within the tabbed page, but to a different tab, and one is supposed to link from a different page to the fourth tabbed part. Neither work.

Within the page to a different tab, it just sits there doing nothing. From the different page, it goes to the first tab of the correct linked page but not to the anchor -- BUT it goes to the bottom of the screen rather than the top of the screen where you'd see the tabs.

Is this something FTH just doesn't do or is it something that SHOULD work and it needs special coding?
The topic has been locked.
  • Pam
  • Pam's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3775
  • Thanks: 1039

Re: Can you link to an anchor from another page? or internally on a tabbed page?

5 years 6 days ago
#81284
I've just set up a simple test on my club page to link to an anchor on another page. It seems to work
I linked to a URL (where the URL was the target page URL with #AnchorName (where AnchorName is the name I gave the Anchor on that page) It opens with the anchor point at the top of the target page.
I noticed that you had the element ID selected on your same page anchor. That shouldn't matter, but see if you can remove and try again.
I can't get an anchor to open in a tabbed section, possibly because the tabs themselves are similar to anchors.
FreeToastHost Ambassador
VPE HOT Toastmasters 2025-2026 hot.toastmastersclubs.org/
Webmaster Redlands Toastmasters 2025-2026 redlands.toastmastersclubs.org/
The following user(s) said Thank You: KaeBender
The topic has been locked.
  • KaeBender
  • KaeBender's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 36
  • Thanks: 8

Re: Can you link to an anchor from another page? or internally on a tabbed page?

5 years 6 days ago
#81291
I removed the Element ID but that wiped out the link to the anchor totally. I tried again to insert the Anchor ID only and it automatically replaced the Element ID. I also tried linking to the URL with the anchor, but that didn't work either. I guess FTH just won't do it.

On the tabbed page, I used just the page url, and it takes it correctly to the top of the first tab, I guess I have to settle for that.
The topic has been locked.
  • SteveTheTechie
  • SteveTheTechie's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 11526
  • Thanks: 3050

Re: Can you link to an anchor from another page? or internally on a tabbed page?

5 years 3 days ago
#81321
The challenge with tabs is that they use JavaScript for managing the display / hiding of the content in the tabs. A simple anchor click by itself will not toggle the tab display.
The topic has been locked.
Moderators: BrianJane AtkinsonPamrhtaylor3marc33NotLiablejgavinLcala305peterb323
Time to create page: 0.324 seconds