Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5

Engine Compatibility

move_after is not supported by the Node engine.

move_after(<anchor>, <item>)

Move the element with the id given by item just after the element with the id given by anchor

move_after("#item_to_move_after", "#item_to_move")

The following ruleset shows move_after() being used

ruleset a1299x171 {
	meta {
		name "move after example"
		
		author "nathan cerny"
		logging off
	}
	dispatch {
		// domain "exampley.com"
	}
	global {
	}
	rule newrule is active {
      select using ".*" setting ()
      move_after("#footer", "#header");
    }
}

The following demonstrates the preceding rule:

  • No labels