Du ser en gammel version af denne side. Se den nuværende version.

Sammenlign med nuværende Vis sidehistorik

Version 1 Næste »

This will make all following confluence tables a specific width

Name

redirection

Macro Body Processing

Unrendered

https://answers.atlassian.com/questions/15713/redirection-in-confluence-4

 

Code

## Macro title: Redirect
## Macro has a body: N
## Body processing: No macro body
## Output: Selected output option
##
## Developed by: David Simpson
## Date created: 2011-10-12
## Installed by: My Name
 
## This is an example macro
## @param url:title=URL|type=string|required=true|desc=The external webpage to redirect to
 
 
Redirecting to: <a id="redirectMe" href="$paramurl">$paramurl</a>
 
<script>
  AJS.toInit(function(){
    window.location.replace( AJS.$('#redirectMe').attr('href') );
  });
</script>


  • Ingen etiketter