[All Adaptavist Apps]

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The move-to macro is

Excerpt

used to move a chunk of content from one place on the screen to another.

Why would you want to do this? Well, it allows you to move content stored on a page in to a Builder panel, that's why! (smile) Now you can add page specific content to sidebars such as a list of "see also" links, etc.

You can also use this macro to place less important content at the bottom of a page and then move it in to the desired position once the page loads - this allows you to have the most important content output near the top of the page resulting in better search engine rankings.

Usage

Code Block
{move-to:targetId|hidesource=false|showtarget=false}
stuff to move
{move-to}

{move-to:target=targetId|hidesource=false|showtarget=false}
stuff to move
{move-to}

...

Property

Required

Default

Notes

default

(tick)

 

the The HTML Id of the target

target

(tick)

 

Alternative way of specifying the target

hidesource

(error)

true

Whether the source should be hidden while the page is loading

showtarget

(error)

true

Whether the target should be revealed once the content has been moved over

...