Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Note unsupported


Warning
titleEngine Compatibility
float_html is not supported by the Node engine.

float_html(<position>, <vertical>, <horizontal>, <html>)

Like float but content from evaluating the expression rather than a URL.

Code Block
languagejavascript
themeConfluence
languagejavascript
emit << 
	 float_html("absolute","top:50px","right:50px","<p>Floating Html</p>")
>>;

The following ruleset shows emit() being used

Code Block
languagejavascript
themeConfluencelanguagejavascript
ruleset a1299x168 {
	meta {
		name "emit example"
		author "nathan cerny"
		logging off
	}
	dispatch {
		// domain "exampley.com"
	}

	rule emit_example {
		select when pageview ".*" setting ()
        {
	        emit <<
                $K('h1').append('Hello World');
            >>;
        }
	}
}

...