bannerd

HTML - redirect user to a specific tab in a tabsetup  

General

Spaces Where Usedall SWEHB spaces
How usedCreates link taking user to a specific tab.
Visibilityall Admin in the Macro Browser
Titletablink
Description
Categories
Icon URL
Documentation URL
Definition No Macro Body
Output Format
StatusActive in all spaces


Rendering



Old Code 

## Macro title: TABLINK
## Macro has a body: N
## Body processing: No Macro Body
## Output: Selected output option
##
## Developed by: Fred Haigh
## Date created: 6/6/2017
## Installed by: Fred Haigh

## @param tab:title=Tab to go to|type=string|required=true
## @param linktext:title=Link Text|type=string|rerquired=true

<a href="#tabs-$paramtab">$paramlinktext</a>


Code for fixing the single use problem

## Macro title: TABLINK2
## Macro has a body: N
## Body processing: No Macro Body
## Output: Selected output option
##
## Developed by: Bruce Guy
## Date created: 7/26/2021
## Installed by: Fred Haigh

## @param tab:title=Tab to go to|type=string|required=true
## @param linktext:title=Link Text|type=string|rerquired=true

<a href="#tabs-$paramtab" onclick="location.hash=''; location.hash='#tabs-$paramtab';">$paramlinktext</a>


  • No labels