[All Adaptavist Apps]

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

You

can

open

the

link

destination

in

a

specific

frame

or

window

using

the

??

target

??

parameter:

Expand
Link Target
Link Target
Wiki Markup
{
Code Block
}
{menulink:map|target=_blank}Open site map in new window{menulink}
{code}

You

can

toggle

the

visibility

of

any

HTML

tag

with

a

unique

id

using

the

code

below:

Expand
Toggle the Visibility of an on-screen element
Toggle the Visibility of an on-screen element
Wiki Markup
{
Code Block
}
{div:id=visdemo}*This is a div tag with id of "visdemo" that you can show or hide using the link below.*{div}

{menulink:toggleVisibility|toggle=visdemo}Toggle the text above{menulink}
{code}

As

you

can

see,

the

div

tag

has

been

given

a

HTML

id

-

the

raw

HTML

looks

like

this:

Code Block
html
html


{code:html}
<div id="visdemo"> ... <div>
{code}

And

the

"target"

parameter

in

the

menulink

macro

states

what

id

will

be

toggled.

If

you

want

the

tag

to

initially

be

hidden,

use

the

"display:none"

CSS

style:

{
Code Block
}
{div:id=visdemo1|style=display:none;}*This is a div tag with id of "visdemo1" that you can show or hide using the link below.*{div}

{menulink:toggleVisibility|toggle=visdemo1}Show/hide the text above{menulink}
{code}

The

div

tag

will

now

be

output

with

a

style

attribute

like

this:

Code Block
html
html


{code:html}
<div id="visdemo1" style="display:none;"> ... <div>
{code}

Note

that

we've

changed

the

id

from

"visdemo"

to

"visdemo1"

-

that's

because

a

HTML

id

must

be

unique

to

the

entire

web

page.

If

there

are

two

or

more

occurrences

of

the

same

id,

the

results

can

be

very

unpredictable

so

make

sure

to

use

unique

id's.

Expand
Linking to other sites
Linking to other sites

To add tooltips and access keys, use the following notation:

Code Block
{menulink:custom|link=http://www.domain.com/path/resource.file}Other{menulink}

...